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/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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/Annex60 1.0.0/package.mo): time 0.3136/0.3136, allocations: 54.41 MB / 61.89 MB, free: 13.72 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001198/0.001199, allocations: 184.1 kB / 75.61 MB, free: 0.7656 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.569/1.569, allocations: 194.3 MB / 283.5 MB, free: 14.85 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001754/0.001754, allocations: 115.5 kB / 341.6 MB, free: 4.027 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.02e-05/2.039e-05, allocations: 7.984 kB / 405.5 MB, free: 4.145 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3441, allocations: 57.64 MB / 463.1 MB, free: 51.77 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1134/0.4576, allocations: 85.5 MB / 0.5358 GB, free: 15.69 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002159/0.4578, allocations: 74.44 kB / 0.5359 GB, free: 15.62 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0032/0.4611, allocations: 1.055 MB / 0.5369 GB, free: 14.59 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.886e-06/0.4611, allocations: 3.938 kB / 0.5369 GB, free: 14.58 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.304e-05/0.4611, allocations: 2.656 kB / 0.5369 GB, free: 14.58 MB / 394.7 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.0004597/0.4616, allocations: 353.7 kB / 0.5372 GB, free: 14.2 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.4616, allocations: 12.03 kB / 0.5372 GB, free: 14.18 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.33e-05/0.4617, allocations: 6.469 kB / 0.5372 GB, free: 14.18 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001639/0.4619, allocations: 164.5 kB / 0.5374 GB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.4619, allocations: 3.984 kB / 0.5374 GB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.991e-05/0.4619, allocations: 4.5 kB / 0.5374 GB, free: 13.97 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.208e-05/0.462, allocations: 31.67 kB / 0.5374 GB, free: 13.95 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.34e-05/0.4621, allocations: 49.62 kB / 0.5375 GB, free: 13.89 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.4621, allocations: 2.812 kB / 0.5375 GB, free: 13.89 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.4622, allocations: 0 / 0.5375 GB, free: 13.89 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.4622, allocations: 2.578 kB / 0.5375 GB, free: 13.89 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005172/0.4627, allocations: 278.2 kB / 0.5378 GB, free: 13.58 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.443e-05/0.4628, allocations: 52 kB / 0.5378 GB, free: 13.52 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.552e-05/0.4629, allocations: 25.08 kB / 0.5378 GB, free: 13.49 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.163e-05/0.4629, allocations: 4.938 kB / 0.5378 GB, free: 13.49 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000141/0.463, allocations: 63.39 kB / 0.5379 GB, free: 13.42 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.833e-06/0.463, allocations: 0 / 0.5379 GB, free: 13.42 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002187/0.4633, allocations: 81.53 kB / 0.538 GB, free: 13.33 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.482e-05/0.4633, allocations: 55.41 kB / 0.538 GB, free: 13.27 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.4634, allocations: 97.95 kB / 0.5381 GB, free: 13.16 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.659e-05/0.4635, allocations: 25.7 kB / 0.5381 GB, free: 13.13 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.813e-05/0.4635, allocations: 92.98 kB / 0.5382 GB, free: 13.04 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.637e-05/0.4636, allocations: 11.81 kB / 0.5382 GB, free: 13.03 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.152e-06/0.4636, allocations: 2.969 kB / 0.5383 GB, free: 13.03 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.4638, allocations: 318.8 kB / 0.5386 GB, free: 12.71 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.662e-05/0.4638, allocations: 12 kB / 0.5386 GB, free: 12.7 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.456e-05/0.4639, allocations: 43.27 kB / 0.5386 GB, free: 12.64 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.986e-05/0.4639, allocations: 22.2 kB / 0.5386 GB, free: 12.62 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.464, allocations: 1.406 kB / 0.5386 GB, free: 12.62 MB / 394.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001655/0.4641, allocations: 93.75 kB / 0.5387 GB, free: 12.53 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.4642, allocations: 4 kB / 0.5387 GB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.4642, allocations: 0 / 0.5387 GB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.4642, allocations: 11.62 kB / 0.5387 GB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.134e-05/0.4643, allocations: 8 kB / 0.5387 GB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.4643, allocations: 0 / 0.5387 GB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.753e-05/0.4644, allocations: 11.98 kB / 0.5388 GB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.456e-05/0.4644, allocations: 7.984 kB / 0.5388 GB, free: 12.49 MB / 394.7 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.pulsStart,booleanPulse.pulsStart,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 0.0001053/0.4645, allocations: 108.9 kB / 0.5389 GB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.069e-05/0.4646, allocations: 11.86 kB / 0.5389 GB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.817e-05/0.4646, allocations: 12.44 kB / 0.5389 GB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.4646, allocations: 0 / 0.5389 GB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.4646, allocations: 0 / 0.5389 GB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.4646, allocations: 7.984 kB / 0.5389 GB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004393/0.4651, allocations: 331.6 kB / 0.5392 GB, free: 11.99 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.4651, allocations: 0 / 0.5392 GB, free: 11.99 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.157e-05/0.4651, allocations: 0 / 0.5392 GB, free: 11.99 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.705e-06/0.4652, allocations: 11.98 kB / 0.5392 GB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.4652, allocations: 0 / 0.5392 GB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.4652, allocations: 0 / 0.5392 GB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.4652, allocations: 0 / 0.5392 GB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000186/0.4654, allocations: 175.4 kB / 0.5394 GB, free: 11.79 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.371e-05/0.4655, allocations: 86.27 kB / 0.5395 GB, free: 11.69 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.4655, allocations: 0 / 0.5395 GB, free: 11.69 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.804e-05/0.4656, allocations: 8 kB / 0.5395 GB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.448e-05/0.4657, allocations: 11.98 kB / 0.5395 GB, free: 11.67 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.4657, allocations: 4 kB / 0.5395 GB, free: 11.66 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.588e-05/0.4657, allocations: 91.2 kB / 0.5396 GB, free: 11.57 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4657, allocations: 0 / 0.5396 GB, free: 11.57 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002688/0.466, allocations: 12 kB / 0.5396 GB, free: 11.56 MB / 394.7 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.pulsStart,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.0001308/0.4661, allocations: 92.09 kB / 0.5397 GB, free: 11.46 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001351/0.4663, allocations: 46.89 kB / 0.5397 GB, free: 11.42 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/0.4663, allocations: 4.062 kB / 0.5397 GB, free: 11.41 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.882e-05/0.4664, allocations: 25.97 kB / 0.5398 GB, free: 11.39 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002492/0.4666, allocations: 7.984 kB / 0.5398 GB, free: 11.38 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003915/0.467, allocations: 111.7 kB / 0.5399 GB, free: 11.25 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002847/0.4673, allocations: 0.6924 MB / 0.5405 GB, free: 10.53 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.047e-05/0.4674, allocations: 5.438 kB / 0.5406 GB, free: 10.53 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.226e-05/0.4674, allocations: 11.44 kB / 0.5406 GB, free: 10.52 MB / 394.7 MB Notification: Performance of SimCode: time 3.01e-07/0.4674, allocations: 0 / 0.5406 GB, free: 10.52 MB / 394.7 MB Notification: Performance of Templates: time 0.003021/0.4705, allocations: 0.6334 MB / 0.5412 GB, free: 9.914 MB / 394.7 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)