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.761/1.761, allocations: 292.6 MB / 307.5 MB, free: 5.188 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.001651/0.001651, allocations: 181 kB / 377.1 MB, free: 1.523 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.896/1.896, allocations: 205.4 MB / 0.6366 GB, free: 9.562 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.0009487/0.0009486, allocations: 91.31 kB / 0.7509 GB, free: 62.54 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004557/0.0004557, allocations: 12 kB / 0.8749 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2868/0.2873, allocations: 116.3 MB / 0.9884 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.336/7.623, allocations: 2.488 GB / 3.476 GB, free: 51.01 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003215/7.624, allocations: 112.5 kB / 3.476 GB, free: 50.9 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.27/29.9, allocations: 4.664 GB / 8.14 GB, free: 52.93 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.944e-06/29.9, allocations: 7.031 kB / 8.14 GB, free: 52.93 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.005416/29.9, allocations: 397.9 kB / 8.14 GB, free: 52.87 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.08737/29.99, allocations: 19.76 MB / 8.16 GB, free: 45.35 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.651e-05/29.99, allocations: 8.719 kB / 8.16 GB, free: 45.35 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009689/30, allocations: 1.202 MB / 8.161 GB, free: 45.26 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02934/30.03, allocations: 3.819 MB / 8.165 GB, free: 44.27 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09834/30.13, allocations: 33.32 MB / 8.197 GB, free: 41.73 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002045/30.13, allocations: 0.9245 MB / 8.198 GB, free: 41.58 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007892/30.14, allocations: 1.001 MB / 8.199 GB, free: 41.57 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05905/30.19, allocations: 15.54 MB / 8.214 GB, free: 40.29 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007159/30.2, allocations: 14.94 kB / 8.214 GB, free: 40.29 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006235/30.2, allocations: 383.4 kB / 8.215 GB, free: 40.29 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000343/30.2, allocations: 246.9 kB / 8.215 GB, free: 40.28 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05153/30.25, allocations: 16.26 MB / 8.231 GB, free: 40.08 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.1656/30.42, allocations: 64.1 MB / 8.293 GB, free: 9.625 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03206/30.45, allocations: 12.45 MB / 8.305 GB, free: 5.016 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.08403/30.54, allocations: 25.97 MB / 8.331 GB, free: 1.461 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0231/30.56, allocations: 7.459 MB / 8.338 GB, free: 12.06 MB / 1.182 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01896/30.58, allocations: 2.078 MB / 8.34 GB, free: 10.38 MB / 1.182 GB Notification: Performance of pre-optimization done (n=678): time 6.478e-05/30.58, allocations: 0 / 8.34 GB, free: 10.38 MB / 1.182 GB Notification: Performance of matching and sorting (n=678): time 1.255/31.83, allocations: 23.92 MB / 8.364 GB, free: 89.98 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003408/31.83, allocations: 0.9222 MB / 8.364 GB, free: 88.95 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05299/31.89, allocations: 14.93 MB / 8.379 GB, free: 88.3 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.003929/31.89, allocations: 249.2 kB / 8.379 GB, free: 88.27 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.01596/31.91, allocations: 6.927 MB / 8.386 GB, free: 87.69 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.005593/31.91, allocations: 2.223 MB / 8.388 GB, free: 86.57 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003777/31.92, allocations: 167.4 kB / 8.388 GB, free: 86.57 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.001545/31.92, allocations: 0.6508 MB / 8.389 GB, free: 86.24 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01703/31.93, allocations: 6.358 MB / 8.395 GB, free: 86.22 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02101/31.96, allocations: 9.408 MB / 8.404 GB, free: 83.42 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02124/31.98, allocations: 7.083 MB / 8.411 GB, free: 83.3 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001869/31.98, allocations: 12.66 kB / 8.411 GB, free: 83.3 MB / 1.182 GB Notification: Performance of matching and sorting (n=1103) (initialization): time 0.06719/32.04, allocations: 17.74 MB / 8.429 GB, free: 82.31 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.008776/32.05, allocations: 29.4 MB / 8.457 GB, free: 52.21 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004438/32.05, allocations: 61.7 kB / 8.457 GB, free: 52.21 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.129/36.18, allocations: 0.5991 GB / 9.056 GB, free: 163.9 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01412/36.2, allocations: 2.096 MB / 9.058 GB, free: 162.4 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01299/36.21, allocations: 9.271 MB / 9.068 GB, free: 154.9 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02162/36.23, allocations: 1.355 MB / 9.069 GB, free: 154.2 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004457/36.24, allocations: 0.4903 MB / 9.069 GB, free: 153.8 MB / 1.276 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/36.24, allocations: 4.625 kB / 9.069 GB, free: 153.8 MB / 1.276 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05398/36.29, allocations: 16.59 MB / 9.086 GB, free: 145.6 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005011/36.29, allocations: 59.78 kB / 9.086 GB, free: 145.5 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.09/40.38, allocations: 0.599 GB / 9.685 GB, free: 25.94 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01187/40.39, allocations: 2.078 MB / 9.687 GB, free: 24.04 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0112/40.4, allocations: 9.527 MB / 9.696 GB, free: 15.93 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02004/40.42, allocations: 1.305 MB / 9.697 GB, free: 14.81 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004386/40.43, allocations: 476.9 kB / 9.698 GB, free: 14.41 MB / 1.292 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.01905/40.45, allocations: 5.743 MB / 9.703 GB, free: 11.22 MB / 1.292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009602/40.46, allocations: 1.339 MB / 9.705 GB, free: 10.59 MB / 1.292 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.02979/40.49, allocations: 8.25 MB / 9.713 GB, free: 5.207 MB / 1.292 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.