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.001526/0.001526, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.601/1.601, allocations: 205.1 MB / 222.4 MB, free: 4.582 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4649/0.4649, allocations: 54.94 MB / 324.7 MB, free: 15.96 MB / 270.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.001511/0.001511, allocations: 71.91 kB / 395.3 MB, free: 11.78 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1593, allocations: 59.6 MB / 454.9 MB, free: 132 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Continuous.Examples.OffTimer): time 0.3112/0.4706, allocations: 1.45 MB / 456.4 MB, free: 39.58 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008008/0.4715, allocations: 487.5 kB / 456.9 MB, free: 39.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.831e-05/0.4715, allocations: 3.75 kB / 456.9 MB, free: 39.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.619e-05/0.4716, allocations: 3.375 kB / 456.9 MB, free: 39.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.878e-05/0.4717, allocations: 10.2 kB / 456.9 MB, free: 39.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001681/0.4719, allocations: 18.7 kB / 456.9 MB, free: 39.39 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.839e-05/0.472, allocations: 51.48 kB / 456.9 MB, free: 39.39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.4721, allocations: 12.88 kB / 456.9 MB, free: 39.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.371e-05/0.4721, allocations: 23.52 kB / 457 MB, free: 39.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.376e-05/0.4722, allocations: 20.66 kB / 457 MB, free: 39.38 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.4722, allocations: 5.719 kB / 457 MB, free: 39.38 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.307e-05/0.4723, allocations: 3.719 kB / 457 MB, free: 39.38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.433e-05/0.4723, allocations: 11.58 kB / 457 MB, free: 39.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.972e-05/0.4724, allocations: 22.25 kB / 457 MB, free: 39.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.692e-05/0.4725, allocations: 50.33 kB / 457.1 MB, free: 39.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.4725, allocations: 3.469 kB / 457.1 MB, free: 39.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.4725, allocations: 0 / 457.1 MB, free: 39.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.075e-05/0.4725, allocations: 0.5 kB / 457.1 MB, free: 39.36 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.0005167/0.473, allocations: 360 kB / 457.4 MB, free: 39.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.4731, allocations: 8.688 kB / 457.4 MB, free: 39.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.033e-05/0.4731, allocations: 6.219 kB / 457.5 MB, free: 39.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.4733, allocations: 166.2 kB / 457.6 MB, free: 38.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.4733, allocations: 8.469 kB / 457.6 MB, free: 38.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/0.4733, allocations: 3.938 kB / 457.6 MB, free: 38.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.4734, allocations: 64.08 kB / 457.7 MB, free: 38.79 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.4735, allocations: 1.453 kB / 457.7 MB, free: 38.79 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.4735, allocations: 1.156 kB / 457.7 MB, free: 38.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.4735, allocations: 4.469 kB / 457.7 MB, free: 38.79 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.153e-05/0.4735, allocations: 27.17 kB / 457.7 MB, free: 38.79 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004336/0.474, allocations: 303.3 kB / 458 MB, free: 38.51 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.955e-05/0.4741, allocations: 54.86 kB / 458.1 MB, free: 38.49 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.03e-05/0.4741, allocations: 25.59 kB / 458.1 MB, free: 38.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.212e-05/0.4742, allocations: 0.5 kB / 458.1 MB, free: 38.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002033/0.4744, allocations: 81.81 kB / 458.2 MB, free: 38.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.322e-06/0.4744, allocations: 0 / 458.2 MB, free: 38.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.000225/0.4746, allocations: 102.8 kB / 458.3 MB, free: 38.39 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.185e-05/0.4747, allocations: 51.41 kB / 458.3 MB, free: 38.33 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.723e-05/0.4747, allocations: 110.6 kB / 458.4 MB, free: 38.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.4747, allocations: 26.22 kB / 458.5 MB, free: 38.2 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.488e-05/0.4748, allocations: 93.73 kB / 458.6 MB, free: 38.12 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.032e-05/0.4748, allocations: 18.16 kB / 458.6 MB, free: 38.11 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.783e-05/0.4749, allocations: 29.66 kB / 458.6 MB, free: 38.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.748e-05/0.4749, allocations: 322.6 kB / 458.9 MB, free: 37.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.213e-05/0.475, allocations: 14.53 kB / 458.9 MB, free: 37.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.311e-05/0.475, allocations: 49.84 kB / 459 MB, free: 37.74 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.659e-05/0.4751, allocations: 65.61 kB / 459 MB, free: 37.71 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4751, allocations: 2.75 kB / 459 MB, free: 37.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001226/0.4752, allocations: 93.92 kB / 459.1 MB, free: 37.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.4753, allocations: 6.719 kB / 459.1 MB, free: 37.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.4753, allocations: 1.406 kB / 459.1 MB, free: 37.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.4753, allocations: 2.906 kB / 459.1 MB, free: 37.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.248e-05/0.4754, allocations: 16.36 kB / 459.2 MB, free: 37.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.4754, allocations: 0 / 459.2 MB, free: 37.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.697e-05/0.4755, allocations: 14 kB / 459.2 MB, free: 37.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.4755, allocations: 3.25 kB / 459.2 MB, free: 37.67 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.768e-05/0.4756, allocations: 129.4 kB / 459.3 MB, free: 37.55 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.248e-05/0.4756, allocations: 6.719 kB / 459.3 MB, free: 37.55 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.456e-05/0.4756, allocations: 9.328 kB / 459.3 MB, free: 37.55 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.4757, allocations: 3.062 kB / 459.3 MB, free: 37.55 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.4757, allocations: 1.656 kB / 459.3 MB, free: 37.55 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.4757, allocations: 0 / 459.3 MB, free: 37.55 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003531/0.476, allocations: 360.1 kB / 459.7 MB, free: 37.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.476, allocations: 2.75 kB / 459.7 MB, free: 37.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.508e-05/0.4761, allocations: 6.844 kB / 459.7 MB, free: 37.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.4761, allocations: 0.5156 kB / 459.7 MB, free: 37.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.4761, allocations: 0.75 kB / 459.7 MB, free: 37.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.9e-06/0.4761, allocations: 10.23 kB / 459.7 MB, free: 37.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.4761, allocations: 1.156 kB / 459.7 MB, free: 37.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001482/0.4763, allocations: 181.8 kB / 459.9 MB, free: 37.11 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.275e-05/0.4763, allocations: 79.89 kB / 460 MB, free: 37.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.4763, allocations: 4.219 kB / 460 MB, free: 37.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.412e-05/0.4764, allocations: 19.58 kB / 460 MB, free: 37.01 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.052e-05/0.4765, allocations: 9.547 kB / 460 MB, free: 37.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.4765, allocations: 5.438 kB / 460 MB, free: 37.01 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.74e-05/0.4766, allocations: 81.91 kB / 460.1 MB, free: 36.94 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4766, allocations: 0 / 460.1 MB, free: 36.94 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002298/0.4768, allocations: 15.75 kB / 460.1 MB, free: 36.93 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.0001137/0.4769, allocations: 101.5 kB / 460.2 MB, free: 36.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001467/0.4771, allocations: 61.55 kB / 460.2 MB, free: 36.84 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4771, allocations: 0 / 460.2 MB, free: 36.84 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.184e-05/0.4771, allocations: 22.38 kB / 460.3 MB, free: 36.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/0.4774, allocations: 14.03 kB / 460.3 MB, free: 36.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003867/0.4778, allocations: 169.4 kB / 460.4 MB, free: 36.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001619/0.478, allocations: 0.6874 MB / 461.1 MB, free: 36.04 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.822e-05/0.478, allocations: 3.656 kB / 461.1 MB, free: 36.04 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.223e-05/0.4781, allocations: 18.53 kB / 461.2 MB, free: 36.03 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4781, allocations: 0 / 461.2 MB, free: 36.03 MB / 382.1 MB Notification: Performance of Templates: time 0.003284/0.4814, allocations: 0.7713 MB / 461.9 MB, free: 35.99 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)