Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 183.4 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5273/0.5273, allocations: 91.99 MB / 108.5 MB, free: 13.09 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 223.2 MB / 354.3 MB, free: 12.22 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 96.28 kB / 427.4 MB, free: 3.945 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003163/0.0003163, allocations: 8 kB / 0.4982 GB, free: 42.34 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1568, allocations: 72.31 MB / 0.5689 GB, free: 1.957 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4746/0.6315, allocations: 104.6 MB / 0.671 GB, free: 15.9 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002928/0.6318, allocations: 83.95 kB / 0.6711 GB, free: 15.82 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01776/0.6496, allocations: 5.91 MB / 0.6769 GB, free: 9.91 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.756e-06/0.6497, allocations: 4 kB / 0.6769 GB, free: 9.906 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.944e-05/0.6497, allocations: 8 kB / 0.6769 GB, free: 9.898 MB / 474.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.001161/0.6509, allocations: 0.5785 MB / 0.6775 GB, free: 9.266 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.6509, allocations: 8.031 kB / 0.6775 GB, free: 9.258 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001195/0.6511, allocations: 39.56 kB / 0.6775 GB, free: 9.219 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005199/0.6516, allocations: 277.6 kB / 0.6778 GB, free: 8.91 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.359e-05/0.6516, allocations: 19.98 kB / 0.6778 GB, free: 8.891 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.867e-05/0.6517, allocations: 16 kB / 0.6778 GB, free: 8.875 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005342/0.6522, allocations: 267 kB / 0.6781 GB, free: 8.586 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.6523, allocations: 4 kB / 0.6781 GB, free: 8.582 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.734e-05/0.6523, allocations: 4 kB / 0.6781 GB, free: 8.578 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.6523, allocations: 11.95 kB / 0.6781 GB, free: 8.566 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003497/0.6527, allocations: 168.3 kB / 0.6783 GB, free: 8.402 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001152/0.6538, allocations: 0.7315 MB / 0.679 GB, free: 7.613 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000519/0.6544, allocations: 222.4 kB / 0.6792 GB, free: 7.387 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.6544, allocations: 3.984 kB / 0.6792 GB, free: 7.383 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003623/0.6548, allocations: 197.1 kB / 0.6794 GB, free: 7.172 MB / 474.7 MB Notification: Performance of pre-optimization done (n=15): time 2.315e-06/0.6548, allocations: 4 kB / 0.6794 GB, free: 7.168 MB / 474.7 MB Notification: Performance of matching and sorting (n=15): time 0.001049/0.6558, allocations: 0.5631 MB / 0.6799 GB, free: 6.574 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.249e-05/0.6559, allocations: 136.5 kB / 0.6801 GB, free: 6.41 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002777/0.6562, allocations: 249.9 kB / 0.6803 GB, free: 6.168 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.325e-05/0.6563, allocations: 33.7 kB / 0.6803 GB, free: 6.129 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.6564, allocations: 156.2 kB / 0.6805 GB, free: 5.973 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.628e-05/0.6565, allocations: 39.44 kB / 0.6805 GB, free: 5.934 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.595e-05/0.6565, allocations: 8 kB / 0.6805 GB, free: 5.926 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.6566, allocations: 338.8 kB / 0.6808 GB, free: 5.586 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002325/0.6569, allocations: 116.1 kB / 0.681 GB, free: 5.469 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002654/0.6572, allocations: 164.3 kB / 0.6811 GB, free: 5.293 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002431/0.6574, allocations: 144.3 kB / 0.6812 GB, free: 5.148 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.6574, allocations: 0 / 0.6812 GB, free: 5.148 MB / 474.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007427/0.6582, allocations: 422.9 kB / 0.6816 GB, free: 4.723 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.303e-05/0.6582, allocations: 33.8 kB / 0.6817 GB, free: 4.684 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.6582, allocations: 3.938 kB / 0.6817 GB, free: 4.68 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.6583, allocations: 8.078 kB / 0.6817 GB, free: 4.672 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.6584, allocations: 31.92 kB / 0.6817 GB, free: 4.641 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.6584, allocations: 7.938 kB / 0.6817 GB, free: 4.633 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000177/0.6586, allocations: 39.83 kB / 0.6818 GB, free: 4.594 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-05/0.6587, allocations: 15.98 kB / 0.6818 GB, free: 4.578 MB / 474.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 ($whenCondition1,$PRE.mot.uppHys.y,mot.uppHys.y,$PRE.mot.lowHys.y,mot.lowHys.y,ySet.a,ySet.b,ySet.last,$PRE.ySet.nextEvent,ySet.nextEvent,ySet.nextEventScaled,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001997/0.6589, allocations: 187.5 kB / 0.682 GB, free: 4.379 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.494e-05/0.6589, allocations: 27.72 kB / 0.682 GB, free: 4.352 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.021e-05/0.659, allocations: 29.83 kB / 0.682 GB, free: 4.324 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.659, allocations: 0 / 0.682 GB, free: 4.324 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.659, allocations: 0 / 0.682 GB, free: 4.324 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.659, allocations: 4 kB / 0.682 GB, free: 4.32 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002992/0.6593, allocations: 301.4 kB / 0.6823 GB, free: 3.977 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.6593, allocations: 3.938 kB / 0.6823 GB, free: 3.973 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000128/0.6595, allocations: 23.98 kB / 0.6823 GB, free: 3.949 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.145e-06/0.6595, allocations: 4 kB / 0.6823 GB, free: 3.945 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.793e-05/0.6595, allocations: 7.984 kB / 0.6823 GB, free: 3.938 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.6595, allocations: 0 / 0.6823 GB, free: 3.938 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.6596, allocations: 0 / 0.6823 GB, free: 3.938 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001049/0.6606, allocations: 0.5822 MB / 0.6829 GB, free: 3.332 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.029e-05/0.6607, allocations: 100.8 kB / 0.683 GB, free: 3.215 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.918e-05/0.6607, allocations: 12.06 kB / 0.683 GB, free: 3.203 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001568/0.6609, allocations: 31.97 kB / 0.6831 GB, free: 3.172 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.166e-05/0.661, allocations: 23.95 kB / 0.6831 GB, free: 3.148 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.803e-05/0.661, allocations: 16 kB / 0.6831 GB, free: 3.133 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001847/0.6612, allocations: 205.9 kB / 0.6833 GB, free: 2.93 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6612, allocations: 4 kB / 0.6833 GB, free: 2.926 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003173/0.6616, allocations: 67.78 kB / 0.6834 GB, free: 2.859 MB / 474.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 (ySet.nextEvent,ySet.last,ySet.nextEventScaled,ySet.b,ySet.a,$whenCondition1,mot.lowHys.y,mot.uppHys.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002416/0.6618, allocations: 131.2 kB / 0.6835 GB, free: 2.723 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0005675/0.6624, allocations: 315.4 kB / 0.6838 GB, free: 2.402 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.6624, allocations: 4 kB / 0.6838 GB, free: 2.398 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002556/0.6627, allocations: 191.3 kB / 0.684 GB, free: 2.199 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/0.6629, allocations: 40.78 kB / 0.684 GB, free: 2.16 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.664, allocations: 0.5188 MB / 0.6845 GB, free: 1.617 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/0.6643, allocations: 0.7566 MB / 0.6853 GB, free: 0.8359 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 8.917e-05/0.6644, allocations: 17.42 kB / 0.6853 GB, free: 0.8203 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.248e-05/0.6645, allocations: 19.42 kB / 0.6853 GB, free: 0.8008 MB / 474.7 MB Notification: Performance of SimCode: time 5.41e-07/0.6645, allocations: 3.938 kB / 0.6853 GB, free: 0.7969 MB / 474.7 MB Notification: Performance of Templates: time 0.006025/0.6705, allocations: 2.494 MB / 0.6877 GB, free: 14.33 MB / 490.7 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1)