Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl") translateModel(Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl") [: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 3.0.0/package.mo): time 0.7296/0.7296, allocations: 132.4 MB / 139.7 MB, free: 15.54 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001052/0.001052, allocations: 171.3 kB / 171.6 MB, free: 2.004 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.579/1.579, allocations: 170.5 MB / 373.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001798/0.001798, allocations: 104.8 kB / 444.4 MB, free: 9.375 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.5781/0.5781, allocations: 73.39 MB / 0.666 GB, free: 62.29 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.053/6.631, allocations: 2.483 GB / 3.149 GB, free: 202.4 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002561/6.632, allocations: 84.89 kB / 3.149 GB, free: 202.3 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:12160:5-12166:3:writable] Warning: Usage of non-standard operator (not specified in the Modelica specification): Connections.uniqueRoot. Functionality might be partially supported but is not guaranteed. Notification: Performance of FrontEnd: time 20.15/26.78, allocations: 4.85 GB / 7.999 GB, free: 5.93 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.002742/26.78, allocations: 319.7 kB / 8 GB, free: 5.617 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2136 * Number of variables: 2136 Notification: Performance of Generate backend data structure: time 0.05145/26.83, allocations: 11.85 MB / 8.011 GB, free: 9.574 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/26.83, allocations: 8.031 kB / 8.011 GB, free: 9.566 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03365/26.86, allocations: 3.88 MB / 8.015 GB, free: 5.668 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8224/27.69, allocations: 15.6 MB / 8.03 GB, free: 79.02 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001113/27.69, allocations: 434 kB / 8.031 GB, free: 78.93 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005775/27.69, allocations: 0.5421 MB / 8.031 GB, free: 78.92 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02893/27.72, allocations: 9.239 MB / 8.04 GB, free: 78.88 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0394/27.76, allocations: 9.526 MB / 8.049 GB, free: 77.88 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000791/27.76, allocations: 19.69 kB / 8.049 GB, free: 77.88 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004388/27.77, allocations: 12.22 kB / 8.049 GB, free: 77.88 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004714/27.77, allocations: 357.5 kB / 8.05 GB, free: 77.86 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1216/27.89, allocations: 49.4 MB / 8.098 GB, free: 56.25 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01298/27.9, allocations: 4.219 MB / 8.102 GB, free: 56.2 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01092/27.91, allocations: 3.829 MB / 8.106 GB, free: 56.14 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04954/27.96, allocations: 15.7 MB / 8.121 GB, free: 50.4 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0115/27.97, allocations: 3.842 MB / 8.125 GB, free: 50.2 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=608): time 1.988e-05/27.98, allocations: 0 / 8.125 GB, free: 50.2 MB / 0.8386 GB Notification: Performance of matching and sorting (n=666): time 0.1016/28.08, allocations: 21.44 MB / 8.146 GB, free: 47.05 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002362/28.08, allocations: 342.5 kB / 8.146 GB, free: 46.73 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03109/28.11, allocations: 7.752 MB / 8.154 GB, free: 46.15 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.003096/28.11, allocations: 47.55 kB / 8.154 GB, free: 46.12 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.007864/28.12, allocations: 3.15 MB / 8.157 GB, free: 44.59 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.007958/28.13, allocations: 2.17 MB / 8.159 GB, free: 43.13 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00135/28.13, allocations: 8.969 kB / 8.159 GB, free: 43.13 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0008201/28.13, allocations: 0.5908 MB / 8.16 GB, free: 42.82 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007205/28.14, allocations: 3.416 MB / 8.163 GB, free: 42.8 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009514/28.15, allocations: 5.389 MB / 8.168 GB, free: 40.85 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01476/28.16, allocations: 4.649 MB / 8.173 GB, free: 40.75 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.286e-05/28.16, allocations: 10.78 kB / 8.173 GB, free: 40.75 MB / 0.8386 GB Notification: Performance of matching and sorting (n=953) (initialization): time 0.04946/28.21, allocations: 12.43 MB / 8.185 GB, free: 39.97 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.009853/28.22, allocations: 20.47 MB / 8.205 GB, free: 50.72 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002471/28.22, allocations: 36.94 kB / 8.205 GB, free: 50.72 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0158/28.24, allocations: 4.147 MB / 8.209 GB, free: 50.64 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007615/28.24, allocations: 1.273 MB / 8.21 GB, free: 50.64 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02982/28.27, allocations: 13.95 MB / 8.224 GB, free: 45.85 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01842/28.29, allocations: 0.9059 MB / 8.225 GB, free: 45.78 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003628/28.3, allocations: 409.7 kB / 8.225 GB, free: 45.78 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/28.3, allocations: 3.75 kB / 8.225 GB, free: 45.78 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04233/28.34, allocations: 10.5 MB / 8.235 GB, free: 45.56 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003101/28.34, allocations: 35.78 kB / 8.235 GB, free: 45.56 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01512/28.35, allocations: 4.049 MB / 8.239 GB, free: 45.48 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007608/28.36, allocations: 1.24 MB / 8.241 GB, free: 45.48 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03185/28.39, allocations: 15.59 MB / 8.256 GB, free: 39.18 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01653/28.41, allocations: 0.824 MB / 8.257 GB, free: 39.12 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003157/28.41, allocations: 405.5 kB / 8.257 GB, free: 39.12 MB / 0.8698 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: weaData.tWetBul_TDryBulXi.XiSat:VARIABLE(min = 0.0 max = 1.0 unit = "1" protected = true ) "Water vapor mass fraction at saturation" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: cooCoi.ele[1].con1.dT:VARIABLE(min = -200.0 unit = "K" protected = true ) "= solid.T - fluid.T" type: Real [4] wse.Q2_flow:VARIABLE(unit = "W" ) "Heat transferred into the medium 2" type: Real cooCoi.ele[4].vol2.dynBal.medium.dT:DUMMY_STATE(unit = "K" protected = true final = true ) "Temperature difference used to compute enthalpy" type: Real [4] cooCoi.ele[3].vol2.dynBal.medium.dT:DUMMY_STATE(unit = "K" protected = true final = true ) "Temperature difference used to compute enthalpy" type: Real [4] cooCoi.ele[2].vol2.dynBal.medium.dT:DUMMY_STATE(unit = "K" protected = true final = true ) "Temperature difference used to compute enthalpy" type: Real [4] cooCoi.ele[1].vol2.dynBal.medium.dT:DUMMY_STATE(unit = "K" protected = true final = true ) "Temperature difference used to compute enthalpy" type: Real [4] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 162 * Number of states: 0 () * Number of discrete variables: 46 ($PRE.wseCon.T1.enableFire,$PRE.wseCon.T2.enableFire,$PRE.wseCon.on.oldActive,wseCon.on.oldActive,$PRE.wseCon.off.oldActive,wseCon.off.oldActive,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.wseCon.off.newActive,wseCon.off.newActive,wseCon.off.inport_fire,wseCon.off.outport_fire,wseCon.T1.condition,wseCon.T1.fire,wseCon.T1.enableFire,$PRE.wseCon.T1.t_start,wseCon.T1.t_start,wseCon.on.active,$PRE.wseCon.on.newActive,wseCon.on.newActive,wseCon.on.inport_fire,wseCon.on.outport_fire,wseCon.T2.condition,wseCon.T2.fire,wseCon.T2.enableFire,$PRE.wseCon.T2.t_start,wseCon.T2.t_start,wseCon.booToRea1.u,$PRE.chiSwi.hysteresis.y,chiSwi.hysteresis.y,$PRE.weaData.conTim1.tStart,weaData.conTim1.tStart,$PRE.weaData.conTim.tStart,weaData.conTim.tStart,greaterThreshold.y,mCWFlo.u,wseCon.off.node.resume,wseCon.off.node.suspend,wseCon.off.inPort[1].checkUnaryConnection,wseCon.T2.outPort.checkOneDelayedTransitionPerLoop,wseCon.off.outPort[1].checkOneDelayedTransitionPerLoop,wseCon.T1.outPort.checkOneDelayedTransitionPerLoop,wseCon.on.outPort[1].checkOneDelayedTransitionPerLoop,wseCon.on.inPort[1].checkUnaryConnection) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (708): * Single equations (assignments): 694 * Array equations: 1 * Algorithm blocks: 7 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {19 143,4 16,1 6,3 10,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.005301/28.42, allocations: 308.9 kB / 8.257 GB, free: 38.98 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005641/28.42, allocations: 1 MB / 8.258 GB, free: 38.45 MB / 0.8698 GB Error: Too many equations, over-determined system. The model has 780 equation(s) and 778 variable(s). Warning: Equation 583 (size: 2) $cse91 = Buildings.Fluid.Interfaces.ConservationEquation$chi$vol1$dynBal.Medium.setState_phX(expVesChi.p_start, chi.vol1.ports[1].h_outflow, {1.0}) is not big enough to solve for enough variables. Remaining unsolved variables are: $cse92 Already solved: Equations used to solve those variables: Warning: Equation 589 (size: 2) $cse85 = Buildings.Fluid.Interfaces.ConservationEquation$pumCHW$vol$dynBal.Medium.setState_phX(expVesCHW.p_start, pumCHW.port_a.h_outflow, {1.0}) is not big enough to solve for enough variables. Remaining unsolved variables are: $cse88 Already solved: Equations used to solve those variables: Warning: Equation 595 (size: 2) $cse79 = Buildings.Fluid.Interfaces.ConservationEquation$cooCoi$ele$vol1$dynBal.Medium.setState_phX(expVesCHW.p_start, cooCoi.ele[2].vol1.hOut_internal, {1.0}) is not big enough to solve for enough variables. Remaining unsolved variables are: $cse84 Already solved: Equations used to solve those variables: Warning: Equation 607 (size: 2) $cse70 = Buildings.Fluid.Sensors.TemperatureTwoPort$cooCoi$temSen_1.Medium.setState_phX(cooCoi.port_a1.p, cooCoi.port_a1.h_outflow, {}) is not big enough to solve for enough variables. Remaining unsolved variables are: $cse76 Already solved: Equations used to solve those variables: Warning: Equation 644 (size: 2) $cse53 = Buildings.Fluid.Movers.BaseClasses.IdealSource$pumCW$preSou.Medium.setState_phX(cooTow.vol.p, pumCW.port_a.h_outflow, {}) is not big enough to solve for enough variables. Remaining unsolved variables are: $cse60 Already solved: Equations used to solve those variables: Warning: Equation 681 (size: 2) $cse32 = Buildings.Fluid.Sensors.TemperatureTwoPort$TCHWEntChi.Medium.setState_phX(chi.vol2.p, TCHWEntChi.port_a.h_outflow, {}) is not big enough to solve for enough variables. Remaining unsolved variables are: wseCon.off.inport_fire Already solved: wseCon.T2.fire Equations used to solve those variables: Equation 153 (size: 1): wseCon.T2.fire = wseCon.T2.enableFire and time >= wseCon.T2.t_start + wseCon.T2.waitTime Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02717/28.45, allocations: 6.051 MB / 8.264 GB, free: 38.21 MB / 0.8698 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.