Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl") translateModel(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.624/1.624, allocations: 288.4 MB / 304.3 MB, free: 8.121 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001121/0.001121, allocations: 176.5 kB / 373 MB, free: 10.13 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.656/1.656, allocations: 205.4 MB / 0.6317 GB, free: 9.895 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008522/0.0008522, allocations: 104.6 kB / 0.745 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003831/0.0003831, allocations: 12.25 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2228, allocations: 115.3 MB / 0.9807 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.016/6.239, allocations: 2.439 GB / 3.42 GB, free: 228.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002065/6.239, allocations: 93.17 kB / 3.42 GB, free: 228.4 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1-maint.8.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 8.0.1-maint.8.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 8.0.1-maint.8.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 18.73/24.97, allocations: 5.092 GB / 8.512 GB, free: 63.54 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.506e-06/24.97, allocations: 0 / 8.512 GB, free: 63.54 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.002339/24.97, allocations: 325.1 kB / 8.512 GB, free: 63.49 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.05747/25.03, allocations: 14.38 MB / 8.526 GB, free: 57.32 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/25.03, allocations: 10.03 kB / 8.526 GB, free: 57.32 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02479/25.06, allocations: 3.331 MB / 8.529 GB, free: 56.56 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0469/25.1, allocations: 14.59 MB / 8.543 GB, free: 54.32 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001349/25.1, allocations: 0.7648 MB / 8.544 GB, free: 54.24 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005187/25.11, allocations: 0.9203 MB / 8.545 GB, free: 54.23 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04126/25.15, allocations: 11.54 MB / 8.556 GB, free: 53.17 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007366/25.15, allocations: 19.62 kB / 8.556 GB, free: 53.17 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004172/25.15, allocations: 368.7 kB / 8.557 GB, free: 53.17 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003755/25.16, allocations: 364.1 kB / 8.557 GB, free: 53.15 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03029/25.19, allocations: 10.49 MB / 8.567 GB, free: 53.07 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.1086/25.29, allocations: 50.06 MB / 8.616 GB, free: 31.81 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01857/25.31, allocations: 9.151 MB / 8.625 GB, free: 30.02 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009207/25.32, allocations: 4.213 MB / 8.629 GB, free: 29.94 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.05206/25.37, allocations: 18.56 MB / 8.647 GB, free: 24.71 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008434/25.38, allocations: 4.167 MB / 8.651 GB, free: 24.49 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009352/25.39, allocations: 1.89 MB / 8.653 GB, free: 24.24 MB / 1.167 GB Notification: Performance of pre-optimization done (n=600): time 3.523e-05/25.39, allocations: 0.6562 kB / 8.653 GB, free: 24.24 MB / 1.167 GB Notification: Performance of matching and sorting (n=649): time 0.07508/25.47, allocations: 25.69 MB / 8.678 GB, free: 19.21 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001501/25.47, allocations: 388.8 kB / 8.679 GB, free: 18.83 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01787/25.49, allocations: 9.633 MB / 8.688 GB, free: 18.19 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.002175/25.49, allocations: 178.9 kB / 8.688 GB, free: 18.16 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.006427/25.49, allocations: 5.521 MB / 8.694 GB, free: 16.58 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.00347/25.5, allocations: 2.196 MB / 8.696 GB, free: 15.18 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006697/25.5, allocations: 148.3 kB / 8.696 GB, free: 15.18 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0004615/25.5, allocations: 0.603 MB / 8.697 GB, free: 14.85 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006842/25.51, allocations: 3.435 MB / 8.7 GB, free: 14.82 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009654/25.52, allocations: 5.796 MB / 8.706 GB, free: 12.31 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01637/25.53, allocations: 9.008 MB / 8.714 GB, free: 10.33 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.134e-05/25.53, allocations: 15.06 kB / 8.714 GB, free: 10.33 MB / 1.167 GB Notification: Performance of matching and sorting (n=966) (initialization): time 0.02804/25.56, allocations: 11.93 MB / 8.726 GB, free: 9.43 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008238/25.56, allocations: 1.527 MB / 8.728 GB, free: 7.508 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.699e-05/25.56, allocations: 45.94 kB / 8.728 GB, free: 7.508 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01356/25.57, allocations: 4.974 MB / 8.732 GB, free: 7.332 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005961/25.58, allocations: 1.292 MB / 8.734 GB, free: 7.328 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01849/25.6, allocations: 13.88 MB / 8.747 GB, free: 2.387 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01368/25.61, allocations: 1.029 MB / 8.748 GB, free: 2.258 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001802/25.61, allocations: 371.8 kB / 8.749 GB, free: 2.258 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/25.61, allocations: 8.031 kB / 8.749 GB, free: 2.254 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02131/25.64, allocations: 10.74 MB / 8.759 GB, free: 180 kB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001223/25.64, allocations: 48.03 kB / 8.759 GB, free: 180 kB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01331/25.65, allocations: 4.902 MB / 8.764 GB, free: 15.18 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005715/25.65, allocations: 1.268 MB / 8.765 GB, free: 15.05 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02195/25.68, allocations: 15.83 MB / 8.781 GB, free: 4.91 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01347/25.69, allocations: 0.9925 MB / 8.782 GB, free: 4.668 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002065/25.69, allocations: 361.1 kB / 8.782 GB, free: 4.605 MB / 1.182 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 (742): * Single equations (assignments): 729 * 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.01017/25.7, allocations: 3.374 MB / 8.785 GB, free: 2.941 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003436/25.71, allocations: 1.058 MB / 8.786 GB, free: 2.383 MB / 1.182 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.01405/25.72, allocations: 5.467 MB / 8.792 GB, free: 108 kB / 1.182 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.