Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.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.DataCenterContinuousTimeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl") translateModel(Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.704/1.704, allocations: 297.8 MB / 313.7 MB, free: 140 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.001133/0.001133, allocations: 180.4 kB / 384.6 MB, free: 10.88 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.526/1.526, allocations: 223.2 MB / 0.6626 GB, free: 4.316 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.001055/0.001054, allocations: 104.2 kB / 0.7808 GB, free: 50.46 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004817/0.0004817, allocations: 13.84 kB / 0.9088 GB, free: 2.902 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8376/0.8381, allocations: 120.3 MB / 1.026 GB, free: 55.92 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.665/6.503, allocations: 2.262 GB / 3.288 GB, free: 295.9 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002877/6.504, allocations: 92.62 kB / 3.288 GB, free: 295.9 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.79/28.3, allocations: 5.132 GB / 8.421 GB, free: 65.43 MB / 1.198 GB Notification: Performance of FrontEnd: time 3.456e-06/28.3, allocations: 0 / 8.421 GB, free: 65.43 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.003599/28.3, allocations: 332.8 kB / 8.421 GB, free: 65.39 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: 2246 * Number of variables: 2246 Notification: Performance of Generate backend data structure: time 0.06106/28.36, allocations: 14.39 MB / 8.435 GB, free: 59.18 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 5.61e-05/28.36, allocations: 9.969 kB / 8.435 GB, free: 59.18 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02498/28.39, allocations: 3.343 MB / 8.438 GB, free: 58.34 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04855/28.44, allocations: 14.68 MB / 8.453 GB, free: 56.02 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001401/28.44, allocations: 0.7739 MB / 8.454 GB, free: 55.94 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005504/28.44, allocations: 0.9202 MB / 8.454 GB, free: 55.93 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04666/28.49, allocations: 11.61 MB / 8.466 GB, free: 54.8 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001074/28.49, allocations: 22.33 kB / 8.466 GB, free: 54.79 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005639/28.5, allocations: 370 kB / 8.466 GB, free: 54.79 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005491/28.5, allocations: 361.6 kB / 8.467 GB, free: 54.77 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03376/28.53, allocations: 10.54 MB / 8.477 GB, free: 54.59 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.111/28.64, allocations: 50.57 MB / 8.526 GB, free: 32.4 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02128/28.66, allocations: 9.492 MB / 8.535 GB, free: 30.49 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009784/28.67, allocations: 4.193 MB / 8.54 GB, free: 30.4 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.05149/28.72, allocations: 18.62 MB / 8.558 GB, free: 24.94 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01515/28.74, allocations: 4.137 MB / 8.562 GB, free: 23.46 MB / 1.198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01376/28.75, allocations: 1.888 MB / 8.564 GB, free: 22.93 MB / 1.198 GB Notification: Performance of pre-optimization done (n=595): time 5.362e-05/28.75, allocations: 3.969 kB / 8.564 GB, free: 22.93 MB / 1.198 GB Notification: Performance of matching and sorting (n=599): time 0.08297/28.84, allocations: 20.45 MB / 8.584 GB, free: 13.78 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002152/28.84, allocations: 379.6 kB / 8.584 GB, free: 13.39 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02762/28.86, allocations: 9.749 MB / 8.593 GB, free: 10.05 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.002293/28.87, allocations: 177.9 kB / 8.594 GB, free: 9.922 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.007209/28.87, allocations: 5.611 MB / 8.599 GB, free: 5.582 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.003525/28.88, allocations: 2.036 MB / 8.601 GB, free: 4.004 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007898/28.88, allocations: 138.9 kB / 8.601 GB, free: 3.895 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0005077/28.88, allocations: 0.5832 MB / 8.602 GB, free: 3.461 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006508/28.88, allocations: 3.202 MB / 8.605 GB, free: 2.332 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009775/28.89, allocations: 5.514 MB / 8.61 GB, free: 13.29 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0193/28.91, allocations: 8.406 MB / 8.619 GB, free: 4.93 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.212e-05/28.91, allocations: 16 kB / 8.619 GB, free: 4.914 MB / 1.214 GB Notification: Performance of matching and sorting (n=916) (initialization): time 0.03369/28.95, allocations: 9.996 MB / 8.628 GB, free: 11.99 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.001435/28.95, allocations: 1.517 MB / 8.63 GB, free: 9.844 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001158/28.95, allocations: 44 kB / 8.63 GB, free: 9.801 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003279/28.95, allocations: 0.702 MB / 8.631 GB, free: 9.25 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009258/28.96, allocations: 1.662 MB / 8.632 GB, free: 7.855 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008944/28.97, allocations: 8.302 MB / 8.64 GB, free: 15.41 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01548/28.99, allocations: 1.008 MB / 8.641 GB, free: 14.63 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002651/28.99, allocations: 359.1 kB / 8.642 GB, free: 14.32 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/28.99, allocations: 4 kB / 8.642 GB, free: 14.32 MB / 1.245 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0294/29.02, allocations: 8.871 MB / 8.65 GB, free: 6.469 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002622/29.02, allocations: 50.19 kB / 8.65 GB, free: 6.422 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002861/29.02, allocations: 0.6389 MB / 8.651 GB, free: 5.91 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008672/29.03, allocations: 1.622 MB / 8.653 GB, free: 4.539 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11/30.14, allocations: 9.675 MB / 8.662 GB, free: 102.5 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01426/30.15, allocations: 0.9703 MB / 8.663 GB, free: 102.5 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002395/30.16, allocations: 353.3 kB / 8.663 GB, free: 102.5 MB / 1.245 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 209 * 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 (866): * Single equations (assignments): 851 * 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,3 9,1 2,2 8,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.01302/30.17, allocations: 3.313 MB / 8.666 GB, free: 102.3 MB / 1.245 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003921/30.17, allocations: 1.055 MB / 8.668 GB, free: 102.3 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 690 equation(s) and 688 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.0161/30.19, allocations: 5.176 MB / 8.673 GB, free: 102.1 MB / 1.245 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.