Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide.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.IntegratedPrimaryPlantSide,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide") [: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.358/1.358, allocations: 289.8 MB / 297.1 MB, free: 6.727 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.0009951/0.0009951, allocations: 185.3 kB / 366.3 MB, free: 2 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.091/1.091, allocations: 205.1 MB / 0.6256 GB, free: 5.844 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.0007721/0.0007721, allocations: 76.14 kB / 0.7395 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.931e-06/6.071e-06, allocations: 0 / 0.859 GB, free: 13.39 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4475/0.4475, allocations: 116.3 MB / 0.9726 GB, free: 68.8 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7377/1.185, allocations: 496.2 MB / 1.457 GB, free: 9.23 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002327/1.186, allocations: 110 kB / 1.457 GB, free: 9.172 MB / 0.8386 GB Notification: Performance of FrontEnd: time 19.55/20.74, allocations: 6.492 GB / 7.949 GB, free: 67.51 MB / 1.307 GB Notification: Performance of Transformations before backend: time 0.002621/20.74, allocations: 364.6 kB / 7.949 GB, free: 67.45 MB / 1.307 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1792 * Number of variables: 1792 Notification: Performance of Generate backend data structure: time 0.03604/20.78, allocations: 12.63 MB / 7.962 GB, free: 62.29 MB / 1.307 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/20.78, allocations: 10.22 kB / 7.962 GB, free: 62.29 MB / 1.307 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0192/20.8, allocations: 3.591 MB / 7.965 GB, free: 61.46 MB / 1.307 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04358/20.84, allocations: 19.22 MB / 7.984 GB, free: 59.36 MB / 1.307 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001897/20.84, allocations: 0.7386 MB / 7.985 GB, free: 59.22 MB / 1.307 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003172/20.85, allocations: 494.3 kB / 7.985 GB, free: 59.22 MB / 1.307 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01831/20.87, allocations: 9.679 MB / 7.995 GB, free: 59.19 MB / 1.307 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01951/20.89, allocations: 9.44 MB / 8.004 GB, free: 58.27 MB / 1.307 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001498/20.89, allocations: 8.75 kB / 8.004 GB, free: 58.27 MB / 1.307 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008842/20.89, allocations: 8 kB / 8.004 GB, free: 58.27 MB / 1.307 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001288/20.89, allocations: 184.9 kB / 8.004 GB, free: 58.27 MB / 1.307 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08278/20.97, allocations: 59.17 MB / 8.062 GB, free: 32.68 MB / 1.307 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006801/20.98, allocations: 4.737 MB / 8.066 GB, free: 32.64 MB / 1.307 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005073/20.98, allocations: 3.891 MB / 8.07 GB, free: 32.61 MB / 1.307 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001918/20.98, allocations: 3.118 MB / 8.073 GB, free: 29.23 MB / 1.307 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005291/20.99, allocations: 3.999 MB / 8.077 GB, free: 29.1 MB / 1.307 GB Notification: Performance of pre-optimization done (n=429): time 5.6e-06/20.99, allocations: 1.406 kB / 8.077 GB, free: 29.1 MB / 1.307 GB Notification: Performance of matching and sorting (n=429): time 0.0185/21.01, allocations: 9.218 MB / 8.086 GB, free: 28.29 MB / 1.307 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001738/21.01, allocations: 0.9894 MB / 8.087 GB, free: 27.12 MB / 1.307 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01871/21.03, allocations: 10.89 MB / 8.098 GB, free: 26.43 MB / 1.307 GB Notification: Performance of collectPreVariables (initialization): time 0.001737/21.03, allocations: 40.73 kB / 8.098 GB, free: 26.39 MB / 1.307 GB Notification: Performance of collectInitialEqns (initialization): time 0.004596/21.03, allocations: 3.36 MB / 8.101 GB, free: 24.86 MB / 1.307 GB Notification: Performance of collectInitialBindings (initialization): time 0.003569/21.04, allocations: 1.422 MB / 8.103 GB, free: 23.91 MB / 1.307 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006722/21.04, allocations: 1.219 kB / 8.103 GB, free: 23.91 MB / 1.307 GB Notification: Performance of setup shared object (initialization): time 0.0003288/21.04, allocations: 0.5502 MB / 8.103 GB, free: 23.59 MB / 1.307 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005294/21.04, allocations: 4.081 MB / 8.107 GB, free: 23.58 MB / 1.307 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006708/21.05, allocations: 6.378 MB / 8.113 GB, free: 21.08 MB / 1.307 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008628/21.06, allocations: 4.927 MB / 8.118 GB, free: 20.96 MB / 1.307 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.319e-05/21.06, allocations: 10.94 kB / 8.118 GB, free: 20.96 MB / 1.307 GB Notification: Performance of matching and sorting (n=801) (initialization): time 0.02758/21.08, allocations: 12.36 MB / 8.13 GB, free: 20.09 MB / 1.307 GB Notification: Performance of prepare postOptimizeDAE: time 0.004992/21.09, allocations: 22.47 MB / 8.152 GB, free: 12.84 MB / 1.323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001591/21.09, allocations: 59.73 kB / 8.152 GB, free: 12.84 MB / 1.323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008456/21.1, allocations: 2.122 MB / 8.154 GB, free: 12.8 MB / 1.323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009361/21.11, allocations: 1.733 MB / 8.156 GB, free: 12.8 MB / 1.323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009023/21.12, allocations: 7.948 MB / 8.164 GB, free: 24.31 MB / 1.339 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01378/21.13, allocations: 1.359 MB / 8.165 GB, free: 23.97 MB / 1.339 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001721/21.13, allocations: 369.6 kB / 8.165 GB, free: 23.97 MB / 1.339 GB Notification: Performance of prepare postOptimizeDAE: time 9.208e-06/21.13, allocations: 5.75 kB / 8.165 GB, free: 23.97 MB / 1.339 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01847/21.15, allocations: 10.52 MB / 8.176 GB, free: 23.76 MB / 1.339 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001633/21.15, allocations: 52.55 kB / 8.176 GB, free: 23.76 MB / 1.339 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008567/21.16, allocations: 2.126 MB / 8.178 GB, free: 23.72 MB / 1.339 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008766/21.17, allocations: 1.682 MB / 8.179 GB, free: 23.72 MB / 1.339 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01208/21.18, allocations: 8.671 MB / 8.188 GB, free: 20.03 MB / 1.339 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01385/21.19, allocations: 1.229 MB / 8.189 GB, free: 19.79 MB / 1.339 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001853/21.2, allocations: 361.7 kB / 8.189 GB, free: 19.79 MB / 1.339 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: intWSEPri2.jun3.port_internal.h_outflow:VARIABLE(min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 protected = true ) "Specific thermodynamic enthalpy close to the connection point if m_flow < 0" type: Real intWSEPri2.spl2.port_internal.h_outflow:VARIABLE(min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 protected = true ) "Specific thermodynamic enthalpy close to the connection point if m_flow < 0" type: Real intWSEPri2.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: intWSEPri1.jun3.port_internal.h_outflow:VARIABLE(min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 protected = true ) "Specific thermodynamic enthalpy close to the connection point if m_flow < 0" type: Real intWSEPri1.spl2.port_internal.h_outflow:VARIABLE(min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 protected = true ) "Specific thermodynamic enthalpy close to the connection point if m_flow < 0" type: Real intWSEPri1.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: 157 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,$whenCondition3,intWSEPri2.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,intWSEPri1.on[1],intWSEPri1.on[2],intWSEPri1.wse.heaExc.con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (688): * Single equations (assignments): 659 * Array equations: 10 * Algorithm blocks: 1 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {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 {5 24,6 11,6 23,5 12} Notification: Performance of prepare postOptimizeDAE: time 0.001905/21.2, allocations: 341.4 kB / 8.19 GB, free: 19.61 MB / 1.339 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003358/21.2, allocations: 1.178 MB / 8.191 GB, free: 18.97 MB / 1.339 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02072/21.22, allocations: 10.04 MB / 8.201 GB, free: 18.56 MB / 1.339 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.273e-05/21.22, allocations: 56.3 kB / 8.201 GB, free: 18.56 MB / 1.339 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/21.22, allocations: 2.219 kB / 8.201 GB, free: 18.56 MB / 1.339 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01222/21.23, allocations: 7.538 MB / 8.208 GB, free: 18.2 MB / 1.339 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04482/21.28, allocations: 21.67 MB / 8.229 GB, free: 16.88 MB / 1.339 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.561e-05/21.28, allocations: 2.094 kB / 8.229 GB, free: 16.88 MB / 1.339 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006248/21.29, allocations: 1.109 MB / 8.23 GB, free: 16.88 MB / 1.339 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004569/21.29, allocations: 1.316 MB / 8.232 GB, free: 16.83 MB / 1.339 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00099/21.29, allocations: 106.8 kB / 8.232 GB, free: 16.83 MB / 1.339 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006401/21.3, allocations: 6.787 MB / 8.238 GB, free: 12.36 MB / 1.339 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.141e-06/21.3, allocations: 4.938 kB / 8.238 GB, free: 12.36 MB / 1.339 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02282/21.32, allocations: 14.63 MB / 8.253 GB, free: 10.45 MB / 1.339 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008925/21.33, allocations: 2.939 MB / 8.256 GB, free: 9.438 MB / 1.339 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004142/21.33, allocations: 47.52 kB / 8.256 GB, free: 9.434 MB / 1.339 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01196/21.35, allocations: 0.9458 MB / 8.257 GB, free: 9.398 MB / 1.339 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001105/21.35, allocations: 275.1 kB / 8.257 GB, free: 9.395 MB / 1.339 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006898/21.35, allocations: 207.5 kB / 8.257 GB, free: 9.395 MB / 1.339 GB Notification: Performance of sort global known variables: time 0.01603/21.36, allocations: 8.193 MB / 8.265 GB, free: 9.039 MB / 1.339 GB Notification: Performance of remove unused functions: time 0.0263/21.39, allocations: 6.316 MB / 8.271 GB, free: 8.285 MB / 1.339 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 32 (TSup1.T,intWSEPri1.chiPar.chi[1].vol1.dynBal.U,intWSEPri1.chiPar.chi[1].vol2.dynBal.U,intWSEPri1.chiPar.filter[1].x[1],intWSEPri1.chiPar.filter[1].x[2],intWSEPri1.wse.heaExc.thrWayVal.vol.dynBal.U,intWSEPri1.wse.heaExc.thrWayVal.filter.x[1],intWSEPri1.wse.heaExc.thrWayVal.filter.x[2],intWSEPri1.wse.heaExc.con.I.y,intWSEPri1.wse.filter[1].x[1],intWSEPri1.wse.filter[1].x[2],intWSEPri1.senTem.T,intWSEPri1.val5.filter.x[1],intWSEPri1.val5.filter.x[2],intWSEPri1.val6.filter.x[1],intWSEPri1.val6.filter.x[2],intWSEPri2.chiPar.chi[1].vol1.dynBal.U,intWSEPri2.chiPar.chi[1].vol2.dynBal.U,intWSEPri2.chiPar.filter[1].x[1],intWSEPri2.chiPar.filter[1].x[2],intWSEPri2.wse.heaExc.thrWayVal.vol.dynBal.U,intWSEPri2.wse.heaExc.thrWayVal.filter.x[1],intWSEPri2.wse.heaExc.thrWayVal.filter.x[2],intWSEPri2.wse.heaExc.con.I.y,intWSEPri2.wse.filter[1].x[1],intWSEPri2.wse.filter[1].x[2],intWSEPri2.senTem.T,intWSEPri2.val5.filter.x[1],intWSEPri2.val5.filter.x[2],intWSEPri2.val6.filter.x[1],intWSEPri2.val6.filter.x[2],TSup2.T) * Number of discrete variables: 12 (intWSEPri2.trigger,$whenCondition3,$whenCondition2,$whenCondition1,TCon_in.a,TCon_in.b,TCon_in.last,TCon_in.nextEvent,TCon_in.nextEventScaled,intWSEPri1.on[1],intWSEPri1.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 (406): * Single equations (assignments): 378 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 18 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {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 {6 29,5 30,6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.01069/21.4, allocations: 7.441 MB / 8.278 GB, free: 4.309 MB / 1.339 GB Notification: Performance of simCode: created initialization part: time 0.02718/21.43, allocations: 15.99 MB / 8.294 GB, free: 3.18 MB / 1.339 GB Notification: Performance of simCode: created event and clocks part: time 1.005e-05/21.43, allocations: 5.094 kB / 8.294 GB, free: 3.176 MB / 1.339 GB Notification: Performance of simCode: created simulation system equations: time 0.006495/21.43, allocations: 4.103 MB / 8.298 GB, free: 3.109 MB / 1.339 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02943/21.46, allocations: 6.074 MB / 8.304 GB, free: 2.883 MB / 1.339 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05054/21.51, allocations: 21.84 MB / 8.325 GB, free: 14.35 MB / 1.354 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01733/21.53, allocations: 8.32 MB / 8.333 GB, free: 12.53 MB / 1.354 GB Notification: Performance of SimCode: time 1.413e-06/21.53, allocations: 0 / 8.333 GB, free: 12.53 MB / 1.354 GB Notification: Performance of Templates: time 1.655/23.19, allocations: 321.3 MB / 8.647 GB, free: 210.7 MB / 1.386 GB make -j1 -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide.makefile (rm -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide.pipe ; mkfifo Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide.pipe ; head -c 1048576 < Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide.pipe >> ../files/Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide.sim & ./Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide.pipe 2>&1)