Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl") translateModel(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.611/1.611, allocations: 293 MB / 309 MB, free: 4.805 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.001036/0.001036, allocations: 180.5 kB / 378.7 MB, free: 1 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.559/1.559, allocations: 205.4 MB / 0.6383 GB, free: 9.066 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.0007335/0.0007335, allocations: 90.53 kB / 0.7527 GB, free: 62.14 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003664/0.0003664, allocations: 12 kB / 0.8768 GB, free: 10.54 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/0.2483, allocations: 116.4 MB / 0.9904 GB, free: 6 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.081/6.329, allocations: 2.44 GB / 3.43 GB, free: 133.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/6.329, allocations: 95.95 kB / 3.43 GB, free: 133.6 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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.1.1-maint.8.1.x/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.1.1-maint.8.1.x/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.1.1-maint.8.1.x/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.1.1-maint.8.1.x/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.1.1-maint.8.1.x/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.1.1-maint.8.1.x/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.1.1-maint.8.1.x/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.1.1-maint.8.1.x/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.1.1-maint.8.1.x/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.1.1-maint.8.1.x/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.1.1-maint.8.1.x/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 20.74/27.07, allocations: 5.089 GB / 8.52 GB, free: 53.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.434e-06/27.07, allocations: 0 / 8.52 GB, free: 53.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.003536/27.07, allocations: 323.6 kB / 8.52 GB, free: 53.06 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: 2233 * Number of variables: 2233 Notification: Performance of Generate backend data structure: time 0.06291/27.14, allocations: 14.38 MB / 8.534 GB, free: 46.87 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.58e-05/27.14, allocations: 10.41 kB / 8.534 GB, free: 46.87 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02872/27.17, allocations: 3.332 MB / 8.537 GB, free: 46.11 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05632/27.22, allocations: 14.58 MB / 8.552 GB, free: 43.87 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001377/27.22, allocations: 0.7659 MB / 8.552 GB, free: 43.79 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005187/27.23, allocations: 0.9123 MB / 8.553 GB, free: 43.78 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04454/27.27, allocations: 11.54 MB / 8.565 GB, free: 42.71 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007647/27.28, allocations: 29.27 kB / 8.565 GB, free: 42.71 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004689/27.28, allocations: 370.1 kB / 8.565 GB, free: 42.71 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005585/27.28, allocations: 358.8 kB / 8.565 GB, free: 42.69 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.033/27.31, allocations: 10.48 MB / 8.576 GB, free: 42.61 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.1014/27.41, allocations: 50.17 MB / 8.625 GB, free: 21.08 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0185/27.43, allocations: 9.513 MB / 8.634 GB, free: 19.16 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009541/27.44, allocations: 4.193 MB / 8.638 GB, free: 19.06 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.04968/27.49, allocations: 18.66 MB / 8.656 GB, free: 13.76 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01082/27.5, allocations: 4.16 MB / 8.66 GB, free: 13.51 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01164/27.52, allocations: 1.899 MB / 8.662 GB, free: 13.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=600): time 5.174e-05/27.52, allocations: 0 / 8.662 GB, free: 13.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=604): time 0.08165/27.6, allocations: 22.25 MB / 8.684 GB, free: 8.094 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001281/27.6, allocations: 381.8 kB / 8.684 GB, free: 7.711 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02449/27.62, allocations: 9.638 MB / 8.694 GB, free: 7.066 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.001986/27.62, allocations: 174.7 kB / 8.694 GB, free: 7.035 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.006985/27.63, allocations: 5.527 MB / 8.699 GB, free: 5.445 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.003128/27.63, allocations: 2.04 MB / 8.701 GB, free: 4.145 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001352/27.64, allocations: 141 kB / 8.701 GB, free: 4.141 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0007572/27.64, allocations: 0.5806 MB / 8.702 GB, free: 19.71 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007096/27.64, allocations: 3.196 MB / 8.705 GB, free: 18.59 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009002/27.65, allocations: 5.516 MB / 8.71 GB, free: 14.76 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01697/27.67, allocations: 8.412 MB / 8.719 GB, free: 9.891 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.529e-05/27.67, allocations: 18.66 kB / 8.719 GB, free: 9.891 MB / 1.182 GB Notification: Performance of matching and sorting (n=921) (initialization): time 0.02834/27.7, allocations: 10.05 MB / 8.728 GB, free: 5.973 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.001269/27.7, allocations: 1.526 MB / 8.73 GB, free: 3.879 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.395e-05/27.7, allocations: 52.69 kB / 8.73 GB, free: 3.875 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00295/27.7, allocations: 0.6878 MB / 8.731 GB, free: 3.727 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008254/27.71, allocations: 1.653 MB / 8.732 GB, free: 3.562 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008425/27.72, allocations: 8.308 MB / 8.74 GB, free: 12.09 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01795/27.74, allocations: 0.9913 MB / 8.741 GB, free: 11.84 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002954/27.74, allocations: 369.2 kB / 8.742 GB, free: 11.78 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/27.74, allocations: 3.703 kB / 8.742 GB, free: 11.78 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03165/27.77, allocations: 8.893 MB / 8.75 GB, free: 8.352 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000147/27.77, allocations: 45.72 kB / 8.75 GB, free: 8.352 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003418/27.77, allocations: 0.6414 MB / 8.751 GB, free: 8.195 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01023/27.79, allocations: 1.608 MB / 8.753 GB, free: 8.035 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01462/27.8, allocations: 9.69 MB / 8.762 GB, free: 14.15 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01734/27.82, allocations: 0.9517 MB / 8.763 GB, free: 13.43 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002344/27.82, allocations: 353.5 kB / 8.763 GB, free: 13.12 MB / 1.214 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 212 * Number of states: 0 () * Number of discrete variables: 59 ($PRE.wseCon.T1.enableFire,$PRE.wseCon.T2.enableFire,$PRE.triAndRes.firstTrigger,triAndRes.firstTrigger,$whenCondition7,triAndRes.sampleTrigger,$PRE.triAndRes.sam.firstTrigger,triAndRes.sam.firstTrigger,$PRE.triAndRes.uniDel1.firstTrigger,triAndRes.uniDel1.firstTrigger,$whenCondition1,triAndRes.uniDel1.sampleTrigger,$whenCondition2,triAndRes.sam.sampleTrigger,wseCon.stateGraphRoot.resume,wseCon.stateGraphRoot.suspend,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$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.incY.y,triAndRes.sam.y,$PRE.triAndRes.uniDel1.y,triAndRes.uniDel1.y,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 (871): * Single equations (assignments): 856 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 5 {1 3,2 10,1 2,2 8,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.01289/27.83, allocations: 3.325 MB / 8.767 GB, free: 10.21 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004243/27.84, allocations: 1.042 MB / 8.768 GB, free: 9.16 MB / 1.214 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 692 equation(s) and 690 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.02004/27.86, allocations: 5.153 MB / 8.773 GB, free: 4.953 MB / 1.214 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.