Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl") translateModel(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.726/1.726, allocations: 297.8 MB / 313.7 MB, free: 44 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 182 kB / 384.6 MB, free: 10.78 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.517/1.517, allocations: 223.2 MB / 0.6626 GB, free: 4.176 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009575/0.0009577, allocations: 96.7 kB / 0.7808 GB, free: 50.32 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006091/0.0006096, allocations: 15.94 kB / 0.9088 GB, free: 2.816 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8708/0.8715, allocations: 120.3 MB / 1.026 GB, free: 55.91 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.807/6.678, allocations: 2.26 GB / 3.287 GB, free: 296.5 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002645/6.679, allocations: 94.89 kB / 3.287 GB, free: 296.5 MB / 0.9948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/Fluid/MixingVolumes/BaseClasses/PartialMixingVolume.mo:88:3-91: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 9.0.0-master/Fluid/MixingVolumes/BaseClasses/PartialMixingVolume.mo:88:3-91: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 9.0.0-master/Fluid/MixingVolumes/BaseClasses/PartialMixingVolume.mo:88:3-91: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 9.0.0-master/Fluid/MixingVolumes/BaseClasses/PartialMixingVolume.mo:88:3-91: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 9.0.0-master/Fluid/MixingVolumes/BaseClasses/PartialMixingVolume.mo:95:3-98: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 9.0.0-master/Fluid/MixingVolumes/BaseClasses/PartialMixingVolume.mo:95:3-98: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 9.0.0-master/Fluid/MixingVolumes/BaseClasses/PartialMixingVolume.mo:95:3-98: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 9.0.0-master/Fluid/MixingVolumes/BaseClasses/PartialMixingVolume.mo:95:3-98: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 9.0.0-master/Fluid/Interfaces/ConservationEquation.mo:135:3-138: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 9.0.0-master/Fluid/Interfaces/ConservationEquation.mo:135:3-138: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 9.0.0-master/Fluid/Interfaces/ConservationEquation.mo:135:3-138: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 9.0.0-master/Fluid/Interfaces/ConservationEquation.mo:135:3-138: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 21.58/28.26, allocations: 5.131 GB / 8.418 GB, free: 65.77 MB / 1.198 GB Notification: Performance of FrontEnd: time 3.546e-06/28.26, allocations: 4 kB / 8.418 GB, free: 65.76 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.00382/28.26, allocations: 325.8 kB / 8.418 GB, free: 65.71 MB / 1.198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2237 * Number of variables: 2237 Notification: Performance of Generate backend data structure: time 0.06144/28.33, allocations: 14.44 MB / 8.432 GB, free: 59.44 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/28.33, allocations: 6.375 kB / 8.432 GB, free: 59.44 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02528/28.35, allocations: 3.336 MB / 8.435 GB, free: 58.61 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04827/28.4, allocations: 14.59 MB / 8.449 GB, free: 56.3 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001241/28.4, allocations: 0.7719 MB / 8.45 GB, free: 56.22 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004877/28.41, allocations: 0.9173 MB / 8.451 GB, free: 56.21 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03964/28.44, allocations: 11.55 MB / 8.462 GB, free: 55.1 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005426/28.45, allocations: 23.12 kB / 8.462 GB, free: 55.1 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004034/28.45, allocations: 376.1 kB / 8.463 GB, free: 55.1 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003939/28.45, allocations: 357 kB / 8.463 GB, free: 55.07 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03014/28.48, allocations: 10.49 MB / 8.473 GB, free: 54.93 MB / 1.198 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.09556/28.58, allocations: 50.21 MB / 8.522 GB, free: 32.92 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01871/28.59, allocations: 9.515 MB / 8.532 GB, free: 30.98 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008736/28.6, allocations: 4.189 MB / 8.536 GB, free: 30.88 MB / 1.198 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.04899/28.65, allocations: 18.67 MB / 8.554 GB, free: 25.58 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01095/28.66, allocations: 4.162 MB / 8.558 GB, free: 25.12 MB / 1.198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01015/28.67, allocations: 1.893 MB / 8.56 GB, free: 24.59 MB / 1.198 GB Notification: Performance of pre-optimization done (n=600): time 3.114e-05/28.67, allocations: 0 / 8.56 GB, free: 24.59 MB / 1.198 GB Notification: Performance of matching and sorting (n=604): time 0.0745/28.75, allocations: 22.27 MB / 8.582 GB, free: 14.03 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001361/28.75, allocations: 382.2 kB / 8.582 GB, free: 13.64 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02188/28.77, allocations: 9.681 MB / 8.592 GB, free: 10.34 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.002439/28.77, allocations: 174.4 kB / 8.592 GB, free: 10.21 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.006974/28.78, allocations: 5.567 MB / 8.597 GB, free: 5.902 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.003714/28.78, allocations: 2.044 MB / 8.599 GB, free: 4.32 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001672/28.79, allocations: 143.1 kB / 8.599 GB, free: 4.211 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0007663/28.79, allocations: 0.5812 MB / 8.6 GB, free: 3.781 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00805/28.79, allocations: 3.189 MB / 8.603 GB, free: 2.66 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01049/28.8, allocations: 5.523 MB / 8.608 GB, free: 14.65 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02038/28.82, allocations: 8.413 MB / 8.617 GB, free: 6.27 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.736e-05/28.82, allocations: 12 kB / 8.617 GB, free: 6.258 MB / 1.214 GB Notification: Performance of matching and sorting (n=921) (initialization): time 0.04415/28.87, allocations: 10.7 MB / 8.627 GB, free: 14.94 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.001788/28.87, allocations: 1.529 MB / 8.628 GB, free: 12.77 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001483/28.87, allocations: 44 kB / 8.629 GB, free: 12.72 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003378/28.87, allocations: 0.7066 MB / 8.629 GB, free: 12.17 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009783/28.88, allocations: 1.657 MB / 8.631 GB, free: 10.78 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009689/28.89, allocations: 8.292 MB / 8.639 GB, free: 2.336 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01652/28.91, allocations: 1.001 MB / 8.64 GB, free: 1.566 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002662/28.91, allocations: 363.7 kB / 8.64 GB, free: 1.25 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/28.91, allocations: 4 kB / 8.64 GB, free: 1.246 MB / 1.229 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02827/28.94, allocations: 8.899 MB / 8.649 GB, free: 9.383 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001641/28.94, allocations: 48 kB / 8.649 GB, free: 9.336 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002739/28.94, allocations: 0.6398 MB / 8.65 GB, free: 8.82 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008406/28.95, allocations: 1.609 MB / 8.651 GB, free: 7.461 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065/30.02, allocations: 9.671 MB / 8.661 GB, free: 104.1 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01868/30.04, allocations: 0.9616 MB / 8.662 GB, free: 104.1 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002597/30.04, allocations: 352.1 kB / 8.662 GB, free: 104.1 MB / 1.245 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.01364/30.05, allocations: 3.315 MB / 8.665 GB, free: 104 MB / 1.245 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004315/30.06, allocations: 1.049 MB / 8.666 GB, free: 104 MB / 1.245 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.0168/30.07, allocations: 5.155 MB / 8.671 GB, free: 103.8 MB / 1.245 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.