Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.NonIntegrated.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.Equipment.Validation.NonIntegrated,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.NonIntegrated") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.NonIntegrated,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.NonIntegrated") [: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.359/1.359, allocations: 289.8 MB / 297.1 MB, free: 6.66 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.0009586/0.0009585, allocations: 193.2 kB / 366.3 MB, free: 1.949 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.051/1.051, allocations: 205.1 MB / 0.6256 GB, free: 5.785 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.0007781/0.0007781, allocations: 87.52 kB / 0.7395 GB, free: 39.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.851e-06/5.871e-06, allocations: 0 / 0.859 GB, free: 13.33 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4584/0.4584, allocations: 116.3 MB / 0.9726 GB, free: 68.24 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7084/1.167, allocations: 492.7 MB / 1.454 GB, free: 12.57 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002442/1.167, allocations: 104.2 kB / 1.454 GB, free: 12.51 MB / 0.8386 GB Notification: Performance of FrontEnd: time 16.79/17.95, allocations: 5.784 GB / 7.238 GB, free: 48.93 MB / 1.245 GB Notification: Performance of Transformations before backend: time 0.002392/17.96, allocations: 310.1 kB / 7.238 GB, free: 48.87 MB / 1.245 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1626 * Number of variables: 1626 Notification: Performance of Generate backend data structure: time 0.03481/17.99, allocations: 11.31 MB / 7.249 GB, free: 43.72 MB / 1.245 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/17.99, allocations: 8.125 kB / 7.249 GB, free: 43.72 MB / 1.245 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01676/18.01, allocations: 3.246 MB / 7.252 GB, free: 42.96 MB / 1.245 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04159/18.05, allocations: 17.5 MB / 7.269 GB, free: 40.8 MB / 1.245 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001765/18.05, allocations: 0.697 MB / 7.27 GB, free: 40.62 MB / 1.245 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002563/18.05, allocations: 435.6 kB / 7.271 GB, free: 40.62 MB / 1.245 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01611/18.07, allocations: 8.776 MB / 7.279 GB, free: 40.59 MB / 1.245 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0154/18.09, allocations: 8.526 MB / 7.287 GB, free: 39.74 MB / 1.245 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001383/18.09, allocations: 9.391 kB / 7.287 GB, free: 39.74 MB / 1.245 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007469/18.09, allocations: 8.719 kB / 7.287 GB, free: 39.74 MB / 1.245 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001176/18.09, allocations: 170.3 kB / 7.288 GB, free: 39.73 MB / 1.245 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0769/18.16, allocations: 53.77 MB / 7.34 GB, free: 12.52 MB / 1.245 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006459/18.17, allocations: 4.227 MB / 7.344 GB, free: 10.8 MB / 1.245 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004522/18.18, allocations: 3.432 MB / 7.348 GB, free: 9.418 MB / 1.245 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001899/18.18, allocations: 2.938 MB / 7.351 GB, free: 6.172 MB / 1.245 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004952/18.18, allocations: 3.508 MB / 7.354 GB, free: 4.805 MB / 1.245 GB Notification: Performance of pre-optimization done (n=367): time 6.082e-06/18.18, allocations: 2.562 kB / 7.354 GB, free: 4.805 MB / 1.245 GB Notification: Performance of matching and sorting (n=367): time 0.0182/18.2, allocations: 7.951 MB / 7.362 GB, free: 1.773 MB / 1.245 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00017/18.2, allocations: 0.6768 MB / 7.362 GB, free: 0.9844 MB / 1.245 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02465/18.23, allocations: 9.939 MB / 7.372 GB, free: 13.41 MB / 1.26 GB Notification: Performance of collectPreVariables (initialization): time 0.001847/18.23, allocations: 36.23 kB / 7.372 GB, free: 13.38 MB / 1.26 GB Notification: Performance of collectInitialEqns (initialization): time 0.006217/18.23, allocations: 3.047 MB / 7.375 GB, free: 11.42 MB / 1.26 GB Notification: Performance of collectInitialBindings (initialization): time 0.003659/18.24, allocations: 1.218 MB / 7.376 GB, free: 10.45 MB / 1.26 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00133/18.24, allocations: 0.625 kB / 7.376 GB, free: 10.45 MB / 1.26 GB Notification: Performance of setup shared object (initialization): time 0.0005394/18.24, allocations: 0.5119 MB / 7.377 GB, free: 10.05 MB / 1.26 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006617/18.25, allocations: 3.579 MB / 7.38 GB, free: 8.613 MB / 1.26 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008639/18.25, allocations: 5.603 MB / 7.386 GB, free: 4.066 MB / 1.26 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00917/18.26, allocations: 4.34 MB / 7.39 GB, free: 456 kB / 1.26 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.799e-05/18.26, allocations: 12 kB / 7.39 GB, free: 444 kB / 1.26 GB Notification: Performance of matching and sorting (n=685) (initialization): time 0.02404/18.29, allocations: 10.31 MB / 7.4 GB, free: 7.504 MB / 1.276 GB Notification: Performance of prepare postOptimizeDAE: time 0.005945/18.29, allocations: 20.49 MB / 7.42 GB, free: 2.008 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001483/18.29, allocations: 51.69 kB / 7.42 GB, free: 1.965 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004369/18.3, allocations: 1.151 MB / 7.421 GB, free: 1.051 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.7142/19.01, allocations: 1.597 MB / 7.423 GB, free: 171.3 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006181/19.02, allocations: 7.868 MB / 7.43 GB, free: 165.8 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01332/19.03, allocations: 1.197 MB / 7.432 GB, free: 165.8 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002075/19.03, allocations: 309.2 kB / 7.432 GB, free: 165.8 MB / 1.292 GB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/19.03, allocations: 3.312 kB / 7.432 GB, free: 165.8 MB / 1.292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01705/19.05, allocations: 8.957 MB / 7.441 GB, free: 165.7 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001726/19.05, allocations: 47.67 kB / 7.441 GB, free: 165.7 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004137/19.06, allocations: 1.156 MB / 7.442 GB, free: 165.6 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007856/19.06, allocations: 1.515 MB / 7.443 GB, free: 165.6 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006741/19.07, allocations: 6.296 MB / 7.449 GB, free: 162.1 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01321/19.08, allocations: 1.088 MB / 7.451 GB, free: 162.1 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001997/19.09, allocations: 301.5 kB / 7.451 GB, free: 162.1 MB / 1.292 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: nonIntWSE2.wse.heaExc.hex.Q2_flow:VARIABLE(unit = "W" ) "Heat transferred into the medium 2" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: nonIntWSE1.wse.heaExc.hex.Q2_flow:VARIABLE(unit = "W" ) "Heat transferred into the medium 2" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 151 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,$whenCondition3,nonIntWSE2.trigger,$PRE.tri.pulseStart,tri.pulseStart,$whenCondition1,TCon_in.a,TCon_in.b,TCon_in.last,$PRE.TCon_in.nextEvent,TCon_in.nextEvent,TCon_in.nextEventScaled,nonIntWSE1.on[1],nonIntWSE1.on[2],nonIntWSE1.wse.heaExc.con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (614): * Single equations (assignments): 591 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 19,3 5,2 19,3 5} Notification: Performance of prepare postOptimizeDAE: time 0.002226/19.09, allocations: 303.2 kB / 7.451 GB, free: 161.9 MB / 1.292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004029/19.09, allocations: 1.039 MB / 7.452 GB, free: 161.9 MB / 1.292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02172/19.11, allocations: 8.796 MB / 7.461 GB, free: 161.7 MB / 1.292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.068e-05/19.11, allocations: 45.39 kB / 7.461 GB, free: 161.7 MB / 1.292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.063e-05/19.11, allocations: 1.422 kB / 7.461 GB, free: 161.7 MB / 1.292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01213/19.13, allocations: 6.627 MB / 7.467 GB, free: 161.4 MB / 1.292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04822/19.17, allocations: 19.28 MB / 7.486 GB, free: 160.4 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.776e-05/19.17, allocations: 5.078 kB / 7.486 GB, free: 160.4 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005783/19.18, allocations: 1.034 MB / 7.487 GB, free: 160.4 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002598/19.18, allocations: 0.7946 MB / 7.488 GB, free: 160.4 MB / 1.292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001074/19.18, allocations: 95.19 kB / 7.488 GB, free: 160.4 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004272/19.19, allocations: 7.152 MB / 7.495 GB, free: 154.8 MB / 1.292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/19.19, allocations: 1.031 kB / 7.495 GB, free: 154.8 MB / 1.292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02312/19.21, allocations: 12.89 MB / 7.508 GB, free: 153.2 MB / 1.292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008509/19.22, allocations: 2.685 MB / 7.51 GB, free: 152.4 MB / 1.292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004619/19.22, allocations: 30.8 kB / 7.51 GB, free: 152.4 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01111/19.24, allocations: 0.8654 MB / 7.511 GB, free: 152.3 MB / 1.292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009789/19.24, allocations: 237.5 kB / 7.511 GB, free: 152.3 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001098/19.24, allocations: 190 kB / 7.511 GB, free: 152.3 MB / 1.292 GB Notification: Performance of sort global known variables: time 0.01972/19.26, allocations: 7.459 MB / 7.519 GB, free: 152 MB / 1.292 GB Notification: Performance of remove unused functions: time 0.03187/19.29, allocations: 5.666 MB / 7.524 GB, free: 151.7 MB / 1.292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (TSup1.T,nonIntWSE1.chiPar.chi[1].vol1.dynBal.U,nonIntWSE1.chiPar.chi[1].vol2.dynBal.U,nonIntWSE1.chiPar.filter[1].x[1],nonIntWSE1.chiPar.filter[1].x[2],nonIntWSE1.wse.heaExc.thrWayVal.vol.dynBal.U,nonIntWSE1.wse.heaExc.thrWayVal.filter.x[1],nonIntWSE1.wse.heaExc.thrWayVal.filter.x[2],nonIntWSE1.wse.heaExc.con.I.y,nonIntWSE1.wse.filter[1].x[1],nonIntWSE1.wse.filter[1].x[2],nonIntWSE1.senTem.T,nonIntWSE2.chiPar.chi[1].vol1.dynBal.U,nonIntWSE2.chiPar.chi[1].vol2.dynBal.U,nonIntWSE2.chiPar.filter[1].x[1],nonIntWSE2.chiPar.filter[1].x[2],nonIntWSE2.wse.heaExc.thrWayVal.vol.dynBal.U,nonIntWSE2.wse.heaExc.thrWayVal.filter.x[1],nonIntWSE2.wse.heaExc.thrWayVal.filter.x[2],nonIntWSE2.wse.heaExc.con.I.y,nonIntWSE2.wse.filter[1].x[1],nonIntWSE2.wse.filter[1].x[2],nonIntWSE2.senTem.T,TSup2.T) * Number of discrete variables: 12 (nonIntWSE2.trigger,$whenCondition3,$whenCondition2,$whenCondition1,TCon_in.a,TCon_in.b,TCon_in.last,TCon_in.nextEvent,TCon_in.nextEventScaled,nonIntWSE1.on[1],nonIntWSE1.on[2],tri.pulseStart) * Number of discrete states: 6 (TCon_in.nextEvent,TCon_in.last,TCon_in.nextEventScaled,TCon_in.b,TCon_in.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (364): * Single equations (assignments): 334 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 18 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 25,2 25,3 4,3 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.01121/19.3, allocations: 6.483 MB / 7.531 GB, free: 148.7 MB / 1.292 GB Notification: Performance of simCode: created initialization part: time 0.02646/19.33, allocations: 13.65 MB / 7.544 GB, free: 147.9 MB / 1.292 GB Notification: Performance of simCode: created event and clocks part: time 1.145e-05/19.33, allocations: 4.375 kB / 7.544 GB, free: 147.9 MB / 1.292 GB Notification: Performance of simCode: created simulation system equations: time 0.006836/19.33, allocations: 3.561 MB / 7.547 GB, free: 147.9 MB / 1.292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02881/19.36, allocations: 5.428 MB / 7.553 GB, free: 147.8 MB / 1.292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04836/19.41, allocations: 19.62 MB / 7.572 GB, free: 144.1 MB / 1.292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01282/19.42, allocations: 7.585 MB / 7.579 GB, free: 143.1 MB / 1.292 GB Notification: Performance of SimCode: time 1.322e-06/19.42, allocations: 0 / 7.579 GB, free: 143.1 MB / 1.292 GB Notification: Performance of Templates: time 0.4226/19.85, allocations: 283.9 MB / 7.857 GB, free: 85.03 MB / 1.292 GB make -j1 -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.NonIntegrated.makefile (rm -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.NonIntegrated.pipe ; mkfifo Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.NonIntegrated.pipe ; head -c 1048576 < Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.NonIntegrated.pipe >> ../files/Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.NonIntegrated.sim & ./Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.NonIntegrated -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.NonIntegrated.pipe 2>&1)