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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2868/0.2868, allocations: 54.39 MB / 61.67 MB, free: 11.18 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.001426/0.001426, allocations: 189.5 kB / 75.37 MB, free: 1.465 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.628/1.628, allocations: 194.2 MB / 283.2 MB, free: 3.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001946/0.001946, allocations: 114.1 kB / 341.3 MB, free: 9.449 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.554e-06/7.584e-06, allocations: 0 / 404.9 MB, free: 27.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1249, allocations: 57.65 MB / 462.6 MB, free: 2 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3901/0.5151, allocations: 85.42 MB / 0.5352 GB, free: 11.91 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001934/0.5153, allocations: 72.44 kB / 0.5352 GB, free: 11.88 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.002693/0.518, allocations: 0.7547 MB / 0.536 GB, free: 11.25 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.5181, allocations: 0 / 0.536 GB, free: 11.25 MB / 378.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.0004121/0.5185, allocations: 350 kB / 0.5363 GB, free: 10.87 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.5185, allocations: 11.97 kB / 0.5363 GB, free: 10.86 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.3e-05/0.5186, allocations: 11.91 kB / 0.5363 GB, free: 10.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001639/0.5187, allocations: 174.5 kB / 0.5365 GB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.483e-05/0.5188, allocations: 0 / 0.5365 GB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.717e-05/0.5188, allocations: 4 kB / 0.5365 GB, free: 10.63 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.416e-05/0.5189, allocations: 15.69 kB / 0.5365 GB, free: 10.62 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.669e-05/0.519, allocations: 57.66 kB / 0.5366 GB, free: 10.57 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.519, allocations: 0 / 0.5366 GB, free: 10.57 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.519, allocations: 0 / 0.5366 GB, free: 10.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.519, allocations: 4.859 kB / 0.5366 GB, free: 10.56 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004162/0.5195, allocations: 279.7 kB / 0.5368 GB, free: 10.27 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.039e-05/0.5196, allocations: 49.44 kB / 0.5369 GB, free: 10.22 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.647e-05/0.5196, allocations: 29.22 kB / 0.5369 GB, free: 10.19 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.127e-05/0.5196, allocations: 0 / 0.5369 GB, free: 10.19 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.13e-05/0.5197, allocations: 62.44 kB / 0.537 GB, free: 10.12 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/0.5197, allocations: 0 / 0.537 GB, free: 10.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001763/0.5199, allocations: 65.09 kB / 0.537 GB, free: 10.06 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.52, allocations: 62.97 kB / 0.5371 GB, free: 9.992 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.032e-05/0.52, allocations: 100.5 kB / 0.5372 GB, free: 9.891 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.5201, allocations: 31.78 kB / 0.5372 GB, free: 9.855 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.648e-05/0.5201, allocations: 87.83 kB / 0.5373 GB, free: 9.77 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.586e-05/0.5201, allocations: 19.7 kB / 0.5373 GB, free: 9.75 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-06/0.5202, allocations: 3.562 kB / 0.5373 GB, free: 9.75 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.5203, allocations: 310.8 kB / 0.5376 GB, free: 9.438 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.01e-05/0.5203, allocations: 19.06 kB / 0.5376 GB, free: 9.426 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.635e-05/0.5204, allocations: 38.36 kB / 0.5377 GB, free: 9.383 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.539e-05/0.5204, allocations: 20.94 kB / 0.5377 GB, free: 9.367 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.5204, allocations: 0 / 0.5377 GB, free: 9.367 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000118/0.5205, allocations: 84.14 kB / 0.5378 GB, free: 9.289 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.5205, allocations: 6.031 kB / 0.5378 GB, free: 9.285 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.5206, allocations: 0 / 0.5378 GB, free: 9.285 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.5206, allocations: 4 kB / 0.5378 GB, free: 9.281 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.49e-05/0.5207, allocations: 11.94 kB / 0.5378 GB, free: 9.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.5207, allocations: 3.938 kB / 0.5378 GB, free: 9.266 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.14e-05/0.5207, allocations: 16.3 kB / 0.5378 GB, free: 9.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.5208, allocations: 11.75 kB / 0.5378 GB, free: 9.242 MB / 378.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 7.171e-05/0.5208, allocations: 112.9 kB / 0.5379 GB, free: 9.125 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.043e-05/0.5209, allocations: 0 / 0.5379 GB, free: 9.125 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.655e-05/0.5209, allocations: 7.438 kB / 0.5379 GB, free: 9.121 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.5209, allocations: 11.89 kB / 0.538 GB, free: 9.109 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.5209, allocations: 0 / 0.538 GB, free: 9.109 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.5209, allocations: 0 / 0.538 GB, free: 9.109 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003337/0.5213, allocations: 337 kB / 0.5383 GB, free: 8.754 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.5213, allocations: 0 / 0.5383 GB, free: 8.754 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.712e-05/0.5213, allocations: 7.984 kB / 0.5383 GB, free: 8.746 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.5213, allocations: 0 / 0.5383 GB, free: 8.746 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.5213, allocations: 0 / 0.5383 GB, free: 8.746 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.5213, allocations: 4 kB / 0.5383 GB, free: 8.742 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.5213, allocations: 0 / 0.5383 GB, free: 8.742 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001238/0.5215, allocations: 164.6 kB / 0.5384 GB, free: 8.574 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.884e-05/0.5215, allocations: 85.02 kB / 0.5385 GB, free: 8.473 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.5215, allocations: 4.734 kB / 0.5385 GB, free: 8.469 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.878e-05/0.5216, allocations: 4 kB / 0.5385 GB, free: 8.465 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.286e-05/0.5217, allocations: 13.42 kB / 0.5386 GB, free: 8.453 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.5217, allocations: 4.875 kB / 0.5386 GB, free: 8.449 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.25e-05/0.5217, allocations: 83.53 kB / 0.5386 GB, free: 8.371 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002197/0.522, allocations: 11.98 kB / 0.5386 GB, free: 8.359 MB / 378.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.0001029/0.5221, allocations: 96.62 kB / 0.5387 GB, free: 8.254 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001191/0.5222, allocations: 46 kB / 0.5388 GB, free: 8.219 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.5222, allocations: 0 / 0.5388 GB, free: 8.219 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.08e-05/0.5223, allocations: 29.25 kB / 0.5388 GB, free: 8.195 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002071/0.5225, allocations: 13.2 kB / 0.5388 GB, free: 8.184 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003604/0.5229, allocations: 112.3 kB / 0.5389 GB, free: 8.059 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002761/0.5231, allocations: 0.7001 MB / 0.5396 GB, free: 7.332 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5231, allocations: 0 / 0.5396 GB, free: 7.332 MB / 378.7 MB Notification: Performance of Templates: time 0.002603/0.5258, allocations: 0.715 MB / 0.5403 GB, free: 6.625 MB / 378.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)