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.001703/0.001703, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001593/0.001593, allocations: 193.2 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.613/1.613, allocations: 205.1 MB / 222.1 MB, free: 4.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.433/0.433, allocations: 54.93 MB / 324.4 MB, free: 176 kB / 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.001692/0.001692, allocations: 67.91 kB / 394.8 MB, free: 12.2 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.1624, allocations: 59.59 MB / 454.4 MB, free: 0.5352 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Continuous.Examples.OffTimer): time 0.311/0.4735, allocations: 1.513 MB / 455.9 MB, free: 38.95 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007768/0.4743, allocations: 483.9 kB / 456.4 MB, free: 38.76 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.286e-05/0.4744, allocations: 3.031 kB / 456.4 MB, free: 38.76 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.472e-05/0.4745, allocations: 6.062 kB / 456.4 MB, free: 38.76 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001005/0.4746, allocations: 8.016 kB / 456.4 MB, free: 38.76 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001671/0.4748, allocations: 16.34 kB / 456.4 MB, free: 38.76 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.832e-05/0.4749, allocations: 49.91 kB / 456.5 MB, free: 38.76 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.475, allocations: 9.594 kB / 456.5 MB, free: 38.76 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.375e-05/0.4751, allocations: 24.52 kB / 456.5 MB, free: 38.76 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.517e-05/0.4752, allocations: 23.89 kB / 456.5 MB, free: 38.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.186e-05/0.4752, allocations: 10.28 kB / 456.6 MB, free: 38.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.294e-05/0.4752, allocations: 3.562 kB / 456.6 MB, free: 38.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.11e-05/0.4752, allocations: 9.609 kB / 456.6 MB, free: 38.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.733e-05/0.4753, allocations: 23.27 kB / 456.6 MB, free: 38.74 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001074/0.4754, allocations: 41.03 kB / 456.6 MB, free: 38.74 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.4754, allocations: 3.688 kB / 456.6 MB, free: 38.74 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.4754, allocations: 0 / 456.6 MB, free: 38.74 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.4754, allocations: 0 / 456.6 MB, free: 38.74 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.0004828/0.4759, allocations: 356.4 kB / 457 MB, free: 38.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.476, allocations: 7.906 kB / 457 MB, free: 38.39 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.002e-05/0.476, allocations: 10.69 kB / 457 MB, free: 38.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.4761, allocations: 175.1 kB / 457.2 MB, free: 38.19 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.4761, allocations: 384 / 457.2 MB, free: 38.19 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.626e-05/0.4762, allocations: 9.938 kB / 457.2 MB, free: 38.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.4763, allocations: 60.38 kB / 457.2 MB, free: 38.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.4763, allocations: 0.6562 kB / 457.2 MB, free: 38.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.4763, allocations: 2.5 kB / 457.2 MB, free: 38.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.4763, allocations: 0.5 kB / 457.2 MB, free: 38.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.085e-05/0.4764, allocations: 25.34 kB / 457.3 MB, free: 38.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000416/0.4768, allocations: 304.4 kB / 457.6 MB, free: 37.88 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.5e-05/0.4769, allocations: 57.86 kB / 457.6 MB, free: 37.86 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.891e-05/0.477, allocations: 23.31 kB / 457.6 MB, free: 37.85 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.103e-05/0.477, allocations: 0 / 457.6 MB, free: 37.85 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001338/0.4771, allocations: 74.2 kB / 457.7 MB, free: 37.8 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.402e-06/0.4771, allocations: 2.625 kB / 457.7 MB, free: 37.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002146/0.4774, allocations: 101.7 kB / 457.8 MB, free: 37.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.514e-05/0.4774, allocations: 56.16 kB / 457.9 MB, free: 37.71 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.989e-05/0.4775, allocations: 105 kB / 458 MB, free: 37.61 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.4775, allocations: 32.64 kB / 458 MB, free: 37.58 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.281e-05/0.4775, allocations: 94.45 kB / 458.1 MB, free: 37.49 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.147e-05/0.4776, allocations: 22.89 kB / 458.1 MB, free: 37.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.929e-05/0.4776, allocations: 31.2 kB / 458.2 MB, free: 37.46 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.035e-05/0.4777, allocations: 317.7 kB / 458.5 MB, free: 37.14 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.039e-05/0.4777, allocations: 19.95 kB / 458.5 MB, free: 37.14 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.708e-05/0.4778, allocations: 42.94 kB / 458.5 MB, free: 37.11 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.99e-05/0.4778, allocations: 67.83 kB / 458.6 MB, free: 37.08 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.4778, allocations: 0 / 458.6 MB, free: 37.08 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001163/0.478, allocations: 100.2 kB / 458.7 MB, free: 37.05 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.478, allocations: 5.656 kB / 458.7 MB, free: 37.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.478, allocations: 0.9688 kB / 458.7 MB, free: 37.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.478, allocations: 3.438 kB / 458.7 MB, free: 37.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.158e-05/0.4781, allocations: 12.45 kB / 458.7 MB, free: 37.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.4781, allocations: 3.359 kB / 458.7 MB, free: 37.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.06e-05/0.4782, allocations: 10.81 kB / 458.7 MB, free: 37.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.4782, allocations: 9.031 kB / 458.7 MB, free: 37.04 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,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.414e-05/0.4783, allocations: 123.8 kB / 458.9 MB, free: 36.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.395e-05/0.4783, allocations: 8.172 kB / 458.9 MB, free: 36.92 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.976e-05/0.4783, allocations: 7.656 kB / 458.9 MB, free: 36.92 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.4783, allocations: 2.938 kB / 458.9 MB, free: 36.92 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.4784, allocations: 0 / 458.9 MB, free: 36.92 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.421e-06/0.4784, allocations: 2.062 kB / 458.9 MB, free: 36.92 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003522/0.4787, allocations: 362.9 kB / 459.2 MB, free: 36.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.4787, allocations: 0.9062 kB / 459.2 MB, free: 36.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.294e-05/0.4788, allocations: 2.969 kB / 459.2 MB, free: 36.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.4788, allocations: 0.5625 kB / 459.2 MB, free: 36.62 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.4788, allocations: 6.062 kB / 459.2 MB, free: 36.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.4788, allocations: 5.594 kB / 459.2 MB, free: 36.62 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.4788, allocations: 0 / 459.2 MB, free: 36.62 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001306/0.4789, allocations: 188.2 kB / 459.4 MB, free: 36.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.694e-05/0.479, allocations: 80.05 kB / 459.5 MB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.479, allocations: 4.688 kB / 459.5 MB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.013e-05/0.4791, allocations: 13.3 kB / 459.5 MB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.358e-05/0.4791, allocations: 4.812 kB / 459.5 MB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.306e-06/0.4792, allocations: 7.203 kB / 459.5 MB, free: 36.39 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.845e-05/0.4792, allocations: 82 kB / 459.6 MB, free: 36.31 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.483e-06/0.4792, allocations: 0 / 459.6 MB, free: 36.31 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002238/0.4794, allocations: 22.44 kB / 459.6 MB, free: 36.31 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001017/0.4795, allocations: 95.47 kB / 459.7 MB, free: 36.22 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000148/0.4797, allocations: 59.56 kB / 459.8 MB, free: 36.22 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.4797, allocations: 1 kB / 459.8 MB, free: 36.22 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.309e-05/0.4798, allocations: 31.17 kB / 459.8 MB, free: 36.22 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002844/0.48, allocations: 9.203 kB / 459.8 MB, free: 36.22 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003909/0.4804, allocations: 184 kB / 460 MB, free: 36.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00014/0.4806, allocations: 0.6859 MB / 460.7 MB, free: 35.4 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.743e-05/0.4806, allocations: 4.531 kB / 460.7 MB, free: 35.4 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.681e-05/0.4807, allocations: 12.25 kB / 460.7 MB, free: 35.39 MB / 382.1 MB Notification: Performance of SimCode: time 1.9e-07/0.4807, allocations: 0 / 460.7 MB, free: 35.39 MB / 382.1 MB Notification: Performance of Templates: time 0.003053/0.4837, allocations: 0.7274 MB / 461.4 MB, free: 35.36 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.OffTimer.makefile (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)