Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.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.DataCenterDiscreteTimeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl") translateModel(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl") [: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.7259/0.7259, 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.001174/0.001174, allocations: 168.8 kB / 171.6 MB, free: 1.965 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.554/1.554, allocations: 170.5 MB / 373.9 MB, free: 15.83 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.001793/0.001793, allocations: 115.7 kB / 444.4 MB, free: 9.367 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.5576/0.5576, allocations: 73.39 MB / 0.666 GB, free: 62.31 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.086/6.644, allocations: 2.482 GB / 3.148 GB, free: 194.5 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003132/6.645, allocations: 85.17 kB / 3.148 GB, free: 194.4 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 22.12/28.76, allocations: 4.848 GB / 7.996 GB, free: 44.62 MB / 0.8387 GB Notification: Performance of Transformations before backend: time 0.002647/28.77, allocations: 316.9 kB / 7.997 GB, free: 44.62 MB / 0.8387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2129 * Number of variables: 2129 Notification: Performance of Generate backend data structure: time 0.05046/28.82, allocations: 11.93 MB / 8.008 GB, free: 40.16 MB / 0.8387 GB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/28.82, allocations: 11.81 kB / 8.008 GB, free: 40.16 MB / 0.8387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03114/28.85, allocations: 3.86 MB / 8.012 GB, free: 39.43 MB / 0.8387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05634/28.91, allocations: 15.54 MB / 8.027 GB, free: 37.66 MB / 0.8387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001059/28.91, allocations: 432.9 kB / 8.028 GB, free: 37.58 MB / 0.8387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005343/28.91, allocations: 0.5359 MB / 8.028 GB, free: 37.57 MB / 0.8387 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02736/28.94, allocations: 9.194 MB / 8.037 GB, free: 37.54 MB / 0.8387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03205/28.97, allocations: 9.499 MB / 8.047 GB, free: 36.53 MB / 0.8387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004956/28.97, allocations: 19.34 kB / 8.047 GB, free: 36.52 MB / 0.8387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002864/28.97, allocations: 16.69 kB / 8.047 GB, free: 36.52 MB / 0.8387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003207/28.98, allocations: 354.2 kB / 8.047 GB, free: 36.51 MB / 0.8387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1099/29.09, allocations: 49.29 MB / 8.095 GB, free: 14.68 MB / 0.8387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01061/29.1, allocations: 4.222 MB / 8.099 GB, free: 14.62 MB / 0.8387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01105/29.11, allocations: 3.834 MB / 8.103 GB, free: 14.54 MB / 0.8387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04749/29.15, allocations: 15.74 MB / 8.118 GB, free: 24.7 MB / 0.8543 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01081/29.17, allocations: 3.861 MB / 8.122 GB, free: 24.49 MB / 0.8543 GB Notification: Performance of pre-optimization done (n=613): time 1.584e-05/29.17, allocations: 0 / 8.122 GB, free: 24.49 MB / 0.8543 GB Notification: Performance of matching and sorting (n=671): time 0.09263/29.26, allocations: 23.01 MB / 8.145 GB, free: 20.08 MB / 0.8543 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004011/29.26, allocations: 333.1 kB / 8.145 GB, free: 19.76 MB / 0.8543 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02574/29.28, allocations: 7.714 MB / 8.152 GB, free: 19.18 MB / 0.8543 GB Notification: Performance of collectPreVariables (initialization): time 0.003026/29.29, allocations: 47.17 kB / 8.152 GB, free: 19.14 MB / 0.8543 GB Notification: Performance of collectInitialEqns (initialization): time 0.006692/29.29, allocations: 3.129 MB / 8.155 GB, free: 17.62 MB / 0.8543 GB Notification: Performance of collectInitialBindings (initialization): time 0.007092/29.3, allocations: 2.174 MB / 8.158 GB, free: 16.18 MB / 0.8543 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0015/29.3, allocations: 4.281 kB / 8.158 GB, free: 16.18 MB / 0.8543 GB Notification: Performance of setup shared object (initialization): time 0.0008245/29.3, allocations: 0.5941 MB / 8.158 GB, free: 15.86 MB / 0.8543 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008747/29.31, allocations: 3.414 MB / 8.162 GB, free: 15.84 MB / 0.8543 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01154/29.32, allocations: 5.404 MB / 8.167 GB, free: 13.85 MB / 0.8543 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01411/29.34, allocations: 4.648 MB / 8.171 GB, free: 13.75 MB / 0.8543 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.847e-05/29.34, allocations: 11.5 kB / 8.171 GB, free: 13.75 MB / 0.8543 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.04694/29.39, allocations: 12.45 MB / 8.184 GB, free: 12.97 MB / 0.8543 GB Notification: Performance of prepare postOptimizeDAE: time 0.01123/29.4, allocations: 21.15 MB / 8.204 GB, free: 6.934 MB / 0.8699 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00023/29.4, allocations: 42.38 kB / 8.204 GB, free: 6.934 MB / 0.8699 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01459/29.41, allocations: 4.147 MB / 8.208 GB, free: 6.867 MB / 0.8699 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007252/29.42, allocations: 1.263 MB / 8.209 GB, free: 6.867 MB / 0.8699 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02161/29.44, allocations: 13.95 MB / 8.223 GB, free: 2.078 MB / 0.8699 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01637/29.46, allocations: 0.9057 MB / 8.224 GB, free: 2.012 MB / 0.8699 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0034/29.46, allocations: 416.7 kB / 8.224 GB, free: 2.012 MB / 0.8699 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/29.46, allocations: 4.594 kB / 8.224 GB, free: 2.012 MB / 0.8699 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03481/29.49, allocations: 10.73 MB / 8.235 GB, free: 1.777 MB / 0.8699 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001446/29.5, allocations: 39.25 kB / 8.235 GB, free: 1.777 MB / 0.8699 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0166/29.51, allocations: 4.042 MB / 8.239 GB, free: 1.707 MB / 0.8699 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008356/29.52, allocations: 1.234 MB / 8.24 GB, free: 1.707 MB / 0.8699 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02445/29.54, allocations: 15.59 MB / 8.255 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01634/29.56, allocations: 0.8258 MB / 8.256 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003048/29.56, allocations: 404.1 kB / 8.256 GB, free: 11.32 MB / 0.8855 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: 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: 168 * Number of states: 0 () * Number of discrete variables: 62 ($PRE.wseCon.T1.enableFire,$PRE.wseCon.T2.enableFire,$PRE.triAndRes.firstTrigger,triAndRes.firstTrigger,$whenCondition7,triAndRes.sampleTrigger,$PRE.triAndRes.uniDel1.firstTrigger,triAndRes.uniDel1.firstTrigger,$PRE.triAndRes.sam.firstTrigger,triAndRes.sam.firstTrigger,$PRE.wseCon.on.oldActive,wseCon.on.oldActive,$PRE.wseCon.off.oldActive,wseCon.off.oldActive,$whenCondition5,triAndRes.sam.sampleTrigger,$whenCondition6,triAndRes.uniDel1.sampleTrigger,$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,triAndRes.incY.y,triAndRes.sam.y,$PRE.triAndRes.uniDel1.y,triAndRes.uniDel1.y,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 (716): * Single equations (assignments): 702 * 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.004195/29.57, allocations: 315 kB / 8.257 GB, free: 11.18 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005012/29.57, allocations: 0.9937 MB / 8.258 GB, free: 10.64 MB / 0.8855 GB Error: Too many equations, over-determined system. The model has 782 equation(s) and 780 variable(s). Warning: Equation 585 (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 591 (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 597 (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 609 (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 646 (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 683 (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.02343/29.6, allocations: 6.036 MB / 8.264 GB, free: 10.41 MB / 0.8855 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.