Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.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.DataCenterDiscreteTimeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl") translateModel(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.306/1.306, 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.001025/0.001025, allocations: 178 kB / 327.6 MB, free: 2.156 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.715/1.715, allocations: 205.4 MB / 0.5785 GB, free: 20.48 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.0007854/0.0007854, allocations: 93.64 kB / 0.6831 GB, free: 13.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000381/0.000381, allocations: 11.5 kB / 0.7974 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.197/0.1974, allocations: 106.3 MB / 0.9012 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.315/5.513, allocations: 2.556 GB / 3.457 GB, free: 297.3 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003189/5.513, allocations: 97.64 kB / 3.457 GB, free: 297.3 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.91/22.42, allocations: 4.957 GB / 8.414 GB, free: 44.17 MB / 1.089 GB Notification: Performance of FrontEnd: time 2.344e-06/22.42, allocations: 0 / 8.414 GB, free: 44.17 MB / 1.089 GB Notification: Performance of Transformations before backend: time 0.002915/22.42, allocations: 328 kB / 8.414 GB, free: 44.12 MB / 1.089 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2243 * Number of variables: 2243 Notification: Performance of Generate backend data structure: time 0.05654/22.48, allocations: 14.39 MB / 8.428 GB, free: 37.9 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/22.48, allocations: 15.12 kB / 8.428 GB, free: 37.9 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02516/22.5, allocations: 3.318 MB / 8.432 GB, free: 37.14 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05144/22.56, allocations: 14.61 MB / 8.446 GB, free: 34.89 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00163/22.56, allocations: 0.7699 MB / 8.447 GB, free: 34.8 MB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005529/22.56, allocations: 0.9146 MB / 8.448 GB, free: 34.8 MB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04311/22.61, allocations: 11.56 MB / 8.459 GB, free: 33.73 MB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007964/22.61, allocations: 25.34 kB / 8.459 GB, free: 33.73 MB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004611/22.61, allocations: 365.8 kB / 8.459 GB, free: 33.73 MB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005208/22.61, allocations: 366.5 kB / 8.46 GB, free: 33.71 MB / 1.089 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03321/22.65, allocations: 10.51 MB / 8.47 GB, free: 33.61 MB / 1.089 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.1035/22.75, allocations: 50.17 MB / 8.519 GB, free: 11.81 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01789/22.77, allocations: 9.393 MB / 8.528 GB, free: 9.965 MB / 1.089 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009041/22.78, allocations: 4.187 MB / 8.532 GB, free: 9.867 MB / 1.089 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.04619/22.82, allocations: 18.52 MB / 8.55 GB, free: 20.64 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008718/22.83, allocations: 4.157 MB / 8.554 GB, free: 20.39 MB / 1.104 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01039/22.84, allocations: 1.899 MB / 8.556 GB, free: 19.98 MB / 1.104 GB Notification: Performance of pre-optimization done (n=601): time 3.75e-05/22.84, allocations: 4 kB / 8.556 GB, free: 19.98 MB / 1.104 GB Notification: Performance of matching and sorting (n=605): time 0.07889/22.92, allocations: 22.1 MB / 8.578 GB, free: 15.05 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002565/22.92, allocations: 382.1 kB / 8.578 GB, free: 14.66 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02331/22.94, allocations: 9.677 MB / 8.587 GB, free: 13.82 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.002208/22.95, allocations: 173.7 kB / 8.588 GB, free: 13.69 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.00676/22.95, allocations: 5.527 MB / 8.593 GB, free: 9.414 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.003833/22.96, allocations: 2.048 MB / 8.595 GB, free: 7.836 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006821/22.96, allocations: 142 kB / 8.595 GB, free: 7.723 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.0005747/22.96, allocations: 0.5817 MB / 8.596 GB, free: 7.293 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006833/22.97, allocations: 3.183 MB / 8.599 GB, free: 6.176 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008787/22.97, allocations: 5.511 MB / 8.604 GB, free: 2.352 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01719/22.99, allocations: 8.446 MB / 8.612 GB, free: 13.68 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.397e-05/22.99, allocations: 15.25 kB / 8.613 GB, free: 13.68 MB / 1.12 GB Notification: Performance of matching and sorting (n=922) (initialization): time 0.0298/23.02, allocations: 10.02 MB / 8.622 GB, free: 9.414 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 0.001264/23.02, allocations: 1.527 MB / 8.624 GB, free: 7.242 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.942e-05/23.02, allocations: 45.56 kB / 8.624 GB, free: 7.199 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002946/23.03, allocations: 0.7058 MB / 8.625 GB, free: 6.648 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008352/23.03, allocations: 1.657 MB / 8.626 GB, free: 5.258 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008315/23.04, allocations: 8.297 MB / 8.634 GB, free: 12.81 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01439/23.06, allocations: 1.004 MB / 8.635 GB, free: 12.04 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002264/23.06, allocations: 360.6 kB / 8.636 GB, free: 11.73 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/23.06, allocations: 4 kB / 8.636 GB, free: 11.73 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02633/23.09, allocations: 8.869 MB / 8.644 GB, free: 3.895 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001966/23.09, allocations: 48 kB / 8.644 GB, free: 3.848 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002687/23.09, allocations: 0.6328 MB / 8.645 GB, free: 3.336 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008175/23.1, allocations: 1.618 MB / 8.646 GB, free: 1.969 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0107/23.11, allocations: 9.687 MB / 8.656 GB, free: 8.047 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01435/23.12, allocations: 0.963 MB / 8.657 GB, free: 7.309 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002487/23.12, allocations: 356.8 kB / 8.657 GB, free: 6.996 MB / 1.151 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 (872): * Single equations (assignments): 857 * 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.01216/23.14, allocations: 3.336 MB / 8.66 GB, free: 4.078 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005032/23.14, allocations: 1.049 MB / 8.661 GB, free: 3.016 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 693 equation(s) and 691 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.9494/24.09, allocations: 5.584 MB / 8.667 GB, free: 99.76 MB / 1.151 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.