Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage") [: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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.382/1.382, allocations: 289.8 MB / 297.1 MB, free: 6.684 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001/0.001, allocations: 169.4 kB / 366.3 MB, free: 2.008 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.076/1.076, allocations: 205.1 MB / 0.6256 GB, free: 5.848 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007854/0.0007855, allocations: 85.36 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.561e-06/5.591e-06, allocations: 0 / 0.859 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4471/0.4471, allocations: 116.3 MB / 0.9726 GB, free: 68.64 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1486/0.5958, allocations: 144 MB / 1.113 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002413/0.5961, allocations: 88.81 kB / 1.113 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.02202/0.6181, allocations: 9.106 MB / 1.122 GB, free: 11.24 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.393e-05/0.6182, allocations: 16 kB / 1.122 GB, free: 11.23 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.0009537/0.6191, allocations: 0.7303 MB / 1.123 GB, free: 10.44 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.6192, allocations: 8.031 kB / 1.123 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001066/0.6193, allocations: 55.34 kB / 1.123 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004634/0.6197, allocations: 378.3 kB / 1.123 GB, free: 9.969 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.237e-05/0.6198, allocations: 20 kB / 1.123 GB, free: 9.949 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.952e-05/0.6198, allocations: 31.94 kB / 1.123 GB, free: 9.918 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006184/0.6205, allocations: 381.9 kB / 1.124 GB, free: 9.543 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000659/0.6211, allocations: 432.2 kB / 1.124 GB, free: 9.109 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.6212, allocations: 4 kB / 1.124 GB, free: 9.105 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.688e-05/0.6212, allocations: 5.125 kB / 1.124 GB, free: 9.102 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.6212, allocations: 12 kB / 1.124 GB, free: 9.09 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001783/0.623, allocations: 1.332 MB / 1.125 GB, free: 7.715 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006252/0.6236, allocations: 399.7 kB / 1.126 GB, free: 7.312 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002486/0.6239, allocations: 178.2 kB / 1.126 GB, free: 7.137 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.235e-05/0.6239, allocations: 9.219 kB / 1.126 GB, free: 7.129 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003217/0.6243, allocations: 237.2 kB / 1.126 GB, free: 6.883 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=58): time 1.873e-06/0.6243, allocations: 4 kB / 1.126 GB, free: 6.879 MB / 0.7292 GB Notification: Performance of matching and sorting (n=58): time 0.0005616/0.6249, allocations: 348 kB / 1.127 GB, free: 6.535 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/0.6249, allocations: 72.53 kB / 1.127 GB, free: 6.453 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002683/0.6252, allocations: 295.1 kB / 1.127 GB, free: 6.156 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.074e-05/0.6252, allocations: 45.69 kB / 1.127 GB, free: 6.105 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 9.844e-05/0.6253, allocations: 181.2 kB / 1.127 GB, free: 5.926 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 9.94e-05/0.6254, allocations: 134.2 kB / 1.127 GB, free: 5.793 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.307e-05/0.6255, allocations: 0 / 1.127 GB, free: 5.793 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.6256, allocations: 354.8 kB / 1.128 GB, free: 5.438 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002455/0.6258, allocations: 150.1 kB / 1.128 GB, free: 5.293 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002896/0.6261, allocations: 228.7 kB / 1.128 GB, free: 5.047 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002166/0.6264, allocations: 147.1 kB / 1.128 GB, free: 4.902 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.6264, allocations: 0 / 1.128 GB, free: 4.902 MB / 0.7292 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.000634/0.627, allocations: 447.3 kB / 1.129 GB, free: 4.461 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.627, allocations: 8 kB / 1.129 GB, free: 4.453 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.627, allocations: 0 / 1.129 GB, free: 4.453 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.6271, allocations: 4.219 kB / 1.129 GB, free: 4.449 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003133/0.6274, allocations: 88.39 kB / 1.129 GB, free: 4.363 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.6274, allocations: 4 kB / 1.129 GB, free: 4.359 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003559/0.6278, allocations: 83.62 kB / 1.129 GB, free: 4.277 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.517e-05/0.6278, allocations: 21.95 kB / 1.129 GB, free: 4.258 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 62 ($PRE.varSpePumSta.con1.enableFire,$PRE.varSpePumSta.con2.enableFire,$PRE.varSpePumSta.con3.enableFire,$PRE.varSpePumSta.con4.enableFire,varSpePumSta.stateGraphRoot.resume,varSpePumSta.stateGraphRoot.suspend,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varSpePumSta.con1.enableFire,varSpePumSta.con1.fire,$PRE.varSpePumSta.con1.t_start,varSpePumSta.con1.t_start,varSpePumSta.con1.condition,$PRE.varSpePumSta.oneOn.localActive,varSpePumSta.oneOn.localActive,varSpePumSta.oneOn.inPort[2].occupied,varSpePumSta.oneOn.outPort[2].available,$PRE.varSpePumSta.oneOn.newActive,varSpePumSta.oneOn.newActive,$PRE.varSpePumSta.oneOn.oldActive,varSpePumSta.oneOn.oldActive,varSpePumSta.oneOn.active,$PRE.varSpePumSta.off.localActive,varSpePumSta.off.localActive,$PRE.varSpePumSta.off.newActive,varSpePumSta.off.newActive,$PRE.varSpePumSta.off.oldActive,varSpePumSta.off.oldActive,varSpePumSta.off.active,$PRE.varSpePumSta.twoOn.localActive,varSpePumSta.twoOn.localActive,$PRE.varSpePumSta.twoOn.newActive,varSpePumSta.twoOn.newActive,$PRE.varSpePumSta.twoOn.oldActive,varSpePumSta.twoOn.oldActive,varSpePumSta.twoOn.active,varSpePumSta.con2.enableFire,varSpePumSta.con2.fire,$PRE.varSpePumSta.con2.t_start,varSpePumSta.con2.t_start,varSpePumSta.con2.condition,varSpePumSta.con3.enableFire,varSpePumSta.con3.fire,$PRE.varSpePumSta.con3.t_start,varSpePumSta.con3.t_start,varSpePumSta.con3.condition,varSpePumSta.con4.enableFire,varSpePumSta.con4.fire,$PRE.varSpePumSta.con4.t_start,varSpePumSta.con4.t_start,varSpePumSta.con4.condition,varSpePumSta.stateGraphRoot.activeSteps,varSpePumSta.addInt.u1,varSpePumSta.addInt.u2,varSpePumSta.addInt.y,$PRE.speSig.T_start,speSig.T_start,$PRE.speSig.count,speSig.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 1 * 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.0001265/0.6279, allocations: 152.8 kB / 1.129 GB, free: 4.102 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.44e-05/0.628, allocations: 43.44 kB / 1.129 GB, free: 4.059 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007148/0.6287, allocations: 428.8 kB / 1.129 GB, free: 3.633 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.6287, allocations: 4 kB / 1.129 GB, free: 3.629 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.6288, allocations: 0 / 1.129 GB, free: 3.629 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.6288, allocations: 3.984 kB / 1.129 GB, free: 3.625 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001424/0.6302, allocations: 1.049 MB / 1.13 GB, free: 2.531 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.6302, allocations: 3.984 kB / 1.13 GB, free: 2.527 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002474/0.6305, allocations: 63.91 kB / 1.13 GB, free: 2.465 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.112e-06/0.6305, allocations: 4.844 kB / 1.13 GB, free: 2.461 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.952e-05/0.6305, allocations: 11.92 kB / 1.13 GB, free: 2.449 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.6305, allocations: 4 kB / 1.13 GB, free: 2.445 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.6305, allocations: 0 / 1.13 GB, free: 2.445 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006145/0.6311, allocations: 492.6 kB / 1.131 GB, free: 1.945 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.317e-05/0.6312, allocations: 120.6 kB / 1.131 GB, free: 1.809 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.344e-05/0.6313, allocations: 8 kB / 1.131 GB, free: 1.801 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003471/0.6316, allocations: 59.94 kB / 1.131 GB, free: 1.742 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000155/0.6318, allocations: 80.53 kB / 1.131 GB, free: 1.664 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.438e-05/0.6319, allocations: 24.77 kB / 1.131 GB, free: 1.641 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001592/0.632, allocations: 203.1 kB / 1.131 GB, free: 1.445 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003553/0.6324, allocations: 95.91 kB / 1.132 GB, free: 1.352 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 47 (varSpePumSta.con3.enableFire,varSpePumSta.con4.enableFire,varSpePumSta.con1.enableFire,varSpePumSta.con2.enableFire,varSpePumSta.twoOn.localActive,varSpePumSta.off.localActive,varSpePumSta.oneOn.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$cse6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varSpePumSta.con1.fire,varSpePumSta.con1.t_start,varSpePumSta.con1.condition,varSpePumSta.oneOn.inPort[2].occupied,varSpePumSta.oneOn.outPort[2].available,varSpePumSta.oneOn.newActive,varSpePumSta.oneOn.oldActive,varSpePumSta.oneOn.active,varSpePumSta.off.newActive,varSpePumSta.off.oldActive,varSpePumSta.off.active,varSpePumSta.twoOn.newActive,varSpePumSta.twoOn.oldActive,varSpePumSta.twoOn.active,varSpePumSta.con2.fire,varSpePumSta.con2.t_start,varSpePumSta.con2.condition,varSpePumSta.con3.fire,varSpePumSta.con3.t_start,varSpePumSta.con3.condition,varSpePumSta.con4.fire,varSpePumSta.con4.t_start,varSpePumSta.con4.condition,varSpePumSta.stateGraphRoot.activeSteps,varSpePumSta.addInt.u1,varSpePumSta.addInt.u2,varSpePumSta.addInt.y,speSig.T_start,speSig.count) * Number of discrete states: 4 (speSig.count,varSpePumSta.oneOn.newActive,varSpePumSta.off.newActive,varSpePumSta.twoOn.newActive) * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0005548/0.6329, allocations: 304 kB / 1.132 GB, free: 1.125 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006091/0.6336, allocations: 452.9 kB / 1.132 GB, free: 0.6797 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.6336, allocations: 4.188 kB / 1.132 GB, free: 0.6758 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002907/0.6339, allocations: 234.4 kB / 1.132 GB, free: 456 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003196/0.6342, allocations: 41.73 kB / 1.133 GB, free: 412 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.6353, allocations: 0.6009 MB / 1.133 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004838/0.6358, allocations: 0.9057 MB / 1.134 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of SimCode: time 2.3e-07/0.6358, allocations: 0 / 1.134 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of Templates: time 0.009611/0.6454, allocations: 5.988 MB / 1.14 GB, free: 8.898 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.makefile (rm -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe ; mkfifo Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe ; head -c 1048576 < Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe >> ../files/Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.sim & ./Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe 2>&1)