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.001236/0.001236, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4921/0.4921, allocations: 90.92 MB / 99.35 MB, free: 2.148 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.548/1.548, allocations: 221.5 MB / 343.2 MB, free: 1.559 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 94.75 kB / 415.9 MB, free: 11.15 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.897e-05/1.899e-05, allocations: 4 kB / 494.5 MB, free: 52.41 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1598, allocations: 72.32 MB / 0.5535 GB, free: 12.28 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5776/0.7375, allocations: 103.9 MB / 0.655 GB, free: 6.371 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002277/0.7378, allocations: 92.12 kB / 0.6551 GB, free: 6.316 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01612/0.7539, allocations: 5.849 MB / 0.6608 GB, free: 1.383 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.7539, allocations: 0 / 0.6608 GB, free: 1.383 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.886e-05/0.754, allocations: 8 kB / 0.6608 GB, free: 1.375 MB / 458.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.0008179/0.7548, allocations: 0.5484 MB / 0.6613 GB, free: 0.793 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.7549, allocations: 12.03 kB / 0.6613 GB, free: 0.7812 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.342e-05/0.7549, allocations: 39.58 kB / 0.6614 GB, free: 0.7422 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004467/0.7554, allocations: 283.2 kB / 0.6617 GB, free: 460 kB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.537e-05/0.7554, allocations: 8 kB / 0.6617 GB, free: 452 kB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.513e-05/0.7555, allocations: 8 kB / 0.6617 GB, free: 444 kB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002454/0.7557, allocations: 130 kB / 0.6618 GB, free: 348 kB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003132/0.7561, allocations: 217.8 kB / 0.662 GB, free: 148 kB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.7561, allocations: 3.984 kB / 0.662 GB, free: 144 kB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.508e-05/0.7561, allocations: 3.953 kB / 0.662 GB, free: 140 kB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.7561, allocations: 4 kB / 0.662 GB, free: 136 kB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009022/0.757, allocations: 0.6901 MB / 0.6627 GB, free: 15.49 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002222/0.7573, allocations: 152.1 kB / 0.6628 GB, free: 15.38 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001276/0.7574, allocations: 108.1 kB / 0.6629 GB, free: 15.3 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.7574, allocations: 4.031 kB / 0.6629 GB, free: 15.3 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002384/0.7577, allocations: 171.6 kB / 0.6631 GB, free: 15.14 MB / 474.7 MB Notification: Performance of pre-optimization done (n=15): time 1.382e-06/0.7577, allocations: 4 kB / 0.6631 GB, free: 15.13 MB / 474.7 MB Notification: Performance of matching and sorting (n=15): time 0.000601/0.7583, allocations: 301.1 kB / 0.6634 GB, free: 14.88 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.82e-05/0.7584, allocations: 137.2 kB / 0.6635 GB, free: 14.71 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002267/0.7586, allocations: 233.9 kB / 0.6637 GB, free: 14.52 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.186e-05/0.7587, allocations: 29.7 kB / 0.6638 GB, free: 14.48 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.7588, allocations: 155.1 kB / 0.6639 GB, free: 14.36 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.333e-05/0.7588, allocations: 42.48 kB / 0.664 GB, free: 14.32 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.223e-05/0.7588, allocations: 0 / 0.664 GB, free: 14.32 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.759, allocations: 339.4 kB / 0.6643 GB, free: 14 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.7591, allocations: 89.41 kB / 0.6644 GB, free: 13.93 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001524/0.7593, allocations: 139.1 kB / 0.6645 GB, free: 13.81 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/0.7594, allocations: 86.66 kB / 0.6646 GB, free: 13.75 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.7594, allocations: 7.938 kB / 0.6646 GB, free: 13.74 MB / 474.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004626/0.7599, allocations: 330.1 kB / 0.6649 GB, free: 13.47 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.02e-05/0.7599, allocations: 41.81 kB / 0.665 GB, free: 13.42 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.7599, allocations: 0 / 0.665 GB, free: 13.42 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.76, allocations: 4 kB / 0.665 GB, free: 13.42 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/0.7601, allocations: 27.92 kB / 0.665 GB, free: 13.39 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.7601, allocations: 4 kB / 0.665 GB, free: 13.39 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001793/0.7603, allocations: 47.25 kB / 0.665 GB, free: 13.34 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.236e-05/0.7604, allocations: 8 kB / 0.665 GB, free: 13.34 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 () * 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.0001271/0.7605, allocations: 158 kB / 0.6652 GB, free: 13.17 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.541e-05/0.7605, allocations: 23.72 kB / 0.6652 GB, free: 13.15 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.546e-05/0.7606, allocations: 27.64 kB / 0.6652 GB, free: 13.13 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.7606, allocations: 0 / 0.6652 GB, free: 13.13 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.7606, allocations: 4 kB / 0.6652 GB, free: 13.13 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.7606, allocations: 4 kB / 0.6652 GB, free: 13.12 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002262/0.7609, allocations: 263.2 kB / 0.6655 GB, free: 12.87 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.7609, allocations: 3.953 kB / 0.6655 GB, free: 12.87 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001216/0.761, allocations: 19.98 kB / 0.6655 GB, free: 12.85 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.761, allocations: 0 / 0.6655 GB, free: 12.85 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.239e-05/0.761, allocations: 4 kB / 0.6655 GB, free: 12.84 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.7611, allocations: 0 / 0.6655 GB, free: 12.84 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.7611, allocations: 4 kB / 0.6655 GB, free: 12.84 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006958/0.7618, allocations: 492.2 kB / 0.666 GB, free: 12.45 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.139e-05/0.7618, allocations: 100.5 kB / 0.6661 GB, free: 12.33 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.357e-05/0.7619, allocations: 4 kB / 0.6661 GB, free: 12.33 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001529/0.762, allocations: 31.97 kB / 0.6661 GB, free: 12.3 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.482e-05/0.7621, allocations: 27.02 kB / 0.6662 GB, free: 12.27 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-05/0.7622, allocations: 15.69 kB / 0.6662 GB, free: 12.26 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001461/0.7623, allocations: 177.2 kB / 0.6663 GB, free: 12.11 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.523e-06/0.7623, allocations: 0 / 0.6663 GB, free: 12.11 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002914/0.7626, allocations: 67.77 kB / 0.6664 GB, free: 12.05 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) * 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.0002229/0.7629, allocations: 140.9 kB / 0.6665 GB, free: 11.9 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0003217/0.7632, allocations: 258.7 kB / 0.6668 GB, free: 11.71 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.7632, allocations: 4.188 kB / 0.6668 GB, free: 11.7 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001537/0.7634, allocations: 169 kB / 0.6669 GB, free: 11.57 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002483/0.7636, allocations: 27.27 kB / 0.667 GB, free: 11.55 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008068/0.7644, allocations: 351.8 kB / 0.6673 GB, free: 11.22 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000326/0.7648, allocations: 0.7511 MB / 0.668 GB, free: 10.45 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 7.484e-05/0.7649, allocations: 21.19 kB / 0.6681 GB, free: 10.43 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.806e-05/0.7649, allocations: 19.42 kB / 0.6681 GB, free: 10.41 MB / 474.7 MB Notification: Performance of SimCode: time 2.4e-07/0.7649, allocations: 0 / 0.6681 GB, free: 10.41 MB / 474.7 MB Notification: Performance of Templates: time 0.005317/0.7702, allocations: 2.328 MB / 0.6704 GB, free: 8.113 MB / 474.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)