Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Examples.Plant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Experimental.DHC.CentralPlants.Cooling.Examples.Plant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Examples.Plant") translateModel(Buildings.Experimental.DHC.CentralPlants.Cooling.Examples.Plant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Examples.Plant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.607/1.607, allocations: 289.7 MB / 302.2 MB, free: 2.184 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.001094/0.001094, allocations: 179.4 kB / 371.6 MB, free: 3.371 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.681/1.681, allocations: 205.1 MB / 0.6309 GB, free: 11.76 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009155/0.0009156, allocations: 86.77 kB / 0.745 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.517e-05/3.529e-05, allocations: 4 kB / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3038, allocations: 116.3 MB / 0.9798 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.041/6.345, allocations: 2.488 GB / 3.468 GB, free: 104.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003159/6.346, allocations: 108.6 kB / 3.468 GB, free: 104.5 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/Movers/Data/Generic.mo:7:3-11:47:writable] Error: Array equation has unknown size in perCWPum.pressure.V_flow={0.006940000000000001, 0.02082, 0.0347, 0.04164}. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/Movers/Data/Generic.mo:7:3-11:47:writable] Error: Array equation has unknown size in perCHWPum.pressure.V_flow={0.00366, 0.01098, 0.01464, 0.0183}. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Experimental/DHC/CentralPlants/Cooling/Controls/ChilledWaterBypass.mo:78:3-78:77:writable] Warning: connect(y, y) connects the same connector instance! The connect equation will be ignored. Notification: Performance of FrontEnd - DAE generated: time 21.23/27.57, allocations: 4.651 GB / 8.118 GB, free: 53.72 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.316e-06/27.57, allocations: 0 / 8.118 GB, free: 53.72 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.007313/27.58, allocations: 404.2 kB / 8.119 GB, free: 53.66 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: 2283 * Number of variables: 2283 Notification: Performance of Generate backend data structure: time 0.0713/27.65, allocations: 13.71 MB / 8.132 GB, free: 47.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.959e-05/27.65, allocations: 8.812 kB / 8.132 GB, free: 47.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03573/27.69, allocations: 3.809 MB / 8.136 GB, free: 46.78 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1189/27.81, allocations: 32.97 MB / 8.168 GB, free: 44.34 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001978/27.81, allocations: 0.9207 MB / 8.169 GB, free: 44.19 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007823/27.82, allocations: 0.9976 MB / 8.17 GB, free: 44.18 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06182/27.88, allocations: 14.69 MB / 8.184 GB, free: 42.96 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008296/27.88, allocations: 21.94 kB / 8.184 GB, free: 42.96 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006439/27.88, allocations: 380.4 kB / 8.185 GB, free: 42.96 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005784/27.89, allocations: 241.9 kB / 8.185 GB, free: 42.96 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04227/27.93, allocations: 14.5 MB / 8.199 GB, free: 42.88 MB / 1.167 GB Warning: The model contains alias variables with conflicting start and/or 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.156/28.08, allocations: 64.09 MB / 8.262 GB, free: 24.26 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02785/28.11, allocations: 11.25 MB / 8.273 GB, free: 23.84 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01262/28.12, allocations: 5.887 MB / 8.278 GB, free: 23.79 MB / 1.167 GB Warning: The model contains alias variables with conflicting start and/or 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.07514/28.2, allocations: 26.08 MB / 8.304 GB, free: 15.23 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01563/28.22, allocations: 6.577 MB / 8.31 GB, free: 12.69 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01542/28.23, allocations: 2.079 MB / 8.312 GB, free: 12.02 MB / 1.167 GB Notification: Performance of pre-optimization done (n=678): time 5.151e-05/28.23, allocations: 0 / 8.312 GB, free: 12.02 MB / 1.167 GB Notification: Performance of matching and sorting (n=678): time 0.04282/28.27, allocations: 11.78 MB / 8.324 GB, free: 7.258 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003503/28.27, allocations: 0.9226 MB / 8.325 GB, free: 6.207 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04222/28.32, allocations: 14.78 MB / 8.339 GB, free: 0.8242 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.003802/28.32, allocations: 245.7 kB / 8.339 GB, free: 0.6562 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.02442/28.34, allocations: 7.69 MB / 8.347 GB, free: 14.34 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.00578/28.35, allocations: 2.213 MB / 8.349 GB, free: 12.64 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003761/28.35, allocations: 169.2 kB / 8.349 GB, free: 12.51 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.00164/28.36, allocations: 0.6521 MB / 8.35 GB, free: 12.04 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0134/28.37, allocations: 5.561 MB / 8.355 GB, free: 9.773 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01763/28.39, allocations: 8.599 MB / 8.364 GB, free: 4.262 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01589/28.4, allocations: 6.307 MB / 8.37 GB, free: 1.707 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001059/28.4, allocations: 11.25 kB / 8.37 GB, free: 1.707 MB / 1.182 GB Notification: Performance of matching and sorting (n=1103) (initialization): time 0.05286/28.46, allocations: 16.02 MB / 8.385 GB, free: 6.344 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.302/29.76, allocations: 29.4 MB / 8.414 GB, free: 91.3 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003723/29.76, allocations: 58.72 kB / 8.414 GB, free: 91.3 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.182/33.94, allocations: 0.5987 GB / 9.013 GB, free: 202.3 MB / 1.323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01298/33.95, allocations: 2.094 MB / 9.015 GB, free: 202.3 MB / 1.323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009234/33.96, allocations: 8.786 MB / 9.023 GB, free: 196.7 MB / 1.323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01927/33.98, allocations: 1.359 MB / 9.025 GB, free: 196.7 MB / 1.323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004168/33.99, allocations: 0.4895 MB / 9.025 GB, free: 196.7 MB / 1.323 GB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/33.99, allocations: 7.312 kB / 9.025 GB, free: 196.7 MB / 1.323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04169/34.03, allocations: 14.96 MB / 9.04 GB, free: 196.3 MB / 1.323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003894/34.03, allocations: 61.11 kB / 9.04 GB, free: 196.3 MB / 1.323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.908/37.94, allocations: 0.5987 GB / 9.639 GB, free: 142.1 MB / 1.323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01181/37.95, allocations: 2.073 MB / 9.641 GB, free: 140.6 MB / 1.323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009784/37.96, allocations: 9.116 MB / 9.65 GB, free: 133.6 MB / 1.323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02266/37.98, allocations: 1.307 MB / 9.651 GB, free: 132.8 MB / 1.323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004029/37.99, allocations: 478.7 kB / 9.651 GB, free: 132.5 MB / 1.323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 198 * Number of states: 0 () * Number of discrete variables: 135 ($PRE.pla.chiWatPumCon.pumStaCon.con1.enableFire,$PRE.pla.chiWatPumCon.pumStaCon.con2.enableFire,$PRE.pla.chiWatPumCon.pumStaCon.con3.enableFire,$PRE.pla.chiWatPumCon.pumStaCon.con4.enableFire,$PRE.pla.chiStaCon.offToOne.enableFire,$PRE.pla.chiStaCon.oneToTwo.enableFire,$PRE.pla.chiStaCon.twoToOne.enableFire,$PRE.pla.chiStaCon.oneToOff.enableFire,$whenCondition13,$whenCondition12,pla.chiStaCon.stateGraphRoot.resume,pla.chiStaCon.stateGraphRoot.suspend,pla.chiWatPumCon.pumStaCon.stateGraphRoot.resume,pla.chiWatPumCon.pumStaCon.stateGraphRoot.suspend,$whenCondition14,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.pla.cooTowWitByp.hys.y,pla.cooTowWitByp.hys.y,$PRE.pla.pumCHW.hys[1].y,pla.pumCHW.hys[1].y,$PRE.pla.pumCHW.hys[2].y,pla.pumCHW.hys[2].y,$PRE.pla.pumCW.hys[1].y,pla.pumCW.hys[1].y,$PRE.pla.pumCW.hys[2].y,pla.pumCW.hys[2].y,pla.chiWatPumCon.pumStaCon.con1.enableFire,pla.chiWatPumCon.pumStaCon.con1.fire,$PRE.pla.chiWatPumCon.pumStaCon.con1.t_start,pla.chiWatPumCon.pumStaCon.con1.t_start,pla.chiWatPumCon.pumStaCon.con1.condition,$PRE.pla.chiWatPumCon.pumStaCon.oneOn.localActive,pla.chiWatPumCon.pumStaCon.oneOn.localActive,pla.chiWatPumCon.pumStaCon.oneOn.inPort[2].occupied,pla.chiWatPumCon.pumStaCon.oneOn.outPort[2].available,$PRE.pla.chiWatPumCon.pumStaCon.oneOn.newActive,pla.chiWatPumCon.pumStaCon.oneOn.newActive,$PRE.pla.chiWatPumCon.pumStaCon.oneOn.oldActive,pla.chiWatPumCon.pumStaCon.oneOn.oldActive,pla.chiWatPumCon.pumStaCon.oneOn.active,$PRE.pla.chiWatPumCon.pumStaCon.off.localActive,pla.chiWatPumCon.pumStaCon.off.localActive,$PRE.pla.chiWatPumCon.pumStaCon.off.newActive,pla.chiWatPumCon.pumStaCon.off.newActive,$PRE.pla.chiWatPumCon.pumStaCon.off.oldActive,pla.chiWatPumCon.pumStaCon.off.oldActive,pla.chiWatPumCon.pumStaCon.off.active,$PRE.pla.chiWatPumCon.pumStaCon.twoOn.localActive,pla.chiWatPumCon.pumStaCon.twoOn.localActive,$PRE.pla.chiWatPumCon.pumStaCon.twoOn.newActive,pla.chiWatPumCon.pumStaCon.twoOn.newActive,$PRE.pla.chiWatPumCon.pumStaCon.twoOn.oldActive,pla.chiWatPumCon.pumStaCon.twoOn.oldActive,pla.chiWatPumCon.pumStaCon.twoOn.active,pla.chiWatPumCon.pumStaCon.con2.enableFire,pla.chiWatPumCon.pumStaCon.con2.fire,$PRE.pla.chiWatPumCon.pumStaCon.con2.t_start,pla.chiWatPumCon.pumStaCon.con2.t_start,pla.chiWatPumCon.pumStaCon.con2.condition,pla.chiWatPumCon.pumStaCon.con3.enableFire,pla.chiWatPumCon.pumStaCon.con3.fire,$PRE.pla.chiWatPumCon.pumStaCon.con3.t_start,pla.chiWatPumCon.pumStaCon.con3.t_start,pla.chiWatPumCon.pumStaCon.con3.condition,pla.chiWatPumCon.pumStaCon.con4.enableFire,pla.chiWatPumCon.pumStaCon.con4.fire,$PRE.pla.chiWatPumCon.pumStaCon.con4.t_start,pla.chiWatPumCon.pumStaCon.con4.t_start,pla.chiWatPumCon.pumStaCon.con4.condition,pla.chiWatPumCon.pumStaCon.stateGraphRoot.activeSteps,pla.chiWatPumCon.pumStaCon.addInt.u1,pla.chiWatPumCon.pumStaCon.addInt.u2,pla.chiWatPumCon.pumStaCon.addInt.y,pla.chiStaCon.stateGraphRoot.activeSteps,$PRE.pla.chiStaCon.off.localActive,pla.chiStaCon.off.localActive,$PRE.pla.chiStaCon.off.newActive,pla.chiStaCon.off.newActive,$PRE.pla.chiStaCon.off.oldActive,pla.chiStaCon.off.oldActive,pla.chiStaCon.off.active,$PRE.pla.chiStaCon.oneOn.localActive,pla.chiStaCon.oneOn.localActive,pla.chiStaCon.oneOn.inPort[2].occupied,pla.chiStaCon.oneOn.outPort[2].available,$PRE.pla.chiStaCon.oneOn.newActive,pla.chiStaCon.oneOn.newActive,$PRE.pla.chiStaCon.oneOn.oldActive,pla.chiStaCon.oneOn.oldActive,pla.chiStaCon.oneOn.active,$PRE.pla.chiStaCon.twoOn.localActive,pla.chiStaCon.twoOn.localActive,$PRE.pla.chiStaCon.twoOn.newActive,pla.chiStaCon.twoOn.newActive,$PRE.pla.chiStaCon.twoOn.oldActive,pla.chiStaCon.twoOn.oldActive,pla.chiStaCon.twoOn.active,pla.chiStaCon.offToOne.enableFire,pla.chiStaCon.offToOne.fire,$PRE.pla.chiStaCon.offToOne.t_start,pla.chiStaCon.offToOne.t_start,pla.chiStaCon.oneToTwo.enableFire,pla.chiStaCon.oneToTwo.fire,$PRE.pla.chiStaCon.oneToTwo.t_start,pla.chiStaCon.oneToTwo.t_start,pla.chiStaCon.twoToOne.enableFire,pla.chiStaCon.twoToOne.fire,$PRE.pla.chiStaCon.twoToOne.t_start,pla.chiStaCon.twoToOne.t_start,pla.chiStaCon.oneToOff.enableFire,pla.chiStaCon.oneToOff.fire,$PRE.pla.chiStaCon.oneToOff.t_start,pla.chiStaCon.oneToOff.t_start,$PRE.pla.chiStaCon.thrOneToTwo.y,pla.chiStaCon.thrOneToTwo.y,pla.chiStaCon.TwoToOne.y,pla.chiBypCon.chiOn[1],pla.chiBypCon.bypValCon.trigger,pla.chiBypCon.booToInt[1].y,pla.chiBypCon.booToInt[2].y,pla.chiBypCon.intGreThr.u,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (996): * Single equations (assignments): 967 * Array equations: 12 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 7 * 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: 0 * Non-linear torn systems: 7 {5 37,1 6,1 6,4 11,1 1,1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.008064/37.99, allocations: 0.7038 MB / 9.652 GB, free: 132.2 MB / 1.323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007714/38, allocations: 1.335 MB / 9.653 GB, free: 131.5 MB / 1.323 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 809 equation(s) and 807 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02754/38.03, allocations: 7.472 MB / 9.661 GB, free: 127 MB / 1.323 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.