Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.669/1.669, allocations: 285.4 MB / 298 MB, free: 5.984 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001213/0.001213, allocations: 168.9 kB / 366.4 MB, free: 2.109 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.369/1.369, allocations: 205.1 MB / 0.6248 GB, free: 7.742 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000833/0.0008332, allocations: 100.5 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.972e-05/2.976e-05, allocations: 7.984 kB / 0.8583 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5778/0.5778, allocations: 115.3 MB / 0.9709 GB, free: 77.91 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1606/0.7385, allocations: 141.1 MB / 1.109 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002039/0.7387, allocations: 79.94 kB / 1.109 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01686/0.7556, allocations: 5.819 MB / 1.114 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.393e-06/0.7556, allocations: 4 kB / 1.114 GB, free: 4.852 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.856e-05/0.7557, allocations: 4 kB / 1.114 GB, free: 4.848 MB / 0.7136 GB 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.0007955/0.7565, allocations: 0.5606 MB / 1.115 GB, free: 4.238 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.7565, allocations: 8.031 kB / 1.115 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.413e-05/0.7566, allocations: 27.72 kB / 1.115 GB, free: 4.203 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004479/0.7571, allocations: 297.5 kB / 1.115 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.82e-05/0.7571, allocations: 12 kB / 1.115 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.684e-05/0.7572, allocations: 12 kB / 1.115 GB, free: 3.852 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003991/0.7576, allocations: 231.6 kB / 1.116 GB, free: 3.598 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.7576, allocations: 4 kB / 1.116 GB, free: 3.594 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.501e-05/0.7576, allocations: 8 kB / 1.116 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.7576, allocations: 4 kB / 1.116 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002327/0.7579, allocations: 143.5 kB / 1.116 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009493/0.7588, allocations: 0.7355 MB / 1.116 GB, free: 2.652 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002404/0.7591, allocations: 161.5 kB / 1.117 GB, free: 2.488 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/0.7592, allocations: 109 kB / 1.117 GB, free: 2.379 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.446e-05/0.7593, allocations: 0 / 1.117 GB, free: 2.379 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002457/0.7595, allocations: 181.1 kB / 1.117 GB, free: 2.184 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=15): time 1.663e-06/0.7595, allocations: 0 / 1.117 GB, free: 2.184 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15): time 0.0005791/0.7601, allocations: 344.5 kB / 1.117 GB, free: 1.836 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.189e-05/0.7602, allocations: 136.5 kB / 1.117 GB, free: 1.672 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000261/0.7605, allocations: 243.2 kB / 1.118 GB, free: 1.43 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.111e-05/0.7605, allocations: 29.7 kB / 1.118 GB, free: 1.395 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.7606, allocations: 164.1 kB / 1.118 GB, free: 1.23 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.893e-05/0.7607, allocations: 47.44 kB / 1.118 GB, free: 1.184 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.256e-05/0.7607, allocations: 0 / 1.118 GB, free: 1.184 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.7608, allocations: 346.8 kB / 1.118 GB, free: 0.8359 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.761, allocations: 92.16 kB / 1.118 GB, free: 0.7422 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001711/0.7611, allocations: 147 kB / 1.118 GB, free: 0.582 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/0.7613, allocations: 117.5 kB / 1.118 GB, free: 472 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.7613, allocations: 4 kB / 1.118 GB, free: 468 kB / 0.7136 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005093/0.7618, allocations: 368.4 kB / 1.119 GB, free: 88 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.69e-05/0.7619, allocations: 41.81 kB / 1.119 GB, free: 40 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.7619, allocations: 4 kB / 1.119 GB, free: 36 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.7619, allocations: 0 / 1.119 GB, free: 36 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.7621, allocations: 31.92 kB / 1.119 GB, free: 4 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.7621, allocations: 0 / 1.119 GB, free: 4 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001932/0.7623, allocations: 43.83 kB / 1.119 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.802e-05/0.7623, allocations: 15.98 kB / 1.119 GB, free: 15.95 MB / 0.7292 GB 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.0001089/0.7624, allocations: 150.6 kB / 1.119 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.645e-05/0.7625, allocations: 31.66 kB / 1.119 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.885e-05/0.7626, allocations: 25.95 kB / 1.119 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.461e-05/0.7626, allocations: 4 kB / 1.119 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.7626, allocations: 3.094 kB / 1.119 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.7626, allocations: 4 kB / 1.119 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002552/0.7629, allocations: 297.5 kB / 1.119 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.7629, allocations: 4 kB / 1.119 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001244/0.763, allocations: 19.98 kB / 1.119 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.763, allocations: 0 / 1.119 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.973e-05/0.7631, allocations: 15.94 kB / 1.119 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.7631, allocations: 0 / 1.119 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.7631, allocations: 0 / 1.119 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007813/0.7639, allocations: 0.5298 MB / 1.12 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.327e-05/0.764, allocations: 100.9 kB / 1.12 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.689e-05/0.764, allocations: 7.984 kB / 1.12 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000164/0.7642, allocations: 31.94 kB / 1.12 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.621e-05/0.7643, allocations: 27.95 kB / 1.12 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.874e-05/0.7643, allocations: 16.05 kB / 1.12 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.000177/0.7645, allocations: 199.1 kB / 1.12 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.21e-07/0.7645, allocations: 0 / 1.12 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002978/0.7648, allocations: 68.06 kB / 1.12 GB, free: 14.33 MB / 0.7292 GB 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.0002246/0.765, allocations: 135.1 kB / 1.121 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003847/0.7654, allocations: 277.8 kB / 1.121 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.7654, allocations: 4.188 kB / 1.121 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001859/0.7656, allocations: 171.4 kB / 1.121 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002595/0.7659, allocations: 28.55 kB / 1.121 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008928/0.7668, allocations: 365.4 kB / 1.121 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000338/0.7672, allocations: 0.7558 MB / 1.122 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 9.465e-05/0.7673, allocations: 21.2 kB / 1.122 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.564e-05/0.7673, allocations: 15.44 kB / 1.122 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of SimCode: time 3.91e-07/0.7673, allocations: 0 / 1.122 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of Templates: time 0.005761/0.7731, allocations: 2.526 MB / 1.125 GB, free: 10.06 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1)