Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/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_master_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.038/5.038, allocations: 0.5623 GB / 0.5775 GB, free: 3.328 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002522/0.002522, allocations: 361.8 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.286/4.286, allocations: 410.7 MB / 1.113 GB, free: 147.9 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001766/0.001765, allocations: 180 kB / 1.226 GB, free: 35.97 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004999/0.0005003, allocations: 20.95 kB / 1.349 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2243/0.2248, allocations: 115.3 MB / 1.461 GB, free: 6.621 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.213/8.438, allocations: 2.438 GB / 3.9 GB, free: 135.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003308/8.438, allocations: 96.14 kB / 3.9 GB, free: 135.9 MB / 0.948 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 28.73/37.17, allocations: 5.087 GB / 8.987 GB, free: 64.33 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.976e-06/37.17, allocations: 0 / 8.987 GB, free: 64.33 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.002907/37.17, allocations: 319.8 kB / 8.987 GB, free: 64.29 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.07044/37.24, allocations: 14.52 MB / 9.001 GB, free: 58.04 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/37.24, allocations: 12.56 kB / 9.001 GB, free: 58.04 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03667/37.28, allocations: 3.342 MB / 9.004 GB, free: 57.21 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06094/37.34, allocations: 14.19 MB / 9.018 GB, free: 55.29 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00155/37.34, allocations: 0.7683 MB / 9.019 GB, free: 55.21 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005141/37.35, allocations: 0.9179 MB / 9.02 GB, free: 55.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05013/37.4, allocations: 11.53 MB / 9.031 GB, free: 54.09 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007417/37.4, allocations: 19.12 kB / 9.031 GB, free: 54.08 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004565/37.4, allocations: 371.6 kB / 9.032 GB, free: 54.08 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005241/37.4, allocations: 360.2 kB / 9.032 GB, free: 54.06 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0435/37.45, allocations: 10.49 MB / 9.042 GB, free: 53.88 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.1316/37.58, allocations: 49.99 MB / 9.091 GB, free: 31.89 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03145/37.61, allocations: 9.153 MB / 9.1 GB, free: 29.96 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0145/37.62, allocations: 4.206 MB / 9.104 GB, free: 29.87 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.06429/37.69, allocations: 18.56 MB / 9.122 GB, free: 24.57 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01557/37.7, allocations: 4.167 MB / 9.126 GB, free: 23.33 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01432/37.72, allocations: 1.898 MB / 9.128 GB, free: 22.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=600): time 3.165e-05/37.72, allocations: 0 / 9.128 GB, free: 22.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=649): time 0.1224/37.84, allocations: 25.68 MB / 9.153 GB, free: 11.17 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001727/37.84, allocations: 382.1 kB / 9.154 GB, free: 10.78 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02875/37.87, allocations: 9.628 MB / 9.163 GB, free: 7.113 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.002459/37.87, allocations: 181.7 kB / 9.163 GB, free: 6.93 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.009067/37.88, allocations: 5.523 MB / 9.169 GB, free: 1.926 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.005076/37.89, allocations: 2.211 MB / 9.171 GB, free: 0 / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002343/37.89, allocations: 192.5 kB / 9.171 GB, free: 0 / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0009541/37.89, allocations: 0.6033 MB / 9.171 GB, free: 15.48 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0143/37.91, allocations: 3.441 MB / 9.175 GB, free: 12.57 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01818/37.92, allocations: 5.771 MB / 9.18 GB, free: 6.562 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01717/37.94, allocations: 4.257 MB / 9.185 GB, free: 2.699 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.94e-05/37.94, allocations: 16 kB / 9.185 GB, free: 2.684 MB / 1.182 GB Notification: Performance of matching and sorting (n=965) (initialization): time 0.05775/38, allocations: 12.16 MB / 9.197 GB, free: 8.77 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001546/38, allocations: 1.52 MB / 9.198 GB, free: 6.609 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001998/38, allocations: 44 kB / 9.198 GB, free: 6.566 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02903/38.03, allocations: 4.981 MB / 9.203 GB, free: 2.562 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01161/38.04, allocations: 1.295 MB / 9.204 GB, free: 1.449 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323/39.36, allocations: 13.87 MB / 9.218 GB, free: 88.98 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0205/39.38, allocations: 1.025 MB / 9.219 GB, free: 88.97 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002862/39.39, allocations: 376.9 kB / 9.219 GB, free: 88.97 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/39.39, allocations: 4.438 kB / 9.219 GB, free: 88.97 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04745/39.43, allocations: 10.73 MB / 9.23 GB, free: 88.74 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002318/39.44, allocations: 47.11 kB / 9.23 GB, free: 88.74 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02883/39.46, allocations: 4.889 MB / 9.234 GB, free: 88.64 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01113/39.48, allocations: 1.269 MB / 9.236 GB, free: 88.64 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03763/39.51, allocations: 15.83 MB / 9.251 GB, free: 82.33 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01936/39.53, allocations: 0.9929 MB / 9.252 GB, free: 82.33 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002764/39.54, allocations: 357.2 kB / 9.252 GB, free: 82.33 MB / 1.198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 211 * 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 (741): * Single equations (assignments): 728 * 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.01366/39.55, allocations: 3.369 MB / 9.256 GB, free: 82.13 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00493/39.55, allocations: 1.057 MB / 9.257 GB, free: 82.13 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 737 equation(s) and 735 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.02508/39.58, allocations: 5.497 MB / 9.262 GB, free: 81.93 MB / 1.198 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.