Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.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.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart") [: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.001259/0.001259, allocations: 186 kB / 7.803 MB, free: 2.441 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.437/0.437, allocations: 90.85 MB / 99.07 MB, free: 14.95 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.177/1.177, allocations: 221.4 MB / 342.8 MB, free: 5.176 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.0008714/0.0008713, allocations: 87.84 kB / 415.5 MB, free: 6.422 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 6.181e-06/6.292e-06, allocations: 0 / 493.9 MB, free: 8.062 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3311, allocations: 72.3 MB / 0.5529 GB, free: 73.45 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1104/0.4416, allocations: 101.5 MB / 0.652 GB, free: 8.633 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002248/0.4419, allocations: 75.89 kB / 0.652 GB, free: 8.559 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.003771/0.4457, allocations: 1.088 MB / 0.6531 GB, free: 7.5 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.4457, allocations: 0.5625 kB / 0.6531 GB, free: 7.5 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.0003801/0.4461, allocations: 353.6 kB / 0.6534 GB, free: 7.113 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.4462, allocations: 8.031 kB / 0.6534 GB, free: 7.105 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.222e-05/0.4462, allocations: 15.83 kB / 0.6535 GB, free: 7.09 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.4464, allocations: 167.7 kB / 0.6536 GB, free: 6.887 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.4464, allocations: 2.625 kB / 0.6536 GB, free: 6.887 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.4464, allocations: 7.984 kB / 0.6536 GB, free: 6.879 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.203e-05/0.4465, allocations: 31.83 kB / 0.6537 GB, free: 6.848 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.666e-05/0.4466, allocations: 49.44 kB / 0.6537 GB, free: 6.797 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.4466, allocations: 1.844 kB / 0.6537 GB, free: 6.797 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.4466, allocations: 4 kB / 0.6537 GB, free: 6.793 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.4466, allocations: 0 / 0.6537 GB, free: 6.793 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004356/0.4471, allocations: 263.7 kB / 0.654 GB, free: 6.496 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.442e-05/0.4472, allocations: 55.88 kB / 0.654 GB, free: 6.434 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.145e-05/0.4472, allocations: 21.73 kB / 0.654 GB, free: 6.41 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.4472, allocations: 4.75 kB / 0.654 GB, free: 6.406 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.172e-05/0.4473, allocations: 68.17 kB / 0.6541 GB, free: 6.328 MB / 474.7 MB Notification: Performance of pre-optimization done (n=9): time 1.333e-06/0.4474, allocations: 0 / 0.6541 GB, free: 6.328 MB / 474.7 MB Notification: Performance of matching and sorting (n=9): time 0.000169/0.4475, allocations: 66.25 kB / 0.6542 GB, free: 6.258 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/0.4476, allocations: 55.97 kB / 0.6542 GB, free: 6.191 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.764e-05/0.4477, allocations: 97.41 kB / 0.6543 GB, free: 6.09 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.4477, allocations: 26.3 kB / 0.6543 GB, free: 6.059 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.041e-05/0.4477, allocations: 93.53 kB / 0.6544 GB, free: 5.965 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.856e-05/0.4478, allocations: 23.66 kB / 0.6545 GB, free: 5.941 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-06/0.4478, allocations: 0 / 0.6545 GB, free: 5.941 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.4479, allocations: 319.6 kB / 0.6548 GB, free: 5.621 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.858e-05/0.4479, allocations: 12 kB / 0.6548 GB, free: 5.609 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.25e-05/0.448, allocations: 44.69 kB / 0.6548 GB, free: 5.555 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.921e-05/0.448, allocations: 20.61 kB / 0.6548 GB, free: 5.535 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.448, allocations: 3.625 kB / 0.6548 GB, free: 5.535 MB / 474.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000121/0.4482, allocations: 83.88 kB / 0.6549 GB, free: 5.449 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.4482, allocations: 4.5 kB / 0.6549 GB, free: 5.445 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.4482, allocations: 0 / 0.6549 GB, free: 5.445 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.4482, allocations: 4.5 kB / 0.6549 GB, free: 5.441 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.234e-05/0.4483, allocations: 16.45 kB / 0.6549 GB, free: 5.426 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.4483, allocations: 1.125 kB / 0.6549 GB, free: 5.426 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.818e-05/0.4484, allocations: 12.47 kB / 0.655 GB, free: 5.414 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/0.4484, allocations: 4.594 kB / 0.655 GB, free: 5.41 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 7.535e-05/0.4485, allocations: 119.1 kB / 0.6551 GB, free: 5.289 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.03e-05/0.4485, allocations: 288 / 0.6551 GB, free: 5.289 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.245e-05/0.4485, allocations: 16 kB / 0.6551 GB, free: 5.273 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.4485, allocations: 7.984 kB / 0.6551 GB, free: 5.266 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.4485, allocations: 0 / 0.6551 GB, free: 5.266 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.4486, allocations: 0 / 0.6551 GB, free: 5.266 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000351/0.4489, allocations: 327 kB / 0.6554 GB, free: 4.902 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.4489, allocations: 1.625 kB / 0.6554 GB, free: 4.902 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.623e-05/0.449, allocations: 4 kB / 0.6554 GB, free: 4.898 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.449, allocations: 0 / 0.6554 GB, free: 4.898 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.449, allocations: 0 / 0.6554 GB, free: 4.898 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-06/0.449, allocations: 0 / 0.6554 GB, free: 4.898 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.449, allocations: 0 / 0.6554 GB, free: 4.898 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001344/0.4491, allocations: 173.2 kB / 0.6556 GB, free: 4.715 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.384e-05/0.4492, allocations: 89.02 kB / 0.6557 GB, free: 4.609 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.4492, allocations: 0 / 0.6557 GB, free: 4.609 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.101e-05/0.4493, allocations: 7.984 kB / 0.6557 GB, free: 4.602 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.565e-05/0.4494, allocations: 7.984 kB / 0.6557 GB, free: 4.594 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.4494, allocations: 5.188 kB / 0.6557 GB, free: 4.59 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.745e-05/0.4494, allocations: 87.22 kB / 0.6558 GB, free: 4.504 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.000219/0.4496, allocations: 8 kB / 0.6558 GB, free: 4.496 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.0001056/0.4497, allocations: 103.2 kB / 0.6559 GB, free: 4.387 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001105/0.4499, allocations: 51.92 kB / 0.6559 GB, free: 4.336 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.4499, allocations: 0 / 0.6559 GB, free: 4.336 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 4.587e-05/0.4499, allocations: 20 kB / 0.6559 GB, free: 4.316 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000206/0.4501, allocations: 9.875 kB / 0.6559 GB, free: 4.309 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002537/0.4504, allocations: 91.58 kB / 0.656 GB, free: 4.195 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002692/0.4507, allocations: 0.7037 MB / 0.6567 GB, free: 3.465 MB / 474.7 MB Notification: Performance of SimCode: time 1.854e-06/0.4507, allocations: 0 / 0.6567 GB, free: 3.465 MB / 474.7 MB Notification: Performance of Templates: time 0.002679/0.4534, allocations: 0.7141 MB / 0.6574 GB, free: 2.781 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)