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.734/1.734, allocations: 292.6 MB / 307.5 MB, free: 5.074 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.001104/0.001104, allocations: 181 kB / 377.1 MB, free: 1.418 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.842/1.842, allocations: 205.4 MB / 0.6367 GB, free: 8.637 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.0009379/0.0009383, allocations: 92.28 kB / 0.751 GB, free: 62.89 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003421/0.0003421, allocations: 8 kB / 0.8748 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.3124, allocations: 116.3 MB / 0.9884 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.624/6.937, allocations: 2.488 GB / 3.476 GB, free: 87.94 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003409/6.937, allocations: 113 kB / 3.476 GB, free: 87.83 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 20.02/26.95, allocations: 4.664 GB / 8.141 GB, free: 45.66 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.136e-06/26.95, allocations: 0 / 8.141 GB, free: 45.66 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.005239/26.96, allocations: 396.5 kB / 8.141 GB, free: 45.61 MB / 1.151 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.09406/27.05, allocations: 19.76 MB / 8.16 GB, free: 38.09 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.629e-05/27.05, allocations: 7.562 kB / 8.16 GB, free: 38.09 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0304/27.08, allocations: 3.816 MB / 8.164 GB, free: 37.11 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1005/27.18, allocations: 33.32 MB / 8.197 GB, free: 34.57 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00218/27.19, allocations: 0.9314 MB / 8.198 GB, free: 34.42 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008544/27.19, allocations: 0.9976 MB / 8.199 GB, free: 34.41 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06019/27.25, allocations: 15.54 MB / 8.214 GB, free: 33.13 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006133/27.25, allocations: 17.59 kB / 8.214 GB, free: 33.13 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006092/27.26, allocations: 379.4 kB / 8.214 GB, free: 33.13 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003301/27.26, allocations: 247 kB / 8.214 GB, free: 33.13 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05201/27.31, allocations: 16.26 MB / 8.23 GB, free: 32.98 MB / 1.151 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.1723/27.49, allocations: 64.09 MB / 8.293 GB, free: 9.102 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03193/27.52, allocations: 12.47 MB / 8.305 GB, free: 4.492 MB / 1.151 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.07664/27.59, allocations: 25.96 MB / 8.33 GB, free: 5.25 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02008/27.61, allocations: 7.352 MB / 8.338 GB, free: 2.684 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01652/27.63, allocations: 2.081 MB / 8.34 GB, free: 2.016 MB / 1.167 GB Notification: Performance of pre-optimization done (n=678): time 4.447e-05/27.63, allocations: 0 / 8.34 GB, free: 2.016 MB / 1.167 GB Notification: Performance of matching and sorting (n=678): time 0.08467/27.72, allocations: 24.38 MB / 8.363 GB, free: 0.7812 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005174/27.72, allocations: 0.9154 MB / 8.364 GB, free: 15.66 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0531/27.77, allocations: 14.93 MB / 8.379 GB, free: 3.23 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.004168/27.77, allocations: 251.5 kB / 8.379 GB, free: 2.988 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 1.194/28.97, allocations: 7.199 MB / 8.386 GB, free: 98.38 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.005623/28.97, allocations: 2.221 MB / 8.388 GB, free: 97.7 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00177/28.97, allocations: 170.3 kB / 8.389 GB, free: 97.7 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0009542/28.98, allocations: 0.6448 MB / 8.389 GB, free: 97.38 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01595/28.99, allocations: 6.354 MB / 8.395 GB, free: 97.35 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02282/29.01, allocations: 9.405 MB / 8.405 GB, free: 94.55 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01929/29.03, allocations: 7.077 MB / 8.411 GB, free: 94.45 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000268/29.03, allocations: 15.25 kB / 8.411 GB, free: 94.45 MB / 1.198 GB Notification: Performance of matching and sorting (n=1103) (initialization): time 0.06362/29.1, allocations: 17.74 MB / 8.429 GB, free: 93.46 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.008304/29.11, allocations: 29.4 MB / 8.458 GB, free: 63.37 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004087/29.11, allocations: 57.67 kB / 8.458 GB, free: 63.37 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.975/33.08, allocations: 0.5991 GB / 9.057 GB, free: 179.4 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01314/33.09, allocations: 2.101 MB / 9.059 GB, free: 179.4 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01039/33.1, allocations: 9.262 MB / 9.068 GB, free: 173.9 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01922/33.12, allocations: 1.361 MB / 9.069 GB, free: 173.8 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004028/33.13, allocations: 0.4895 MB / 9.07 GB, free: 173.8 MB / 1.292 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/33.13, allocations: 3.156 kB / 9.07 GB, free: 173.8 MB / 1.292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04761/33.18, allocations: 16.6 MB / 9.086 GB, free: 173.4 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004423/33.18, allocations: 69.44 kB / 9.086 GB, free: 173.4 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.809/36.99, allocations: 0.599 GB / 9.685 GB, free: 71.84 MB / 1.307 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01181/37, allocations: 2.081 MB / 9.687 GB, free: 69.93 MB / 1.307 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01145/37.01, allocations: 9.521 MB / 9.696 GB, free: 61.82 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01979/37.03, allocations: 1.307 MB / 9.697 GB, free: 60.7 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003962/37.03, allocations: 471.8 kB / 9.698 GB, free: 60.31 MB / 1.307 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (998): * Single equations (assignments): 969 * 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 36,1 6,1 6,4 10,1 1,1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.02114/37.05, allocations: 5.739 MB / 9.704 GB, free: 57.12 MB / 1.307 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006737/37.06, allocations: 1.346 MB / 9.705 GB, free: 56.48 MB / 1.307 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.0272/37.09, allocations: 8.252 MB / 9.713 GB, free: 51.1 MB / 1.307 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.