Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.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.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests") translateModel(IBPSA.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests") [: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.001129/0.001129, allocations: 182.8 kB / 7.799 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.4404/0.4404, allocations: 90.86 MB / 99.08 MB, free: 14.94 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.31/1.31, allocations: 221.4 MB / 342.8 MB, free: 5.516 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.0009463/0.0009462, allocations: 92.23 kB / 415.5 MB, free: 9.91 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 5.179e-06/5.3e-06, allocations: 0 / 493.9 MB, free: 11.63 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3349, allocations: 72.3 MB / 0.5529 GB, free: 44.91 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1201/0.455, allocations: 101.7 MB / 0.6522 GB, free: 7.105 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002042/0.4553, allocations: 75.95 kB / 0.6522 GB, free: 7.031 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.004774/0.4601, allocations: 1.244 MB / 0.6534 GB, free: 5.797 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.4601, allocations: 8 kB / 0.6535 GB, free: 5.789 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005992/0.4607, allocations: 433.7 kB / 0.6539 GB, free: 5.309 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.4608, allocations: 8.031 kB / 0.6539 GB, free: 5.301 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.061e-05/0.4608, allocations: 8.656 kB / 0.6539 GB, free: 5.293 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000274/0.4611, allocations: 199.3 kB / 0.6541 GB, free: 5.059 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.4611, allocations: 1.125 kB / 0.6541 GB, free: 5.059 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.996e-05/0.4612, allocations: 8 kB / 0.6541 GB, free: 5.051 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001662/0.4614, allocations: 52.11 kB / 0.6541 GB, free: 5 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/0.4615, allocations: 93.56 kB / 0.6542 GB, free: 4.902 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.4615, allocations: 0 / 0.6542 GB, free: 4.902 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.977e-05/0.4616, allocations: 7.984 kB / 0.6542 GB, free: 4.895 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.4616, allocations: 0 / 0.6542 GB, free: 4.895 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005831/0.4622, allocations: 322 kB / 0.6545 GB, free: 4.543 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.4623, allocations: 74.55 kB / 0.6546 GB, free: 4.461 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.183e-05/0.4624, allocations: 48.97 kB / 0.6547 GB, free: 4.41 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.4624, allocations: 11.94 kB / 0.6547 GB, free: 4.398 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001463/0.4626, allocations: 92.25 kB / 0.6548 GB, free: 4.297 MB / 474.7 MB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.4626, allocations: 0.9375 kB / 0.6548 GB, free: 4.297 MB / 474.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002467/0.4629, allocations: 105.6 kB / 0.6549 GB, free: 4.188 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.446e-05/0.4629, allocations: 85.11 kB / 0.6549 GB, free: 4.086 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.197e-05/0.463, allocations: 116.9 kB / 0.6551 GB, free: 3.965 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.48e-05/0.4631, allocations: 25.7 kB / 0.6551 GB, free: 3.934 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.644e-05/0.4631, allocations: 92.08 kB / 0.6552 GB, free: 3.84 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.558e-05/0.4632, allocations: 19.8 kB / 0.6552 GB, free: 3.82 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.026e-05/0.4632, allocations: 0 / 0.6552 GB, free: 3.82 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.4633, allocations: 322.8 kB / 0.6555 GB, free: 3.496 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.314e-05/0.4634, allocations: 43.98 kB / 0.6555 GB, free: 3.453 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.217e-05/0.4635, allocations: 48.58 kB / 0.6556 GB, free: 3.406 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.573e-05/0.4636, allocations: 24.55 kB / 0.6556 GB, free: 3.383 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.4636, allocations: 0 / 0.6556 GB, free: 3.383 MB / 474.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002087/0.4638, allocations: 118.3 kB / 0.6557 GB, free: 3.262 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.4638, allocations: 15.89 kB / 0.6557 GB, free: 3.246 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.4639, allocations: 0 / 0.6557 GB, free: 3.246 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.4639, allocations: 0 / 0.6557 GB, free: 3.246 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.464, allocations: 24.95 kB / 0.6558 GB, free: 3.223 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.464, allocations: 0.5625 kB / 0.6558 GB, free: 3.223 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001783/0.4642, allocations: 35.98 kB / 0.6558 GB, free: 3.188 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.042e-05/0.4643, allocations: 7.984 kB / 0.6558 GB, free: 3.18 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,numReq.y,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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.0001179/0.4644, allocations: 141.3 kB / 0.6559 GB, free: 3.031 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.652e-05/0.4644, allocations: 11.91 kB / 0.6559 GB, free: 3.02 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.25e-05/0.4645, allocations: 4.375 kB / 0.6559 GB, free: 3.016 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.4645, allocations: 0 / 0.6559 GB, free: 3.016 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.4645, allocations: 12.55 kB / 0.656 GB, free: 3.004 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.4645, allocations: 0 / 0.656 GB, free: 3.004 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001419/0.4646, allocations: 162.2 kB / 0.6561 GB, free: 2.809 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.4647, allocations: 1.781 kB / 0.6561 GB, free: 2.809 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.962e-05/0.4648, allocations: 15.98 kB / 0.6561 GB, free: 2.793 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.4648, allocations: 3.906 kB / 0.6561 GB, free: 2.789 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/0.4648, allocations: 7.984 kB / 0.6561 GB, free: 2.781 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.4648, allocations: 4 kB / 0.6561 GB, free: 2.777 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.4648, allocations: 0.5625 kB / 0.6561 GB, free: 2.777 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00022/0.465, allocations: 137.6 kB / 0.6563 GB, free: 2.625 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.069e-05/0.4651, allocations: 81.02 kB / 0.6564 GB, free: 2.527 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.742e-05/0.4651, allocations: 7.984 kB / 0.6564 GB, free: 2.52 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/0.4653, allocations: 31.98 kB / 0.6564 GB, free: 2.488 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/0.4654, allocations: 32.03 kB / 0.6564 GB, free: 2.457 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.4655, allocations: 11.39 kB / 0.6564 GB, free: 2.449 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.021e-05/0.4655, allocations: 102.6 kB / 0.6565 GB, free: 2.352 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002162/0.4658, allocations: 31.78 kB / 0.6566 GB, free: 2.32 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: 4 ($whenCondition1,numReq.y,pulse.T_start,pulse.count) * Number of discrete states: 2 (pulse.count,numReq.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.0001367/0.4659, allocations: 105.4 kB / 0.6567 GB, free: 2.211 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002665/0.4662, allocations: 171.3 kB / 0.6568 GB, free: 2.031 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4662, allocations: 0 / 0.6568 GB, free: 2.031 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001398/0.4663, allocations: 89.69 kB / 0.6569 GB, free: 1.938 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001675/0.4665, allocations: 11.98 kB / 0.6569 GB, free: 1.926 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004192/0.4669, allocations: 143.5 kB / 0.6571 GB, free: 1.762 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003396/0.4673, allocations: 0.7075 MB / 0.6577 GB, free: 1.027 MB / 474.7 MB Notification: Performance of SimCode: time 2.8e-07/0.4673, allocations: 0 / 0.6577 GB, free: 1.027 MB / 474.7 MB Notification: Performance of Templates: time 0.004053/0.4714, allocations: 1.583 MB / 0.6593 GB, free: 15.48 MB / 490.7 MB make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.makefile (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)