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.001292/0.001292, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001509/0.001509, allocations: 177.3 kB / 15.94 MB, free: 228 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.488/1.488, allocations: 205.4 MB / 222.1 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4344/0.4344, allocations: 54.98 MB / 325.3 MB, free: 0.6953 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.0005965/0.0005967, allocations: 19.98 kB / 396.6 MB, free: 11.74 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3724/0.373, allocations: 60.71 MB / 457.3 MB, free: 38.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Continuous.Examples.OffTimer): time 0.001785/0.3749, allocations: 1.164 MB / 458.5 MB, free: 38.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007536/0.3757, allocations: 464.6 kB / 458.9 MB, free: 38.22 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.224e-05/0.3757, allocations: 0.5625 kB / 458.9 MB, free: 38.22 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.957e-05/0.3758, allocations: 5.375 kB / 458.9 MB, free: 38.22 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.68e-05/0.3759, allocations: 6.188 kB / 458.9 MB, free: 38.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001733/0.3761, allocations: 23.88 kB / 458.9 MB, free: 38.22 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.209e-05/0.3761, allocations: 30.05 kB / 459 MB, free: 38.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.3763, allocations: 6.812 kB / 459 MB, free: 38.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.114e-05/0.3763, allocations: 19.61 kB / 459 MB, free: 38.21 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.772e-05/0.3764, allocations: 18.56 kB / 459 MB, free: 38.21 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.3764, allocations: 0 / 459 MB, free: 38.21 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.309e-05/0.3764, allocations: 4.562 kB / 459 MB, free: 38.21 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.953e-05/0.3765, allocations: 13.11 kB / 459 MB, free: 38.21 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.635e-05/0.3765, allocations: 37.3 kB / 459.1 MB, free: 38.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 6.806e-05/0.3766, allocations: 20.2 kB / 459.1 MB, free: 38.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.3766, allocations: 0 / 459.1 MB, free: 38.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.3766, allocations: 2.906 kB / 459.1 MB, free: 38.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.3766, allocations: 3.016 kB / 459.1 MB, free: 38.18 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.0005021/0.3771, allocations: 358.7 kB / 459.4 MB, free: 37.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.3772, allocations: 8.031 kB / 459.5 MB, free: 37.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.412e-05/0.3772, allocations: 10.62 kB / 459.5 MB, free: 37.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.3773, allocations: 167.9 kB / 459.6 MB, free: 37.62 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.17e-05/0.3774, allocations: 2.812 kB / 459.6 MB, free: 37.62 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/0.3774, allocations: 5.344 kB / 459.6 MB, free: 37.62 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.3775, allocations: 55.09 kB / 459.7 MB, free: 37.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.3776, allocations: 3.812 kB / 459.7 MB, free: 37.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.3776, allocations: 4.875 kB / 459.7 MB, free: 37.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.3776, allocations: 1.359 kB / 459.7 MB, free: 37.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.977e-05/0.3777, allocations: 31 kB / 459.7 MB, free: 37.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004933/0.3782, allocations: 300.6 kB / 460 MB, free: 37.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.653e-05/0.3783, allocations: 61.77 kB / 460.1 MB, free: 37.29 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.758e-06/0.3783, allocations: 4.203 kB / 460.1 MB, free: 37.29 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001865/0.3785, allocations: 69.69 kB / 460.2 MB, free: 37.24 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.844e-06/0.3785, allocations: 8.016 kB / 460.2 MB, free: 37.24 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002614/0.3788, allocations: 96.69 kB / 460.3 MB, free: 37.2 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.537e-05/0.3788, allocations: 57.66 kB / 460.3 MB, free: 37.14 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.161e-05/0.3789, allocations: 106.7 kB / 460.4 MB, free: 37.04 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.3789, allocations: 33.02 kB / 460.5 MB, free: 37.01 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.85e-05/0.379, allocations: 83.89 kB / 460.5 MB, free: 36.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.434e-05/0.379, allocations: 25.69 kB / 460.6 MB, free: 36.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.291e-06/0.379, allocations: 2.438 kB / 460.6 MB, free: 36.91 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.858e-05/0.3791, allocations: 314.4 kB / 460.9 MB, free: 36.6 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.234e-05/0.3791, allocations: 16.39 kB / 460.9 MB, free: 36.6 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.58e-05/0.3792, allocations: 46.78 kB / 460.9 MB, free: 36.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.109e-05/0.3792, allocations: 20.61 kB / 461 MB, free: 36.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.3792, allocations: 1.031 kB / 461 MB, free: 36.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001496/0.3794, allocations: 105.1 kB / 461.1 MB, free: 36.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.3794, allocations: 6.312 kB / 461.1 MB, free: 36.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.3794, allocations: 4.062 kB / 461.1 MB, free: 36.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.3795, allocations: 0 / 461.1 MB, free: 36.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.531e-05/0.3795, allocations: 10.31 kB / 461.1 MB, free: 36.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.3796, allocations: 2.438 kB / 461.1 MB, free: 36.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.514e-05/0.3796, allocations: 17.12 kB / 461.1 MB, free: 36.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.3797, allocations: 3.031 kB / 461.1 MB, free: 36.52 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 7.589e-05/0.3797, allocations: 121.2 kB / 461.2 MB, free: 36.4 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.496e-05/0.3798, allocations: 9.328 kB / 461.2 MB, free: 36.4 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.862e-05/0.3798, allocations: 11.62 kB / 461.2 MB, free: 36.4 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.3798, allocations: 6.344 kB / 461.2 MB, free: 36.4 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.3798, allocations: 0 / 461.2 MB, free: 36.4 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.3798, allocations: 0 / 461.2 MB, free: 36.4 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003409/0.3802, allocations: 362.1 kB / 461.6 MB, free: 36.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.3802, allocations: 0 / 461.6 MB, free: 36.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.755e-05/0.3802, allocations: 10.34 kB / 461.6 MB, free: 36.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.3802, allocations: 0.9375 kB / 461.6 MB, free: 36.09 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.3803, allocations: 7.781 kB / 461.6 MB, free: 36.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.3803, allocations: 0 / 461.6 MB, free: 36.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.3803, allocations: 2.406 kB / 461.6 MB, free: 36.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/0.3804, allocations: 181.9 kB / 461.8 MB, free: 35.95 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.757e-05/0.3804, allocations: 83.84 kB / 461.9 MB, free: 35.86 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.3805, allocations: 1 kB / 461.9 MB, free: 35.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.609e-05/0.3806, allocations: 9.234 kB / 461.9 MB, free: 35.86 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.285e-05/0.3806, allocations: 15.78 kB / 461.9 MB, free: 35.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-06/0.3806, allocations: 0 / 461.9 MB, free: 35.86 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.542e-05/0.3807, allocations: 88.11 kB / 462 MB, free: 35.78 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3807, allocations: 0 / 462 MB, free: 35.78 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002436/0.3809, allocations: 14.91 kB / 462 MB, free: 35.78 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 8.349e-05/0.381, allocations: 95.97 kB / 462.1 MB, free: 35.69 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001258/0.3811, allocations: 56.05 kB / 462.2 MB, free: 35.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3811, allocations: 0 / 462.2 MB, free: 35.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.826e-05/0.3812, allocations: 28.44 kB / 462.2 MB, free: 35.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001952/0.3814, allocations: 10.73 kB / 462.2 MB, free: 35.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003757/0.3818, allocations: 184.9 kB / 462.4 MB, free: 35.56 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000115/0.3819, allocations: 0.6916 MB / 463.1 MB, free: 34.86 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.811e-05/0.3819, allocations: 2.719 kB / 463.1 MB, free: 34.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.804e-05/0.382, allocations: 15.27 kB / 463.1 MB, free: 34.86 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.382, allocations: 0 / 463.1 MB, free: 34.86 MB / 382.1 MB Notification: Performance of Templates: time 0.002726/0.3847, allocations: 0.6465 MB / 463.7 MB, free: 34.82 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: