Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7349/0.7349, allocations: 128.7 MB / 144.5 MB, free: 1.395 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001105/0.001105, allocations: 189.5 kB / 174.2 MB, free: 5.926 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.496/1.496, allocations: 205 MB / 408.9 MB, free: 9.711 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001032/0.001032, allocations: 105.2 kB / 485.1 MB, free: 13.59 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001013/0.001013, allocations: 57.56 kB / 0.558 GB, free: 97.4 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1297, allocations: 75.46 MB / 0.6317 GB, free: 33.05 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002857/0.1326, allocations: 2.014 MB / 0.6336 GB, free: 31.01 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001024/0.1337, allocations: 0.7604 MB / 0.6344 GB, free: 30.24 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.1338, allocations: 7.938 kB / 0.6344 GB, free: 30.23 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002017/0.134, allocations: 75.77 kB / 0.6345 GB, free: 30.16 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 8.629e-05/0.1341, allocations: 79.75 kB / 0.6345 GB, free: 30.08 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004107/0.1345, allocations: 162.6 kB / 0.6347 GB, free: 29.93 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002068/0.1348, allocations: 239.4 kB / 0.6349 GB, free: 29.69 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.1349, allocations: 65.89 kB / 0.635 GB, free: 29.63 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.748e-05/0.135, allocations: 99.59 kB / 0.6351 GB, free: 29.53 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001582/0.1352, allocations: 143.5 kB / 0.6352 GB, free: 29.39 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.826e-05/0.1352, allocations: 8 kB / 0.6352 GB, free: 29.38 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/0.1353, allocations: 83.88 kB / 0.6353 GB, free: 29.3 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 6.697e-05/0.1354, allocations: 47.77 kB / 0.6353 GB, free: 29.25 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 7.576e-05/0.1355, allocations: 103.4 kB / 0.6354 GB, free: 29.15 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002394/0.1357, allocations: 295.3 kB / 0.6357 GB, free: 28.86 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.1357, allocations: 0 / 0.6357 GB, free: 28.86 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1358, allocations: 0 / 0.6357 GB, free: 28.86 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.1358, allocations: 0 / 0.6357 GB, free: 28.86 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0006631/0.1364, allocations: 0.582 MB / 0.6363 GB, free: 28.23 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.1365, allocations: 8.031 kB / 0.6363 GB, free: 28.22 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.507e-05/0.1365, allocations: 32.56 kB / 0.6363 GB, free: 28.19 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003398/0.1369, allocations: 290.9 kB / 0.6366 GB, free: 27.86 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.1369, allocations: 16.38 kB / 0.6366 GB, free: 27.85 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.056e-05/0.1369, allocations: 12.38 kB / 0.6366 GB, free: 27.84 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003014/0.1372, allocations: 235.2 kB / 0.6369 GB, free: 27.59 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.1373, allocations: 0 / 0.6369 GB, free: 27.59 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.776e-05/0.1373, allocations: 7.984 kB / 0.6369 GB, free: 27.58 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.1373, allocations: 4 kB / 0.6369 GB, free: 27.57 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001998/0.1375, allocations: 132.3 kB / 0.637 GB, free: 27.45 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006523/0.1382, allocations: 0.6769 MB / 0.6377 GB, free: 26.71 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000295/0.1385, allocations: 178.3 kB / 0.6378 GB, free: 26.53 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001266/0.1386, allocations: 96.95 kB / 0.6379 GB, free: 26.43 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.1386, allocations: 7.938 kB / 0.6379 GB, free: 26.42 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002435/0.1389, allocations: 177 kB / 0.6381 GB, free: 26.23 MB / 442.7 MB Notification: Performance of pre-optimization done (n=15): time 1.763e-06/0.1389, allocations: 0 / 0.6381 GB, free: 26.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=15): time 0.0005252/0.1394, allocations: 367 kB / 0.6384 GB, free: 25.86 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/0.1395, allocations: 132.5 kB / 0.6386 GB, free: 25.7 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001812/0.1397, allocations: 282.6 kB / 0.6388 GB, free: 25.42 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.1397, allocations: 29.7 kB / 0.6389 GB, free: 25.38 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.742e-05/0.1398, allocations: 160.3 kB / 0.639 GB, free: 25.22 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.708e-05/0.1398, allocations: 47.3 kB / 0.6391 GB, free: 25.18 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.521e-05/0.1398, allocations: 41.7 kB / 0.6391 GB, free: 25.13 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.932e-05/0.1399, allocations: 338.8 kB / 0.6394 GB, free: 24.79 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.14, allocations: 91.89 kB / 0.6395 GB, free: 24.7 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001409/0.1402, allocations: 132.4 kB / 0.6396 GB, free: 24.55 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002377/0.1404, allocations: 245.7 kB / 0.6399 GB, free: 24.29 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.1404, allocations: 4 kB / 0.6399 GB, free: 24.29 MB / 442.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003669/0.1408, allocations: 331 kB / 0.6402 GB, free: 23.95 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3e-05/0.1409, allocations: 37.69 kB / 0.6402 GB, free: 23.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1409, allocations: 0 / 0.6402 GB, free: 23.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.1409, allocations: 0 / 0.6402 GB, free: 23.91 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.141, allocations: 35.91 kB / 0.6403 GB, free: 23.88 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.141, allocations: 0 / 0.6403 GB, free: 23.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.1411, allocations: 23.83 kB / 0.6403 GB, free: 23.85 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.1412, allocations: 4 kB / 0.6403 GB, free: 23.85 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 12 (ySet.nextEventScaled,ySet.nextEvent,$PRE.ySet.nextEvent,ySet.last,ySet.b,ySet.a,mot.lowHys.y,$PRE.mot.lowHys.y,mot.uppHys.y,$PRE.mot.uppHys.y,$whenCondition1,mot.int.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001178/0.1413, allocations: 202.3 kB / 0.6405 GB, free: 23.64 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.872e-05/0.1413, allocations: 23.72 kB / 0.6405 GB, free: 23.61 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.637e-05/0.1414, allocations: 29.83 kB / 0.6405 GB, free: 23.58 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1414, allocations: 0 / 0.6405 GB, free: 23.58 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.1414, allocations: 0 / 0.6405 GB, free: 23.58 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1414, allocations: 0 / 0.6405 GB, free: 23.58 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001783/0.1416, allocations: 297.3 kB / 0.6408 GB, free: 23.24 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1416, allocations: 0 / 0.6408 GB, free: 23.24 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.269e-05/0.1417, allocations: 19.92 kB / 0.6408 GB, free: 23.22 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1417, allocations: 4 kB / 0.6408 GB, free: 23.22 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.1417, allocations: 8 kB / 0.6409 GB, free: 23.21 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1417, allocations: 4 kB / 0.6409 GB, free: 23.21 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1417, allocations: 0 / 0.6409 GB, free: 23.21 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00303/0.1448, allocations: 2.982 MB / 0.6438 GB, free: 20.05 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.905e-05/0.1448, allocations: 100.9 kB / 0.6439 GB, free: 19.94 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.092e-05/0.1448, allocations: 12 kB / 0.6439 GB, free: 19.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.27e-05/0.1449, allocations: 15.92 kB / 0.6439 GB, free: 19.91 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.885e-05/0.145, allocations: 23.95 kB / 0.6439 GB, free: 19.89 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.822e-05/0.145, allocations: 8 kB / 0.6439 GB, free: 19.88 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001202/0.1452, allocations: 198 kB / 0.6441 GB, free: 19.69 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1452, allocations: 0 / 0.6441 GB, free: 19.69 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003227/0.1455, allocations: 79.98 kB / 0.6442 GB, free: 19.61 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (mot.int.y) * Number of discrete variables: 8 ($whenCondition1,mot.uppHys.y,mot.lowHys.y,ySet.a,ySet.b,ySet.last,ySet.nextEvent,ySet.nextEventScaled) * Number of discrete states: 8 (mot.lowHys.y,mot.uppHys.y,ySet.nextEvent,ySet.last,ySet.nextEventScaled,ySet.b,ySet.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000165/0.1457, allocations: 123.3 kB / 0.6443 GB, free: 19.48 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003571/0.146, allocations: 291.2 kB / 0.6446 GB, free: 19.18 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1461, allocations: 4 kB / 0.6446 GB, free: 19.18 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001683/0.1462, allocations: 183.3 kB / 0.6448 GB, free: 18.99 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/0.1465, allocations: 39.95 kB / 0.6448 GB, free: 18.95 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000847/0.1474, allocations: 0.7589 MB / 0.6455 GB, free: 18.14 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001396/0.1475, allocations: 0.7518 MB / 0.6463 GB, free: 17.36 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 7.909e-05/0.1476, allocations: 21.48 kB / 0.6463 GB, free: 17.34 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.014e-05/0.1476, allocations: 23.36 kB / 0.6463 GB, free: 17.32 MB / 442.7 MB Notification: Performance of SimCode: time 1.81e-07/0.1476, allocations: 0 / 0.6463 GB, free: 17.32 MB / 442.7 MB Notification: Performance of Templates: time 0.004902/0.1526, allocations: 3.064 MB / 0.6493 GB, free: 14.27 MB / 442.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1)