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.001488/0.001488, allocations: 179.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4694/0.4694, allocations: 90.81 MB / 104.5 MB, free: 9.801 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.378/1.378, allocations: 221.3 MB / 348.3 MB, free: 456 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000893/0.0008929, allocations: 105.2 kB / 421.2 MB, free: 5.469 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.596e-05/3.6e-05, allocations: 0 / 0.4896 GB, free: 5.355 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4113/0.4114, allocations: 72.31 MB / 0.5602 GB, free: 40.45 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1405/0.552, allocations: 104.6 MB / 0.6623 GB, free: 15.74 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002275/0.5523, allocations: 83.95 kB / 0.6624 GB, free: 15.66 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01668/0.5689, allocations: 5.888 MB / 0.6682 GB, free: 9.773 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.397e-06/0.569, allocations: 0 / 0.6682 GB, free: 9.773 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.611e-05/0.569, allocations: 7.938 kB / 0.6682 GB, free: 9.766 MB / 490.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.000804/0.5698, allocations: 0.5424 MB / 0.6687 GB, free: 9.172 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.5699, allocations: 15.98 kB / 0.6687 GB, free: 9.156 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.643e-05/0.57, allocations: 35.58 kB / 0.6688 GB, free: 9.121 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004546/0.5704, allocations: 289.6 kB / 0.669 GB, free: 8.797 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.584e-05/0.5705, allocations: 12 kB / 0.669 GB, free: 8.785 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.98e-05/0.5705, allocations: 19.94 kB / 0.6691 GB, free: 8.766 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000384/0.5709, allocations: 231.1 kB / 0.6693 GB, free: 8.512 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.5709, allocations: 0 / 0.6693 GB, free: 8.512 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.45e-05/0.5709, allocations: 8 kB / 0.6693 GB, free: 8.504 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.571, allocations: 7.953 kB / 0.6693 GB, free: 8.496 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002503/0.5712, allocations: 144.4 kB / 0.6694 GB, free: 8.355 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009989/0.5722, allocations: 0.7276 MB / 0.6702 GB, free: 7.57 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002596/0.5725, allocations: 162.5 kB / 0.6703 GB, free: 7.402 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001428/0.5727, allocations: 112.9 kB / 0.6704 GB, free: 7.289 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.631e-05/0.5727, allocations: 4 kB / 0.6704 GB, free: 7.285 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002384/0.5729, allocations: 177 kB / 0.6706 GB, free: 7.094 MB / 490.7 MB Notification: Performance of pre-optimization done (n=15): time 1.393e-06/0.5729, allocations: 0 / 0.6706 GB, free: 7.094 MB / 490.7 MB Notification: Performance of matching and sorting (n=15): time 0.0005676/0.5735, allocations: 349 kB / 0.6709 GB, free: 6.738 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.25e-05/0.5736, allocations: 136.5 kB / 0.671 GB, free: 6.574 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002334/0.5738, allocations: 244.2 kB / 0.6713 GB, free: 6.332 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.645e-05/0.5739, allocations: 37.7 kB / 0.6713 GB, free: 6.289 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.555e-05/0.574, allocations: 156.3 kB / 0.6715 GB, free: 6.133 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.22e-05/0.574, allocations: 47.34 kB / 0.6715 GB, free: 6.086 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.314e-05/0.574, allocations: 4 kB / 0.6715 GB, free: 6.082 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.5742, allocations: 334.8 kB / 0.6718 GB, free: 5.746 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/0.5743, allocations: 92.16 kB / 0.6719 GB, free: 5.652 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001657/0.5745, allocations: 137.5 kB / 0.6721 GB, free: 5.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/0.5746, allocations: 125.6 kB / 0.6722 GB, free: 5.371 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.5746, allocations: 0 / 0.6722 GB, free: 5.371 MB / 490.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004917/0.5751, allocations: 373.6 kB / 0.6725 GB, free: 4.996 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.785e-05/0.5752, allocations: 38.48 kB / 0.6726 GB, free: 4.953 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.5752, allocations: 6.328 kB / 0.6726 GB, free: 4.949 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.5752, allocations: 12.06 kB / 0.6726 GB, free: 4.938 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.5754, allocations: 27.92 kB / 0.6726 GB, free: 4.91 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.5754, allocations: 4 kB / 0.6726 GB, free: 4.906 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001711/0.5756, allocations: 35.83 kB / 0.6726 GB, free: 4.871 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.536e-05/0.5756, allocations: 19.98 kB / 0.6727 GB, free: 4.852 MB / 490.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 () * 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.000105/0.5757, allocations: 148.3 kB / 0.6728 GB, free: 4.695 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.207e-05/0.5758, allocations: 27.72 kB / 0.6728 GB, free: 4.668 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.626e-05/0.5758, allocations: 29.95 kB / 0.6729 GB, free: 4.641 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.5759, allocations: 0 / 0.6729 GB, free: 4.641 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.5759, allocations: 0 / 0.6729 GB, free: 4.641 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.5759, allocations: 4 kB / 0.6729 GB, free: 4.637 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002424/0.5761, allocations: 305.3 kB / 0.6732 GB, free: 4.289 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.5761, allocations: 4 kB / 0.6732 GB, free: 4.285 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/0.5763, allocations: 23.92 kB / 0.6732 GB, free: 4.262 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.5763, allocations: 4 kB / 0.6732 GB, free: 4.258 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.297e-05/0.5763, allocations: 7.984 kB / 0.6732 GB, free: 4.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.5763, allocations: 0 / 0.6732 GB, free: 4.25 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.5763, allocations: 2.969 kB / 0.6732 GB, free: 4.25 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007411/0.5771, allocations: 0.5217 MB / 0.6737 GB, free: 3.703 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.031e-05/0.5771, allocations: 96.92 kB / 0.6738 GB, free: 3.59 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.542e-05/0.5772, allocations: 19.92 kB / 0.6738 GB, free: 3.57 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/0.5773, allocations: 23.98 kB / 0.6738 GB, free: 3.547 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.995e-05/0.5774, allocations: 27.95 kB / 0.6739 GB, free: 3.52 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-05/0.5775, allocations: 17.39 kB / 0.6739 GB, free: 3.504 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001739/0.5777, allocations: 203.1 kB / 0.6741 GB, free: 3.305 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.5777, allocations: 0 / 0.6741 GB, free: 3.305 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002854/0.578, allocations: 59.88 kB / 0.6741 GB, free: 3.246 MB / 490.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) * 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.0002129/0.5782, allocations: 141.3 kB / 0.6743 GB, free: 3.102 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003439/0.5785, allocations: 271.3 kB / 0.6745 GB, free: 2.824 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.5785, allocations: 0 / 0.6745 GB, free: 2.824 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001707/0.5787, allocations: 175.5 kB / 0.6747 GB, free: 2.641 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000239/0.579, allocations: 38.66 kB / 0.6747 GB, free: 2.605 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008204/0.5798, allocations: 352.1 kB / 0.6751 GB, free: 2.242 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002973/0.5801, allocations: 0.7597 MB / 0.6758 GB, free: 1.457 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 7.558e-05/0.5802, allocations: 17.2 kB / 0.6758 GB, free: 1.441 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.501e-05/0.5802, allocations: 15.44 kB / 0.6758 GB, free: 1.426 MB / 490.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5802, allocations: 0 / 0.6758 GB, free: 1.426 MB / 490.7 MB Notification: Performance of Templates: time 0.005322/0.5856, allocations: 2.527 MB / 0.6783 GB, free: 14.95 MB / 0.4948 GB 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)