Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Controls.Continuous.Examples.OffTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Annex60.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.OffTimer") translateModel(Annex60.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001202/0.001203, allocations: 90.75 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.798/1.798, allocations: 205.4 MB / 222.1 MB, free: 5.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4405/0.4405, allocations: 55.01 MB / 325.4 MB, free: 0.6797 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005855/0.0005859, allocations: 12 kB / 396.6 MB, free: 11.68 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4627/0.4633, allocations: 60.71 MB / 457.4 MB, free: 38.43 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Continuous.Examples.OffTimer): time 0.001969/0.4653, allocations: 1.174 MB / 458.5 MB, free: 38.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007825/0.4661, allocations: 453.8 kB / 459 MB, free: 38.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.709e-05/0.4662, allocations: 2.5 kB / 459 MB, free: 38.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.741e-05/0.4662, allocations: 5.625 kB / 459 MB, free: 38.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.626e-05/0.4663, allocations: 11.52 kB / 459 MB, free: 38.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00016/0.4665, allocations: 20.16 kB / 459 MB, free: 38.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.47e-05/0.4666, allocations: 45.41 kB / 459.1 MB, free: 38.33 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.4667, allocations: 14.72 kB / 459.1 MB, free: 38.33 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.311e-05/0.4667, allocations: 15.69 kB / 459.1 MB, free: 38.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.988e-05/0.4668, allocations: 17.61 kB / 459.1 MB, free: 38.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.558e-05/0.4668, allocations: 2.688 kB / 459.1 MB, free: 38.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.478e-05/0.4669, allocations: 2.625 kB / 459.1 MB, free: 38.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.311e-05/0.4669, allocations: 6.297 kB / 459.1 MB, free: 38.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.554e-05/0.467, allocations: 36.52 kB / 459.2 MB, free: 38.29 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.597e-05/0.467, allocations: 28.09 kB / 459.2 MB, free: 38.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.4671, allocations: 3.125 kB / 459.2 MB, free: 38.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.716e-06/0.4671, allocations: 0.9375 kB / 459.2 MB, free: 38.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.4671, allocations: 0 / 459.2 MB, free: 38.29 MB / 382.1 MB 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.0005333/0.4676, allocations: 353.2 kB / 459.5 MB, free: 37.94 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/0.4677, allocations: 12.28 kB / 459.5 MB, free: 37.94 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.792e-05/0.4677, allocations: 7.75 kB / 459.5 MB, free: 37.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.4679, allocations: 169.2 kB / 459.7 MB, free: 37.74 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.504e-05/0.4679, allocations: 3.062 kB / 459.7 MB, free: 37.74 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.736e-05/0.4679, allocations: 4.25 kB / 459.7 MB, free: 37.74 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.4681, allocations: 63.53 kB / 459.8 MB, free: 37.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.4681, allocations: 3.828 kB / 459.8 MB, free: 37.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.4681, allocations: 1.281 kB / 459.8 MB, free: 37.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.4681, allocations: 0 / 459.8 MB, free: 37.7 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.158e-05/0.4682, allocations: 27.52 kB / 459.8 MB, free: 37.7 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004867/0.4687, allocations: 311.3 kB / 460.1 MB, free: 37.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/0.4688, allocations: 54.11 kB / 460.2 MB, free: 37.4 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.467e-05/0.4689, allocations: 23.59 kB / 460.2 MB, free: 37.39 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/0.4689, allocations: 4.219 kB / 460.2 MB, free: 37.39 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002093/0.4691, allocations: 73.28 kB / 460.3 MB, free: 37.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.402e-06/0.4691, allocations: 1.875 kB / 460.3 MB, free: 37.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002281/0.4693, allocations: 104.4 kB / 460.4 MB, free: 37.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.536e-05/0.4694, allocations: 59.62 kB / 460.4 MB, free: 37.24 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.199e-05/0.4695, allocations: 103.5 kB / 460.5 MB, free: 37.14 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.4695, allocations: 29.2 kB / 460.6 MB, free: 37.11 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.905e-05/0.4696, allocations: 83.42 kB / 460.6 MB, free: 37.03 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.093e-05/0.4696, allocations: 21.75 kB / 460.7 MB, free: 37.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.084e-06/0.4696, allocations: 5.156 kB / 460.7 MB, free: 37.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.952e-05/0.4697, allocations: 318.1 kB / 461 MB, free: 36.71 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.545e-05/0.4698, allocations: 15.95 kB / 461 MB, free: 36.71 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.28e-05/0.4698, allocations: 41.91 kB / 461 MB, free: 36.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.439e-05/0.4699, allocations: 20.89 kB / 461.1 MB, free: 36.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.4699, allocations: 4.688 kB / 461.1 MB, free: 36.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001378/0.47, allocations: 103.6 kB / 461.2 MB, free: 36.63 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.47, allocations: 5.781 kB / 461.2 MB, free: 36.63 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.4701, allocations: 3.281 kB / 461.2 MB, free: 36.63 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.4701, allocations: 2.062 kB / 461.2 MB, free: 36.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.063e-05/0.4702, allocations: 8.75 kB / 461.2 MB, free: 36.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/0.4702, allocations: 4.031 kB / 461.2 MB, free: 36.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.259e-05/0.4703, allocations: 19.09 kB / 461.2 MB, free: 36.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.4703, allocations: 5.047 kB / 461.2 MB, free: 36.62 MB / 382.1 MB 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 9.231e-05/0.4704, allocations: 116.9 kB / 461.3 MB, free: 36.51 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.188e-05/0.4704, allocations: 10.39 kB / 461.3 MB, free: 36.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.986e-05/0.4704, allocations: 14.06 kB / 461.3 MB, free: 36.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.4704, allocations: 4.281 kB / 461.4 MB, free: 36.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.4705, allocations: 0 / 461.4 MB, free: 36.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.4705, allocations: 0 / 461.4 MB, free: 36.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003451/0.4708, allocations: 363.1 kB / 461.7 MB, free: 36.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.4708, allocations: 3.938 kB / 461.7 MB, free: 36.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.58e-05/0.4709, allocations: 6.828 kB / 461.7 MB, free: 36.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.4709, allocations: 1.031 kB / 461.7 MB, free: 36.2 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.4709, allocations: 1.094 kB / 461.7 MB, free: 36.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.4709, allocations: 1.312 kB / 461.7 MB, free: 36.2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.4709, allocations: 7.969 kB / 461.7 MB, free: 36.19 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001489/0.4711, allocations: 184.5 kB / 461.9 MB, free: 36.05 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.246e-05/0.4711, allocations: 87 kB / 462 MB, free: 35.96 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.4711, allocations: 0 / 462 MB, free: 35.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.548e-05/0.4712, allocations: 17.77 kB / 462 MB, free: 35.96 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.16e-05/0.4713, allocations: 7.641 kB / 462 MB, free: 35.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.4713, allocations: 0.5 kB / 462 MB, free: 35.96 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.72e-05/0.4713, allocations: 88 kB / 462.1 MB, free: 35.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4713, allocations: 0 / 462.1 MB, free: 35.88 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002299/0.4716, allocations: 10 kB / 462.1 MB, free: 35.88 MB / 382.1 MB 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.0001023/0.4717, allocations: 102.5 kB / 462.2 MB, free: 35.79 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001454/0.4718, allocations: 51.31 kB / 462.3 MB, free: 35.79 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.4718, allocations: 0 / 462.3 MB, free: 35.79 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.229e-05/0.4719, allocations: 26.39 kB / 462.3 MB, free: 35.78 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002997/0.4722, allocations: 13.5 kB / 462.3 MB, free: 35.78 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003974/0.4726, allocations: 187.5 kB / 462.5 MB, free: 35.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001552/0.4728, allocations: 0.6862 MB / 463.2 MB, free: 34.96 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.257e-05/0.4728, allocations: 7.484 kB / 463.2 MB, free: 34.96 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.773e-05/0.4729, allocations: 10.66 kB / 463.2 MB, free: 34.95 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4729, allocations: 0 / 463.2 MB, free: 34.95 MB / 382.1 MB Notification: Performance of Templates: time 0.003065/0.4759, allocations: 0.6553 MB / 463.8 MB, free: 34.92 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.OffTimer.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Annex60_1.0.0_Annex60.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Annex60_1.0.0_Annex60.Controls.Continuous.Examples.OffTimer.sim & ./Annex60_1.0.0_Annex60.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Controls.Continuous.Examples.OffTimer.pipe 2>&1) Environment - environmentSimulation: