Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl") translateModel(Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.302/1.302, allocations: 252 MB / 267.9 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008876/0.0008876, allocations: 175.7 kB / 327.5 MB, free: 2.164 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.615/1.615, allocations: 205.4 MB / 0.5785 GB, free: 20.52 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009056/0.0009055, allocations: 98.19 kB / 0.6831 GB, free: 13.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003745/0.0003746, allocations: 15.56 kB / 0.7974 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1994/0.1998, allocations: 106.3 MB / 0.9012 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.266/5.465, allocations: 2.557 GB / 3.459 GB, free: 296.8 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002653/5.466, allocations: 97.95 kB / 3.459 GB, free: 296.8 MB / 0.8855 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Fluid/MixingVolumes/BaseClasses/PartialMixingVolume.mo:85:3-88: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 7.0.3-maint.7.0.x/Fluid/MixingVolumes/BaseClasses/PartialMixingVolume.mo:85:3-88: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 7.0.3-maint.7.0.x/Fluid/MixingVolumes/BaseClasses/PartialMixingVolume.mo:85:3-88: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 7.0.3-maint.7.0.x/Fluid/MixingVolumes/BaseClasses/PartialMixingVolume.mo:85:3-88: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 7.0.3-maint.7.0.x/Fluid/MixingVolumes/BaseClasses/PartialMixingVolume.mo:92:3-95: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 7.0.3-maint.7.0.x/Fluid/MixingVolumes/BaseClasses/PartialMixingVolume.mo:92:3-95: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 7.0.3-maint.7.0.x/Fluid/MixingVolumes/BaseClasses/PartialMixingVolume.mo:92:3-95: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 7.0.3-maint.7.0.x/Fluid/MixingVolumes/BaseClasses/PartialMixingVolume.mo:92:3-95: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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 16.22/21.69, allocations: 4.959 GB / 8.417 GB, free: 53.29 MB / 1.104 GB Notification: Performance of FrontEnd: time 1.954e-06/21.69, allocations: 0 / 8.417 GB, free: 53.29 MB / 1.104 GB Notification: Performance of Transformations before backend: time 0.00269/21.69, allocations: 329.9 kB / 8.418 GB, free: 53.24 MB / 1.104 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2252 * Number of variables: 2252 Notification: Performance of Generate backend data structure: time 0.05282/21.74, allocations: 14.35 MB / 8.432 GB, free: 47.11 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/21.74, allocations: 6.781 kB / 8.432 GB, free: 47.11 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02238/21.76, allocations: 3.337 MB / 8.435 GB, free: 46.34 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04394/21.81, allocations: 14.69 MB / 8.449 GB, free: 44.07 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001257/21.81, allocations: 0.7696 MB / 8.45 GB, free: 43.99 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004478/21.81, allocations: 0.9222 MB / 8.451 GB, free: 43.98 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03531/21.85, allocations: 11.62 MB / 8.462 GB, free: 42.88 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005774/21.85, allocations: 18.78 kB / 8.462 GB, free: 42.88 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003357/21.85, allocations: 370 kB / 8.463 GB, free: 42.88 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004417/21.85, allocations: 364 kB / 8.463 GB, free: 42.86 MB / 1.104 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02803/21.88, allocations: 10.55 MB / 8.473 GB, free: 42.78 MB / 1.104 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.1004/21.98, allocations: 50.52 MB / 8.523 GB, free: 21.18 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01868/22, allocations: 9.381 MB / 8.532 GB, free: 19.41 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008679/22.01, allocations: 4.174 MB / 8.536 GB, free: 19.32 MB / 1.104 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.04438/22.05, allocations: 18.51 MB / 8.554 GB, free: 14.16 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009859/22.06, allocations: 4.127 MB / 8.558 GB, free: 13.93 MB / 1.104 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01071/22.07, allocations: 1.883 MB / 8.56 GB, free: 13.52 MB / 1.104 GB Notification: Performance of pre-optimization done (n=596): time 4.626e-05/22.07, allocations: 0 / 8.56 GB, free: 13.52 MB / 1.104 GB Notification: Performance of matching and sorting (n=600): time 0.06607/22.14, allocations: 20.54 MB / 8.58 GB, free: 9.805 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001463/22.14, allocations: 378.8 kB / 8.58 GB, free: 9.418 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02571/22.17, allocations: 9.76 MB / 8.59 GB, free: 8.758 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.002478/22.17, allocations: 178.6 kB / 8.59 GB, free: 8.723 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.008041/22.18, allocations: 5.63 MB / 8.595 GB, free: 7.117 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.004042/22.18, allocations: 2.039 MB / 8.597 GB, free: 5.812 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001839/22.18, allocations: 139.8 kB / 8.598 GB, free: 5.812 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.0007922/22.18, allocations: 0.5829 MB / 8.598 GB, free: 5.492 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008313/22.19, allocations: 3.186 MB / 8.601 GB, free: 5.461 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01004/22.2, allocations: 5.515 MB / 8.607 GB, free: 2.043 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01953/22.22, allocations: 8.496 MB / 8.615 GB, free: 13.64 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.25e-05/22.22, allocations: 16.31 kB / 8.615 GB, free: 13.64 MB / 1.12 GB Notification: Performance of matching and sorting (n=917) (initialization): time 0.03139/22.25, allocations: 9.99 MB / 8.625 GB, free: 9.73 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 0.002411/22.26, allocations: 1.513 MB / 8.626 GB, free: 7.664 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001884/22.26, allocations: 43.22 kB / 8.626 GB, free: 7.664 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003557/22.26, allocations: 0.7027 MB / 8.627 GB, free: 7.504 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009186/22.27, allocations: 1.657 MB / 8.629 GB, free: 7.344 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008507/22.28, allocations: 8.306 MB / 8.637 GB, free: 15.88 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0149/22.29, allocations: 0.9997 MB / 8.638 GB, free: 15.63 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002458/22.3, allocations: 366 kB / 8.638 GB, free: 15.57 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/22.3, allocations: 9.594 kB / 8.638 GB, free: 15.57 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02534/22.32, allocations: 8.849 MB / 8.647 GB, free: 12.15 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001612/22.32, allocations: 51.44 kB / 8.647 GB, free: 12.15 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002553/22.32, allocations: 0.6239 MB / 8.647 GB, free: 12 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008067/22.33, allocations: 1.632 MB / 8.649 GB, free: 11.26 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0107/22.34, allocations: 9.698 MB / 8.658 GB, free: 1.309 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01351/22.36, allocations: 0.9658 MB / 8.659 GB, free: 0.5703 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002242/22.36, allocations: 354.2 kB / 8.66 GB, free: 268 kB / 1.135 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 (867): * Single equations (assignments): 852 * 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.02227/22.38, allocations: 4.161 MB / 8.664 GB, free: 15.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004922/22.39, allocations: 1.053 MB / 8.665 GB, free: 14.43 MB / 1.151 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 691 equation(s) and 689 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.01759/22.4, allocations: 5.162 MB / 8.67 GB, free: 10.21 MB / 1.151 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.