Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer") translateModel(IDEAS.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009961/0.009962, allocations: 170.8 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8024/0.8024, allocations: 135.2 MB / 151.1 MB, free: 13.84 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.826/1.826, allocations: 223.2 MB / 406.9 MB, free: 3.137 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 104 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004266/0.0004267, allocations: 12 kB / 0.5691 GB, free: 14.16 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5782/0.5787, allocations: 82.29 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1725/0.7512, allocations: 111.9 MB / 0.7588 GB, free: 4.066 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003325/0.7516, allocations: 71.95 kB / 0.7589 GB, free: 3.996 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.00363/0.7553, allocations: 1.147 MB / 0.76 GB, free: 2.852 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.645e-06/0.7553, allocations: 0 / 0.76 GB, free: 2.852 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.189e-05/0.7553, allocations: 4 kB / 0.76 GB, free: 2.848 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005816/0.7559, allocations: 359.2 kB / 0.7603 GB, free: 2.449 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/0.756, allocations: 8.031 kB / 0.7603 GB, free: 2.441 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.868e-05/0.756, allocations: 7.906 kB / 0.7603 GB, free: 2.434 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001737/0.7562, allocations: 171 kB / 0.7605 GB, free: 2.227 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.418e-05/0.7562, allocations: 4 kB / 0.7605 GB, free: 2.223 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/0.7563, allocations: 4 kB / 0.7605 GB, free: 2.219 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.7564, allocations: 57.61 kB / 0.7606 GB, free: 2.156 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.7564, allocations: 0 / 0.7606 GB, free: 2.156 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.7565, allocations: 8 kB / 0.7606 GB, free: 2.148 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.7565, allocations: 4 kB / 0.7606 GB, free: 2.145 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.273e-05/0.7566, allocations: 19.98 kB / 0.7606 GB, free: 2.125 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005894/0.7572, allocations: 300.8 kB / 0.7609 GB, free: 1.781 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.7573, allocations: 58.56 kB / 0.7609 GB, free: 1.715 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.345e-05/0.7573, allocations: 0 / 0.7609 GB, free: 1.715 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000213/0.7575, allocations: 79.53 kB / 0.761 GB, free: 1.625 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=9): time 1.333e-06/0.7575, allocations: 0 / 0.761 GB, free: 1.625 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9): time 0.0002668/0.7578, allocations: 97.89 kB / 0.7611 GB, free: 1.523 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.419e-05/0.7579, allocations: 63.3 kB / 0.7612 GB, free: 1.449 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.405e-05/0.758, allocations: 101 kB / 0.7613 GB, free: 1.344 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.808e-05/0.758, allocations: 37.62 kB / 0.7613 GB, free: 1.301 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.656e-05/0.7581, allocations: 88.12 kB / 0.7614 GB, free: 1.211 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.868e-05/0.7581, allocations: 19.72 kB / 0.7614 GB, free: 1.191 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.899e-06/0.7581, allocations: 0 / 0.7614 GB, free: 1.191 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.7583, allocations: 318.8 kB / 0.7617 GB, free: 0.8711 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.584e-05/0.7583, allocations: 16 kB / 0.7617 GB, free: 0.8555 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.415e-05/0.7584, allocations: 47.42 kB / 0.7618 GB, free: 0.7969 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.114e-05/0.7584, allocations: 28.11 kB / 0.7618 GB, free: 0.7695 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.7584, allocations: 0 / 0.7618 GB, free: 0.7695 MB / 0.5261 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000148/0.7586, allocations: 89.61 kB / 0.7619 GB, free: 0.6758 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.7586, allocations: 5.094 kB / 0.7619 GB, free: 0.6719 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.7586, allocations: 0 / 0.7619 GB, free: 0.6719 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.7586, allocations: 4 kB / 0.7619 GB, free: 0.668 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.277e-05/0.7587, allocations: 15.98 kB / 0.7619 GB, free: 0.6523 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.7587, allocations: 7.969 kB / 0.7619 GB, free: 0.6445 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.771e-05/0.7588, allocations: 19.86 kB / 0.7619 GB, free: 0.625 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.7589, allocations: 11.98 kB / 0.7619 GB, free: 0.6133 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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.0001213/0.759, allocations: 117.8 kB / 0.762 GB, free: 500 kB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.39e-05/0.759, allocations: 4 kB / 0.7621 GB, free: 496 kB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.735e-05/0.759, allocations: 7.969 kB / 0.7621 GB, free: 484 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.759, allocations: 0 / 0.7621 GB, free: 484 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.7591, allocations: 0 / 0.7621 GB, free: 484 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.7591, allocations: 4 kB / 0.7621 GB, free: 480 kB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004835/0.7596, allocations: 366.4 kB / 0.7624 GB, free: 56 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.7596, allocations: 0 / 0.7624 GB, free: 56 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.183e-05/0.7596, allocations: 11.92 kB / 0.7624 GB, free: 44 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.7596, allocations: 0 / 0.7624 GB, free: 44 kB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.7596, allocations: 4 kB / 0.7624 GB, free: 40 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/0.7597, allocations: 3.938 kB / 0.7624 GB, free: 36 kB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.7597, allocations: 7.953 kB / 0.7624 GB, free: 28 kB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000212/0.7599, allocations: 183.5 kB / 0.7626 GB, free: 15.83 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.416e-05/0.7599, allocations: 81.02 kB / 0.7627 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.76, allocations: 4 kB / 0.7627 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.502e-05/0.7601, allocations: 4 kB / 0.7627 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.015e-05/0.7601, allocations: 11.98 kB / 0.7627 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.756e-06/0.7601, allocations: 11.94 kB / 0.7627 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.105e-05/0.7602, allocations: 79.28 kB / 0.7628 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1e-07/0.7602, allocations: 0 / 0.7628 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002373/0.7604, allocations: 16 kB / 0.7628 GB, free: 15.61 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001269/0.7606, allocations: 97.22 kB / 0.7629 GB, free: 15.51 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001476/0.7607, allocations: 55.91 kB / 0.763 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.7607, allocations: 0 / 0.763 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 5.496e-05/0.7608, allocations: 23.94 kB / 0.763 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002195/0.761, allocations: 16.05 kB / 0.763 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004459/0.7615, allocations: 180.6 kB / 0.7632 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003097/0.7618, allocations: 0.6944 MB / 0.7638 GB, free: 14.49 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.193e-05/0.7618, allocations: 4.422 kB / 0.7639 GB, free: 14.49 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.378e-05/0.7619, allocations: 11.44 kB / 0.7639 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of SimCode: time 3.01e-07/0.7619, allocations: 0 / 0.7639 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of Templates: time 0.003157/0.7651, allocations: 0.6525 MB / 0.7645 GB, free: 13.83 MB / 0.5417 GB make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.makefile (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.sim & ./IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe 2>&1)