Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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/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_IDEAS.Controls.Continuous.Examples.OffTimer") translateModel(IDEAS.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001192/0.001192, allocations: 174.6 kB / 7.644 MB, free: 1.41 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7384/0.7384, allocations: 130.7 MB / 138.7 MB, free: 3.566 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 221.5 MB / 391.8 MB, free: 14.18 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.0009174/0.0009174, allocations: 98.77 kB / 473.9 MB, free: 4.488 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.835e-05/1.839e-05, allocations: 4 kB / 0.5485 GB, free: 13.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5024/0.5025, allocations: 81.57 MB / 0.6282 GB, free: 42.88 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1468/0.6493, allocations: 111 MB / 0.7365 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001989/0.6495, allocations: 75.95 kB / 0.7366 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003032/0.6526, allocations: 1.125 MB / 0.7377 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.643e-06/0.6526, allocations: 0 / 0.7377 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.6526, allocations: 0 / 0.7377 GB, free: 14.61 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.0003984/0.653, allocations: 354.4 kB / 0.738 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.6531, allocations: 8.031 kB / 0.738 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.002e-05/0.6531, allocations: 8 kB / 0.7381 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.6533, allocations: 174.9 kB / 0.7382 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.855e-05/0.6533, allocations: 4 kB / 0.7382 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.6533, allocations: 4 kB / 0.7382 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.214e-05/0.6534, allocations: 19.94 kB / 0.7382 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.587e-05/0.6535, allocations: 53.67 kB / 0.7383 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.6535, allocations: 0 / 0.7383 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.6536, allocations: 4 kB / 0.7383 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.6536, allocations: 4.938 kB / 0.7383 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004914/0.6541, allocations: 269.3 kB / 0.7386 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 9.561e-05/0.6542, allocations: 58.3 kB / 0.7386 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.115e-05/0.6542, allocations: 21.03 kB / 0.7386 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.113e-05/0.6542, allocations: 4 kB / 0.7386 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001368/0.6544, allocations: 67.48 kB / 0.7387 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=9): time 2.144e-06/0.6544, allocations: 7.875 kB / 0.7387 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9): time 0.0001826/0.6546, allocations: 69.59 kB / 0.7388 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.6546, allocations: 63.36 kB / 0.7388 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.626e-05/0.6547, allocations: 101 kB / 0.7389 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.6548, allocations: 33.69 kB / 0.739 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.69e-05/0.6548, allocations: 88.03 kB / 0.7391 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.119e-05/0.6548, allocations: 15.81 kB / 0.7391 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.49e-06/0.6548, allocations: 0 / 0.7391 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.655, allocations: 322.8 kB / 0.7394 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.213e-05/0.655, allocations: 16 kB / 0.7394 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.276e-05/0.6551, allocations: 40.86 kB / 0.7394 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.874e-05/0.6551, allocations: 19.98 kB / 0.7394 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.6551, allocations: 0 / 0.7394 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001385/0.6553, allocations: 85.52 kB / 0.7395 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.6553, allocations: 4 kB / 0.7395 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.6553, allocations: 7.938 kB / 0.7395 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.6553, allocations: 0 / 0.7395 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.215e-05/0.6554, allocations: 11.94 kB / 0.7396 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.6554, allocations: 8.031 kB / 0.7396 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.396e-05/0.6555, allocations: 15.88 kB / 0.7396 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.6555, allocations: 4 kB / 0.7396 GB, free: 12.47 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 () * 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 8.754e-05/0.6556, allocations: 111.4 kB / 0.7397 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.32e-05/0.6556, allocations: 3.906 kB / 0.7397 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.38e-05/0.6557, allocations: 8.406 kB / 0.7397 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.6557, allocations: 0 / 0.7397 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.6557, allocations: 0 / 0.7397 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.6557, allocations: 4 kB / 0.7397 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003854/0.6561, allocations: 327 kB / 0.74 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.6561, allocations: 0 / 0.74 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.047e-05/0.6561, allocations: 7.938 kB / 0.74 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.6561, allocations: 192 / 0.74 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.747e-05/0.6562, allocations: 3.984 kB / 0.74 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.6562, allocations: 7.938 kB / 0.74 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.6562, allocations: 4 kB / 0.74 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000152/0.6563, allocations: 175.3 kB / 0.7402 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.303e-05/0.6564, allocations: 77.8 kB / 0.7403 GB, free: 11.67 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.6564, allocations: 7.984 kB / 0.7403 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.144e-05/0.6565, allocations: 4 kB / 0.7403 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.834e-05/0.6566, allocations: 11.98 kB / 0.7403 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.129e-06/0.6566, allocations: 0 / 0.7403 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.843e-05/0.6566, allocations: 83.56 kB / 0.7404 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6566, allocations: 0 / 0.7404 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002272/0.6569, allocations: 19.94 kB / 0.7404 GB, free: 11.55 MB / 0.5261 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 () * 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.0001179/0.657, allocations: 95.14 kB / 0.7405 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001228/0.6571, allocations: 51.11 kB / 0.7405 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.6571, allocations: 0 / 0.7405 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 5.29e-05/0.6572, allocations: 27.92 kB / 0.7406 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002006/0.6574, allocations: 17.77 kB / 0.7406 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003489/0.6578, allocations: 111.8 kB / 0.7407 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002757/0.6581, allocations: 0.6846 MB / 0.7414 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.416e-05/0.6581, allocations: 8.078 kB / 0.7414 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.718e-05/0.6581, allocations: 11.44 kB / 0.7414 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of SimCode: time 2.9e-07/0.6581, allocations: 4 kB / 0.7414 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of Templates: time 0.002579/0.6607, allocations: 0.6244 MB / 0.742 GB, free: 9.871 MB / 0.5261 GB make -j1 -f IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.makefile (rm -f IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.sim & ./IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe 2>&1)