Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.conf.json 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/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer") translateModel(IBPSA.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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/Complex 4.0.0+maint.om/package.mo): time 0.0009678/0.0009679, allocations: 186.9 kB / 7.802 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4357/0.4357, allocations: 90.85 MB / 99.08 MB, free: 14.9 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.208/1.208, allocations: 221.4 MB / 342.8 MB, free: 5.098 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008989/0.0008988, allocations: 93.06 kB / 415.5 MB, free: 9.82 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 7.464e-06/7.594e-06, allocations: 0 / 493.9 MB, free: 11.54 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3291/0.3291, allocations: 72.3 MB / 0.5529 GB, free: 44.78 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1177/0.4468, allocations: 101.4 MB / 0.6519 GB, free: 7.285 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002049/0.4471, allocations: 75.94 kB / 0.6519 GB, free: 7.211 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.002987/0.4501, allocations: 0.8085 MB / 0.6527 GB, free: 6.422 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.203e-06/0.4501, allocations: 0 / 0.6527 GB, free: 6.422 MB / 474.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.0003825/0.4505, allocations: 359.9 kB / 0.6531 GB, free: 6.027 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.4506, allocations: 8.031 kB / 0.6531 GB, free: 6.02 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.709e-05/0.4506, allocations: 12.53 kB / 0.6531 GB, free: 6.008 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.4508, allocations: 178.9 kB / 0.6533 GB, free: 5.793 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.4508, allocations: 0 / 0.6533 GB, free: 5.793 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.559e-05/0.4508, allocations: 4 kB / 0.6533 GB, free: 5.789 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.444e-05/0.4509, allocations: 19.98 kB / 0.6533 GB, free: 5.77 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.451, allocations: 61.59 kB / 0.6533 GB, free: 5.703 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.627e-06/0.451, allocations: 0 / 0.6533 GB, free: 5.703 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.451, allocations: 0 / 0.6533 GB, free: 5.703 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.4511, allocations: 0.875 kB / 0.6533 GB, free: 5.703 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000473/0.4515, allocations: 273.3 kB / 0.6536 GB, free: 5.398 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.214e-05/0.4516, allocations: 47.23 kB / 0.6536 GB, free: 5.344 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.893e-05/0.4517, allocations: 21.08 kB / 0.6537 GB, free: 5.32 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.131e-05/0.4517, allocations: 0 / 0.6537 GB, free: 5.32 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001023/0.4518, allocations: 68.08 kB / 0.6537 GB, free: 5.242 MB / 474.7 MB Notification: Performance of pre-optimization done (n=9): time 1.382e-06/0.4518, allocations: 4 kB / 0.6537 GB, free: 5.238 MB / 474.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001759/0.452, allocations: 70.25 kB / 0.6538 GB, free: 5.164 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.4521, allocations: 51.41 kB / 0.6539 GB, free: 5.102 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.321e-05/0.4521, allocations: 100.8 kB / 0.6539 GB, free: 4.996 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.4522, allocations: 37.69 kB / 0.654 GB, free: 4.953 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.604e-05/0.4522, allocations: 80.14 kB / 0.6541 GB, free: 4.871 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.552e-05/0.4523, allocations: 19.72 kB / 0.6541 GB, free: 4.852 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/0.4523, allocations: 1.125 kB / 0.6541 GB, free: 4.852 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.4524, allocations: 318.8 kB / 0.6544 GB, free: 4.531 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.394e-05/0.4524, allocations: 20 kB / 0.6544 GB, free: 4.512 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.527e-05/0.4525, allocations: 35.44 kB / 0.6544 GB, free: 4.465 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.07e-05/0.4525, allocations: 23.98 kB / 0.6545 GB, free: 4.441 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.4525, allocations: 0 / 0.6545 GB, free: 4.441 MB / 474.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000129/0.4527, allocations: 77.53 kB / 0.6545 GB, free: 4.359 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.4527, allocations: 7.984 kB / 0.6545 GB, free: 4.352 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.4527, allocations: 8.031 kB / 0.6545 GB, free: 4.344 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.4527, allocations: 0 / 0.6545 GB, free: 4.344 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.165e-05/0.4528, allocations: 19.88 kB / 0.6546 GB, free: 4.324 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.4528, allocations: 4 kB / 0.6546 GB, free: 4.32 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.869e-05/0.4529, allocations: 13.33 kB / 0.6546 GB, free: 4.309 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.4529, allocations: 6.031 kB / 0.6546 GB, free: 4.305 MB / 474.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.pulseStart,booleanPulse.pulseStart,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 6.847e-05/0.453, allocations: 114.6 kB / 0.6547 GB, free: 4.188 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.317e-05/0.453, allocations: 3.984 kB / 0.6547 GB, free: 4.184 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.246e-05/0.453, allocations: 12.06 kB / 0.6547 GB, free: 4.168 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.453, allocations: 3.906 kB / 0.6547 GB, free: 4.164 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.453, allocations: 0 / 0.6547 GB, free: 4.164 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.4531, allocations: 0 / 0.6547 GB, free: 4.164 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003693/0.4534, allocations: 327 kB / 0.655 GB, free: 3.801 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.4534, allocations: 0.75 kB / 0.655 GB, free: 3.801 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.143e-05/0.4535, allocations: 7.938 kB / 0.655 GB, free: 3.793 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.4535, allocations: 0 / 0.655 GB, free: 3.793 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.659e-06/0.4535, allocations: 4 kB / 0.655 GB, free: 3.789 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.4535, allocations: 4 kB / 0.655 GB, free: 3.785 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.4535, allocations: 0 / 0.655 GB, free: 3.785 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001411/0.4537, allocations: 174.7 kB / 0.6552 GB, free: 3.602 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.687e-05/0.4537, allocations: 81.02 kB / 0.6553 GB, free: 3.504 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.4537, allocations: 0 / 0.6553 GB, free: 3.504 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.333e-05/0.4538, allocations: 11.98 kB / 0.6553 GB, free: 3.492 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.297e-05/0.4539, allocations: 11.98 kB / 0.6553 GB, free: 3.48 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.4539, allocations: 0 / 0.6553 GB, free: 3.48 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.58e-05/0.4539, allocations: 79.28 kB / 0.6554 GB, free: 3.402 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002241/0.4542, allocations: 16 kB / 0.6554 GB, free: 3.387 MB / 474.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.pulseStart,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.0001419/0.4543, allocations: 95.25 kB / 0.6555 GB, free: 3.285 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001152/0.4544, allocations: 47.92 kB / 0.6555 GB, free: 3.238 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.4544, allocations: 0 / 0.6555 GB, free: 3.238 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 4.951e-05/0.4545, allocations: 27.94 kB / 0.6556 GB, free: 3.211 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000192/0.4547, allocations: 9.938 kB / 0.6556 GB, free: 3.203 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003505/0.455, allocations: 111.7 kB / 0.6557 GB, free: 3.07 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003011/0.4554, allocations: 0.6997 MB / 0.6564 GB, free: 2.344 MB / 474.7 MB Notification: Performance of SimCode: time 1.643e-06/0.4554, allocations: 0 / 0.6564 GB, free: 2.344 MB / 474.7 MB Notification: Performance of Templates: time 0.002461/0.4578, allocations: 0.714 MB / 0.6571 GB, free: 1.652 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.makefile (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe 2>&1)