Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl") translateModel(Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.501/2.501, allocations: 287.5 MB / 303.2 MB, free: 8.258 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.001279/0.001279, allocations: 173.3 kB / 371.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.129/2.129, allocations: 205.4 MB / 0.6305 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008514/0.0008511, allocations: 108.7 kB / 0.7438 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004715/0.0004715, allocations: 11.69 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2117, allocations: 115.3 MB / 0.9793 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.538/7.75, allocations: 2.44 GB / 3.42 GB, free: 231 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003077/7.75, allocations: 99.95 kB / 3.42 GB, free: 230.9 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Fluid/MixingVolumes/BaseClasses/PartialMixingVolume.mo:89:3-92:73:writable] Notification: Moving binding to initial equation section and setting fixed attribute of roo.rooVol.state_default.p to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Fluid/MixingVolumes/BaseClasses/PartialMixingVolume.mo:89:3-92:73:writable] Notification: Moving binding to initial equation section and setting fixed attribute of roo.rooVol.state_default.T to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Fluid/MixingVolumes/BaseClasses/PartialMixingVolume.mo:89:3-92:73:writable] Notification: Moving binding to initial equation section and setting fixed attribute of roo.rooVol.state_default.X[1] to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Fluid/MixingVolumes/BaseClasses/PartialMixingVolume.mo:89:3-92:73:writable] Notification: Moving binding to initial equation section and setting fixed attribute of roo.rooVol.state_default.X[2] to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Fluid/MixingVolumes/BaseClasses/PartialMixingVolume.mo:96:3-99:62:writable] Notification: Moving binding to initial equation section and setting fixed attribute of roo.rooVol.state_start.p to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Fluid/MixingVolumes/BaseClasses/PartialMixingVolume.mo:96:3-99:62:writable] Notification: Moving binding to initial equation section and setting fixed attribute of roo.rooVol.state_start.T to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Fluid/MixingVolumes/BaseClasses/PartialMixingVolume.mo:96:3-99:62:writable] Notification: Moving binding to initial equation section and setting fixed attribute of roo.rooVol.state_start.X[1] to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Fluid/MixingVolumes/BaseClasses/PartialMixingVolume.mo:96:3-99:62:writable] Notification: Moving binding to initial equation section and setting fixed attribute of roo.rooVol.state_start.X[2] to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Fluid/Interfaces/ConservationEquation.mo:140:3-143:73:writable] Notification: Moving binding to initial equation section and setting fixed attribute of roo.rooVol.dynBal.state_default.p to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Fluid/Interfaces/ConservationEquation.mo:140:3-143:73:writable] Notification: Moving binding to initial equation section and setting fixed attribute of roo.rooVol.dynBal.state_default.T to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Fluid/Interfaces/ConservationEquation.mo:140:3-143:73:writable] Notification: Moving binding to initial equation section and setting fixed attribute of roo.rooVol.dynBal.state_default.X[1] to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Fluid/Interfaces/ConservationEquation.mo:140:3-143:73:writable] Notification: Moving binding to initial equation section and setting fixed attribute of roo.rooVol.dynBal.state_default.X[2] to false. Notification: Performance of FrontEnd - DAE generated: time 27.6/35.35, allocations: 5.093 GB / 8.512 GB, free: 61.26 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.274e-06/35.35, allocations: 0 / 8.512 GB, free: 61.26 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.003021/35.35, allocations: 324.5 kB / 8.513 GB, free: 61.21 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.06871/35.42, allocations: 14.34 MB / 8.527 GB, free: 55.11 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/35.42, allocations: 10.06 kB / 8.527 GB, free: 55.11 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03602/35.45, allocations: 3.342 MB / 8.53 GB, free: 54.35 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06009/35.51, allocations: 14.67 MB / 8.544 GB, free: 52.09 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001416/35.52, allocations: 0.7725 MB / 8.545 GB, free: 52 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004894/35.52, allocations: 0.9247 MB / 8.546 GB, free: 51.99 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04676/35.57, allocations: 11.59 MB / 8.557 GB, free: 50.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006318/35.57, allocations: 20.5 kB / 8.557 GB, free: 50.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004272/35.57, allocations: 373.1 kB / 8.557 GB, free: 50.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005897/35.57, allocations: 359.8 kB / 8.558 GB, free: 50.88 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04397/35.62, allocations: 10.53 MB / 8.568 GB, free: 50.8 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1286/35.75, allocations: 50.39 MB / 8.617 GB, free: 29.33 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03008/35.78, allocations: 9.136 MB / 8.626 GB, free: 27.55 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01415/35.79, allocations: 4.214 MB / 8.63 GB, free: 27.48 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt evalFunc (simulation): time 0.06284/35.85, allocations: 18.52 MB / 8.648 GB, free: 22.29 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01523/35.87, allocations: 4.138 MB / 8.652 GB, free: 22.08 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01418/35.88, allocations: 1.89 MB / 8.654 GB, free: 21.72 MB / 1.167 GB Notification: Performance of pre-optimization done (n=595): time 3.822e-05/35.88, allocations: 3.125 kB / 8.654 GB, free: 21.72 MB / 1.167 GB Notification: Performance of matching and sorting (n=644): time 0.1145/36, allocations: 23.95 MB / 8.678 GB, free: 17.91 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000181/36, allocations: 386.2 kB / 8.678 GB, free: 17.52 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02915/36.03, allocations: 9.71 MB / 8.688 GB, free: 16.87 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.002309/36.03, allocations: 176.5 kB / 8.688 GB, free: 16.84 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.009704/36.04, allocations: 5.623 MB / 8.693 GB, free: 15.25 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.004282/36.04, allocations: 2.189 MB / 8.695 GB, free: 13.84 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001127/36.04, allocations: 146.8 kB / 8.696 GB, free: 13.84 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0006626/36.05, allocations: 0.5922 MB / 8.696 GB, free: 13.53 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01299/36.06, allocations: 3.442 MB / 8.699 GB, free: 13.49 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01683/36.08, allocations: 5.771 MB / 8.705 GB, free: 11.02 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02798/36.1, allocations: 8.995 MB / 8.714 GB, free: 9.066 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.707e-05/36.1, allocations: 17.94 kB / 8.714 GB, free: 9.062 MB / 1.167 GB Notification: Performance of matching and sorting (n=960) (initialization): time 0.04808/36.15, allocations: 11.92 MB / 8.726 GB, free: 8.109 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009887/36.15, allocations: 1.507 MB / 8.727 GB, free: 6.203 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.865e-05/36.15, allocations: 45.16 kB / 8.727 GB, free: 6.203 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02671/36.18, allocations: 4.991 MB / 8.732 GB, free: 6.012 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01039/36.19, allocations: 1.294 MB / 8.733 GB, free: 5.922 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0326/36.22, allocations: 13.89 MB / 8.747 GB, free: 15.14 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0198/36.24, allocations: 1.033 MB / 8.748 GB, free: 14.88 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002469/36.24, allocations: 371.5 kB / 8.748 GB, free: 14.82 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/36.24, allocations: 4.219 kB / 8.748 GB, free: 14.82 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04324/36.29, allocations: 10.76 MB / 8.759 GB, free: 10.66 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000137/36.29, allocations: 46.97 kB / 8.759 GB, free: 10.66 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02577/36.31, allocations: 4.852 MB / 8.763 GB, free: 9.672 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01019/36.32, allocations: 1.274 MB / 8.765 GB, free: 9.539 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04204/36.37, allocations: 16 MB / 8.78 GB, free: 15.98 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01895/36.39, allocations: 0.991 MB / 8.781 GB, free: 15.74 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002648/36.39, allocations: 361.7 kB / 8.782 GB, free: 15.68 MB / 1.198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 208 * Number of states: 0 () * Number of discrete variables: 44 ($PRE.wseCon.T1.enableFire,$PRE.wseCon.T2.enableFire,wseCon.stateGraphRoot.resume,wseCon.stateGraphRoot.suspend,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.wseCon.off.localActive,wseCon.off.localActive,$PRE.wseCon.off.newActive,wseCon.off.newActive,$PRE.wseCon.off.oldActive,wseCon.off.oldActive,wseCon.off.active,wseCon.T1.enableFire,wseCon.T1.fire,$PRE.wseCon.T1.t_start,wseCon.T1.t_start,wseCon.T1.condition,$PRE.wseCon.on.localActive,wseCon.on.localActive,$PRE.wseCon.on.newActive,wseCon.on.newActive,$PRE.wseCon.on.oldActive,wseCon.on.oldActive,wseCon.on.active,wseCon.T2.enableFire,wseCon.T2.fire,$PRE.wseCon.T2.t_start,wseCon.T2.t_start,wseCon.T2.condition,wseCon.stateGraphRoot.activeSteps,$PRE.chiSwi.hysteresis.y,chiSwi.hysteresis.y,$PRE.weaData.conTimMin.tNext,weaData.conTimMin.tNext,$PRE.weaData.conTim.tNext,weaData.conTim.tNext,greaterThreshold.y,mCWFlo.u,triAndRes.conPID.I.trigger_internal,EIT.local_reset,EHVAC.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (736): * Single equations (assignments): 723 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 3 * 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 158,4 16,1 2,2 8,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.01347/36.4, allocations: 3.369 MB / 8.785 GB, free: 13.79 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005252/36.41, allocations: 1.061 MB / 8.786 GB, free: 12.72 MB / 1.198 GB Warning: After manipulating the system with postOptModule wrapFunctionCalls the system is unbalanced. This indicates that the original system is singular. You can use -d=dumpCSE and -d=dumpCSE_verbose for more information. Error: Too many equations, over-determined system. The model has 735 equation(s) and 733 variable(s). Error: $cse16 = Buildings.Fluid.Movers.BaseClasses.IdealSource$pumCHW$preSou.Medium.setState_phX(TCHWLeaCoi.port_b.p, TCHWLeaCoi.port_a.h_outflow, {}) has size 2 but 1 variables ($cse21) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02597/36.43, allocations: 5.49 MB / 8.791 GB, free: 8.23 MB / 1.198 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.