Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Experimental.DHC.Plants.Cooling.Examples.ElectricChillerParallel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Experimental.DHC.Plants.Cooling.Examples.ElectricChillerParallel,fileNamePrefix="Buildings_9_Buildings_Experimental_DHC_Plants_Cooling_Examples_ElectricChillerParallel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Plants.Cooling.Examples.ElectricChillerParallel,fileNamePrefix="Buildings_9_Buildings_Experimental_DHC_Plants_Cooling_Examples_ElectricChillerParallel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.329/2.329, allocations: 390.3 MB / 405.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 169.2 kB / 498.1 MB, free: 5.766 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.698/1.698, allocations: 223.2 MB / 0.7948 GB, free: 18.92 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 104.4 kB / 0.9346 GB, free: 7.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004009/0.0004011, allocations: 7.844 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3419, allocations: 142.4 MB / 1.223 GB, free: 89.51 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.594/5.936, allocations: 2.328 GB / 3.551 GB, free: 87.46 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002865/5.936, allocations: 113.2 kB / 3.551 GB, free: 87.35 MB / 1.167 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.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 9.1.1-maint.9.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 9.1.1-maint.9.1.x/Experimental/DHC/Plants/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 17.6/23.54, allocations: 4.686 GB / 8.238 GB, free: 63.84 MB / 1.354 GB Notification: Performance of FrontEnd: time 2.865e-06/23.54, allocations: 0 / 8.238 GB, free: 63.84 MB / 1.354 GB Notification: Performance of Transformations before backend: time 0.004718/23.54, allocations: 383.4 kB / 8.238 GB, free: 63.78 MB / 1.354 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2307 * Number of variables: 2307 Notification: Performance of Generate backend data structure: time 0.07976/23.62, allocations: 19.72 MB / 8.257 GB, free: 56.12 MB / 1.354 GB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/23.62, allocations: 9.281 kB / 8.257 GB, free: 56.12 MB / 1.354 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008619/23.63, allocations: 1.208 MB / 8.259 GB, free: 56.03 MB / 1.354 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03078/23.66, allocations: 4.678 MB / 8.263 GB, free: 55.02 MB / 1.354 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08714/23.75, allocations: 33.29 MB / 8.296 GB, free: 52.16 MB / 1.354 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001487/23.75, allocations: 0.9268 MB / 8.297 GB, free: 52.01 MB / 1.354 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007121/23.76, allocations: 1 MB / 8.298 GB, free: 52 MB / 1.354 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05433/23.81, allocations: 15.61 MB / 8.313 GB, free: 50.96 MB / 1.354 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004286/23.81, allocations: 20.16 kB / 8.313 GB, free: 50.95 MB / 1.354 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004224/23.82, allocations: 376 kB / 8.313 GB, free: 50.95 MB / 1.354 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003213/23.82, allocations: 363.5 kB / 8.314 GB, free: 50.92 MB / 1.354 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05045/23.87, allocations: 16.76 MB / 8.33 GB, free: 49.74 MB / 1.354 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.1521/24.02, allocations: 65 MB / 8.393 GB, free: 3.5 MB / 1.354 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03934/24.06, allocations: 13.24 MB / 8.406 GB, free: 9.492 MB / 1.37 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 1.315/25.37, allocations: 26.56 MB / 8.432 GB, free: 88.42 MB / 1.37 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02419/25.4, allocations: 7.644 MB / 8.44 GB, free: 88.2 MB / 1.37 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01838/25.42, allocations: 2.077 MB / 8.442 GB, free: 88.2 MB / 1.37 GB Notification: Performance of pre-optimization done (n=696): time 8.912e-05/25.42, allocations: 0 / 8.442 GB, free: 88.2 MB / 1.37 GB Notification: Performance of matching and sorting (n=696): time 0.07528/25.49, allocations: 22.88 MB / 8.464 GB, free: 87.4 MB / 1.37 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002607/25.49, allocations: 425.9 kB / 8.464 GB, free: 86.99 MB / 1.37 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05129/25.54, allocations: 15 MB / 8.479 GB, free: 86.34 MB / 1.37 GB Notification: Performance of collectPreVariables (initialization): time 0.004372/25.55, allocations: 245.5 kB / 8.479 GB, free: 86.31 MB / 1.37 GB Notification: Performance of collectInitialEqns (initialization): time 0.01759/25.56, allocations: 6.826 MB / 8.486 GB, free: 85.48 MB / 1.37 GB Notification: Performance of collectInitialBindings (initialization): time 0.006257/25.57, allocations: 2.284 MB / 8.488 GB, free: 84.32 MB / 1.37 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003877/25.57, allocations: 172.2 kB / 8.488 GB, free: 84.32 MB / 1.37 GB Notification: Performance of setup shared object (initialization): time 0.001419/25.58, allocations: 0.6427 MB / 8.489 GB, free: 84 MB / 1.37 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01851/25.59, allocations: 6.458 MB / 8.495 GB, free: 83.98 MB / 1.37 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02071/25.62, allocations: 9.316 MB / 8.504 GB, free: 81.36 MB / 1.37 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0191/25.63, allocations: 7.162 MB / 8.511 GB, free: 81.25 MB / 1.37 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001582/25.63, allocations: 9.938 kB / 8.511 GB, free: 81.25 MB / 1.37 GB Notification: Performance of matching and sorting (n=1093) (initialization): time 0.06033/25.7, allocations: 17.78 MB / 8.529 GB, free: 80.26 MB / 1.37 GB Notification: Performance of prepare postOptimizeDAE: time 0.007387/25.7, allocations: 29.23 MB / 8.557 GB, free: 50.29 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000353/25.7, allocations: 41.03 kB / 8.557 GB, free: 50.29 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.454/30.16, allocations: 0.5987 GB / 9.156 GB, free: 187.9 MB / 1.479 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01432/30.17, allocations: 2.346 MB / 9.158 GB, free: 187.9 MB / 1.479 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01044/30.18, allocations: 8.704 MB / 9.167 GB, free: 182.3 MB / 1.479 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02471/30.21, allocations: 1.444 MB / 9.168 GB, free: 182.2 MB / 1.479 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005726/30.21, allocations: 494.7 kB / 9.169 GB, free: 182.2 MB / 1.479 GB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/30.21, allocations: 8 kB / 9.169 GB, free: 182.2 MB / 1.479 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0497/30.26, allocations: 16.71 MB / 9.185 GB, free: 181.9 MB / 1.479 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002873/30.26, allocations: 46.11 kB / 9.185 GB, free: 181.9 MB / 1.479 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.17/34.43, allocations: 0.5989 GB / 9.784 GB, free: 194.8 MB / 1.51 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.013/34.45, allocations: 2.307 MB / 9.786 GB, free: 193.1 MB / 1.51 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02119/34.47, allocations: 15.36 MB / 9.801 GB, free: 182.4 MB / 1.51 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01928/34.49, allocations: 1.388 MB / 9.803 GB, free: 181.6 MB / 1.51 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003829/34.49, allocations: 468.3 kB / 9.803 GB, free: 181.3 MB / 1.51 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 (1023): * Single equations (assignments): 1010 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * 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 17,1 6,1 6,4 10,1 1,1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.01969/34.51, allocations: 5.712 MB / 9.809 GB, free: 179 MB / 1.51 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007819/34.52, allocations: 1.333 MB / 9.81 GB, free: 178.3 MB / 1.51 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 827 equation(s) and 825 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02992/34.55, allocations: 8.526 MB / 9.818 GB, free: 174.4 MB / 1.51 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.