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: "" <> buildModelFMU(Buildings.Experimental.DHC.CentralPlants.Cooling.Examples.Plant,fileNamePrefix="Buildings_8_Buildings_Experimental_DHC_CentralPlants_Cooling_Examples_Plant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.CentralPlants.Cooling.Examples.Plant,fileNamePrefix="Buildings_8_Buildings_Experimental_DHC_CentralPlants_Cooling_Examples_Plant",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.732/1.732, allocations: 289.7 MB / 302.2 MB, free: 2.199 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.001188/0.001188, allocations: 178.1 kB / 371.6 MB, free: 3.344 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.654/1.654, allocations: 205.1 MB / 0.6309 GB, free: 11.78 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.0009733/0.0009734, allocations: 88.83 kB / 0.745 GB, free: 54.67 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.877e-05/3.894e-05, allocations: 0 / 0.8663 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.2958, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.877/7.173, allocations: 2.488 GB / 3.468 GB, free: 104.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002806/7.173, allocations: 109 kB / 3.468 GB, free: 104.4 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 22.24/29.41, allocations: 4.65 GB / 8.118 GB, free: 51.74 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.084e-06/29.41, allocations: 3.062 kB / 8.118 GB, free: 51.74 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.005329/29.42, allocations: 394.5 kB / 8.118 GB, free: 51.68 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.0743/29.49, allocations: 13.72 MB / 8.131 GB, free: 45.71 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.748e-05/29.49, allocations: 10.62 kB / 8.131 GB, free: 45.71 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009174/29.5, allocations: 1.187 MB / 8.132 GB, free: 45.62 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02887/29.53, allocations: 3.815 MB / 8.136 GB, free: 44.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09652/29.63, allocations: 32.96 MB / 8.168 GB, free: 42.26 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001881/29.63, allocations: 0.9242 MB / 8.169 GB, free: 42.11 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007275/29.64, allocations: 0.9943 MB / 8.17 GB, free: 42.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05829/29.7, allocations: 14.69 MB / 8.185 GB, free: 40.88 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009849/29.7, allocations: 12.62 kB / 8.185 GB, free: 40.88 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00736/29.71, allocations: 388.5 kB / 8.185 GB, free: 40.88 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003229/29.71, allocations: 244 kB / 8.185 GB, free: 40.88 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03901/29.74, allocations: 14.49 MB / 8.199 GB, free: 40.8 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.1517/29.9, allocations: 64.09 MB / 8.262 GB, free: 22.22 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02601/29.92, allocations: 11.23 MB / 8.273 GB, free: 21.81 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01254/29.94, allocations: 5.889 MB / 8.279 GB, free: 21.76 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.07243/30.01, allocations: 26.1 MB / 8.304 GB, free: 13.19 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01595/30.02, allocations: 6.569 MB / 8.311 GB, free: 10.66 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01678/30.04, allocations: 2.08 MB / 8.313 GB, free: 9.992 MB / 1.167 GB Notification: Performance of pre-optimization done (n=678): time 6.219e-05/30.04, allocations: 0 / 8.313 GB, free: 9.992 MB / 1.167 GB Notification: Performance of matching and sorting (n=678): time 0.0417/30.08, allocations: 11.79 MB / 8.324 GB, free: 5.223 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003874/30.08, allocations: 0.9195 MB / 8.325 GB, free: 4.176 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05209/30.14, allocations: 14.8 MB / 8.339 GB, free: 14.9 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.004777/30.14, allocations: 250.2 kB / 8.34 GB, free: 14.73 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.01913/30.16, allocations: 6.935 MB / 8.346 GB, free: 9.352 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.006937/30.17, allocations: 2.22 MB / 8.349 GB, free: 7.652 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003981/30.17, allocations: 165.9 kB / 8.349 GB, free: 7.523 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.001793/30.17, allocations: 0.6528 MB / 8.349 GB, free: 7.055 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01553/30.19, allocations: 5.556 MB / 8.355 GB, free: 4.793 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02073/30.21, allocations: 8.595 MB / 8.363 GB, free: 15.28 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01772/30.23, allocations: 6.309 MB / 8.369 GB, free: 12.72 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001153/30.23, allocations: 14.53 kB / 8.369 GB, free: 12.72 MB / 1.198 GB Notification: Performance of matching and sorting (n=1103) (initialization): time 0.06076/30.29, allocations: 16 MB / 8.385 GB, free: 2.941 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.381/31.67, allocations: 29.4 MB / 8.414 GB, free: 85.96 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003654/31.67, allocations: 58.62 kB / 8.414 GB, free: 85.96 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.205/35.87, allocations: 0.5987 GB / 9.013 GB, free: 199.9 MB / 1.323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01279/35.89, allocations: 2.098 MB / 9.015 GB, free: 199.9 MB / 1.323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01111/35.9, allocations: 8.777 MB / 9.023 GB, free: 194.3 MB / 1.323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02283/35.92, allocations: 1.365 MB / 9.025 GB, free: 194.3 MB / 1.323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004738/35.93, allocations: 498.5 kB / 9.025 GB, free: 194.3 MB / 1.323 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/35.93, allocations: 3.625 kB / 9.025 GB, free: 194.3 MB / 1.323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05359/35.98, allocations: 14.97 MB / 9.04 GB, free: 194 MB / 1.323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004223/35.98, allocations: 59.3 kB / 9.04 GB, free: 194 MB / 1.323 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.157/40.14, allocations: 0.5988 GB / 9.638 GB, free: 138.9 MB / 1.323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01244/40.15, allocations: 2.074 MB / 9.64 GB, free: 137.5 MB / 1.323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0114/40.16, allocations: 9.111 MB / 9.649 GB, free: 130.4 MB / 1.323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02173/40.18, allocations: 1.311 MB / 9.651 GB, free: 129.3 MB / 1.323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004731/40.19, allocations: 479 kB / 9.651 GB, free: 128.9 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.008991/40.2, allocations: 0.6976 MB / 9.652 GB, free: 128.5 MB / 1.323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009169/40.21, allocations: 1.339 MB / 9.653 GB, free: 127.9 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.03436/40.24, allocations: 7.471 MB / 9.66 GB, free: 123.1 MB / 1.323 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.