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: translateModel(Buildings.Experimental.DHC.Plants.Cooling.Examples.ElectricChillerParallel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pla.PCoo|loaVar.y|pla.chiStaCon.plr.y|pla.chiStaCon.y.1.|pla.chiStaCon.y.2.|pla.senMasFlo.m_flow|pla.splCHWSup.port_1.m_flow|pla.splCHWSup.port_2.m_flow|pla.splCHWSup.port_3.m_flow|pla.cooTowWitByp.TWetBul|pla.cooTowWitByp.TLvg|pla.senTCHWSup.T|pla.senTCHWRet.T",fileNamePrefix="Buildings_9_Buildings.Experimental.DHC.Plants.Cooling.Examples.ElectricChillerParallel") translateModel(Buildings.Experimental.DHC.Plants.Cooling.Examples.ElectricChillerParallel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pla.PCoo|loaVar.y|pla.chiStaCon.plr.y|pla.chiStaCon.y.1.|pla.chiStaCon.y.2.|pla.senMasFlo.m_flow|pla.splCHWSup.port_1.m_flow|pla.splCHWSup.port_2.m_flow|pla.splCHWSup.port_3.m_flow|pla.cooTowWitByp.TWetBul|pla.cooTowWitByp.TLvg|pla.senTCHWSup.T|pla.senTCHWRet.T",fileNamePrefix="Buildings_9_Buildings.Experimental.DHC.Plants.Cooling.Examples.ElectricChillerParallel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.153/2.153, allocations: 387.1 MB / 399.7 MB, free: 9.465 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.0009921/0.0009922, allocations: 173 kB / 492.3 MB, free: 0.625 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.509/1.509, allocations: 221.3 MB / 0.7872 GB, free: 12.96 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.0009392/0.0009393, allocations: 93.73 kB / 0.9267 GB, free: 14.03 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.974e-05/2.976e-05, allocations: 3.984 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.2866, allocations: 142.3 MB / 1.212 GB, free: 38.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.044/6.331, allocations: 2.328 GB / 3.541 GB, free: 399.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003321/6.331, allocations: 106.5 kB / 3.541 GB, free: 399.7 MB / 1.151 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 18.9/25.23, allocations: 4.673 GB / 8.214 GB, free: 16.05 MB / 1.339 GB Notification: Performance of FrontEnd: time 2.144e-06/25.23, allocations: 0 / 8.214 GB, free: 16.05 MB / 1.339 GB Notification: Performance of Transformations before backend: time 0.003926/25.23, allocations: 387.7 kB / 8.214 GB, free: 15.67 MB / 1.339 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.05901/25.29, allocations: 13.66 MB / 8.227 GB, free: 1.879 MB / 1.339 GB Notification: Performance of prepare preOptimizeDAE: time 5.773e-05/25.29, allocations: 12.03 kB / 8.227 GB, free: 1.867 MB / 1.339 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03824/25.33, allocations: 4.673 MB / 8.232 GB, free: 13.17 MB / 1.354 GB Notification: Performance of preOpt evaluateParameters (simulation): time 2.634/27.96, allocations: 32.94 MB / 8.264 GB, free: 79.89 MB / 1.37 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002283/27.97, allocations: 0.9258 MB / 8.265 GB, free: 79.74 MB / 1.37 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009167/27.98, allocations: 0.9875 MB / 8.266 GB, free: 79.74 MB / 1.37 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05803/28.03, allocations: 14.65 MB / 8.28 GB, free: 78.79 MB / 1.37 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009073/28.04, allocations: 17.03 kB / 8.28 GB, free: 78.79 MB / 1.37 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005765/28.04, allocations: 381.8 kB / 8.281 GB, free: 78.79 MB / 1.37 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007965/28.04, allocations: 358.2 kB / 8.281 GB, free: 78.77 MB / 1.37 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0428/28.08, allocations: 14.75 MB / 8.295 GB, free: 78.69 MB / 1.37 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.1715/28.26, allocations: 64.99 MB / 8.359 GB, free: 61.31 MB / 1.37 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02863/28.28, allocations: 11.51 MB / 8.37 GB, free: 60.98 MB / 1.37 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01393/28.3, allocations: 6.119 MB / 8.376 GB, free: 60.92 MB / 1.37 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.07004/28.37, allocations: 26.68 MB / 8.402 GB, free: 55.2 MB / 1.37 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01634/28.39, allocations: 6.736 MB / 8.409 GB, free: 54.99 MB / 1.37 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01577/28.4, allocations: 2.075 MB / 8.411 GB, free: 54.82 MB / 1.37 GB Notification: Performance of pre-optimization done (n=696): time 6.04e-05/28.4, allocations: 0 / 8.411 GB, free: 54.82 MB / 1.37 GB Notification: Performance of matching and sorting (n=696): time 0.03709/28.44, allocations: 11.85 MB / 8.422 GB, free: 53.82 MB / 1.37 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002274/28.44, allocations: 425.3 kB / 8.423 GB, free: 53.41 MB / 1.37 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04371/28.48, allocations: 14.84 MB / 8.437 GB, free: 52.62 MB / 1.37 GB Notification: Performance of collectPreVariables (initialization): time 0.004502/28.49, allocations: 244.2 kB / 8.438 GB, free: 52.59 MB / 1.37 GB Notification: Performance of collectInitialEqns (initialization): time 0.01918/28.51, allocations: 6.817 MB / 8.444 GB, free: 51.46 MB / 1.37 GB Notification: Performance of collectInitialBindings (initialization): time 0.006829/28.51, allocations: 2.292 MB / 8.446 GB, free: 50.31 MB / 1.37 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003509/28.52, allocations: 169.7 kB / 8.447 GB, free: 50.31 MB / 1.37 GB Notification: Performance of setup shared object (initialization): time 0.001258/28.52, allocations: 0.6419 MB / 8.447 GB, free: 49.99 MB / 1.37 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01322/28.53, allocations: 5.543 MB / 8.453 GB, free: 49.96 MB / 1.37 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0168/28.55, allocations: 8.399 MB / 8.461 GB, free: 47.34 MB / 1.37 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01513/28.56, allocations: 6.276 MB / 8.467 GB, free: 47.21 MB / 1.37 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000136/28.56, allocations: 12.12 kB / 8.467 GB, free: 47.21 MB / 1.37 GB Notification: Performance of matching and sorting (n=1093) (initialization): time 0.05031/28.61, allocations: 15.78 MB / 8.482 GB, free: 46.22 MB / 1.37 GB Notification: Performance of prepare postOptimizeDAE: time 0.01309/28.63, allocations: 29.23 MB / 8.511 GB, free: 48.25 MB / 1.401 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002625/28.63, allocations: 46.22 kB / 8.511 GB, free: 48.25 MB / 1.401 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.486/34.11, allocations: 0.5987 GB / 9.11 GB, free: 122.3 MB / 1.448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01523/34.13, allocations: 2.346 MB / 9.112 GB, free: 120.7 MB / 1.448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009956/34.14, allocations: 8.255 MB / 9.12 GB, free: 113.8 MB / 1.448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02089/34.16, allocations: 1.442 MB / 9.121 GB, free: 112.9 MB / 1.448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004174/34.16, allocations: 491.4 kB / 9.122 GB, free: 112.6 MB / 1.448 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/34.16, allocations: 4.625 kB / 9.122 GB, free: 112.6 MB / 1.448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0442/34.21, allocations: 14.87 MB / 9.136 GB, free: 105.2 MB / 1.448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002593/34.21, allocations: 44 kB / 9.136 GB, free: 105.1 MB / 1.448 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.422/38.63, allocations: 0.5986 GB / 9.735 GB, free: 123.4 MB / 1.526 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0135/38.64, allocations: 2.307 MB / 9.737 GB, free: 121.2 MB / 1.526 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02058/38.66, allocations: 14.67 MB / 9.752 GB, free: 109.4 MB / 1.526 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02134/38.69, allocations: 1.393 MB / 9.753 GB, free: 108.2 MB / 1.526 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004279/38.69, allocations: 467.8 kB / 9.753 GB, free: 107.8 MB / 1.526 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 (1021): * Single equations (assignments): 1008 * 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 18,1 6,1 6,4 11,1 1,1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.008336/38.7, allocations: 0.7038 MB / 9.754 GB, free: 107.5 MB / 1.526 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008288/38.71, allocations: 1.331 MB / 9.755 GB, free: 106.9 MB / 1.526 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.02833/38.74, allocations: 7.627 MB / 9.763 GB, free: 102 MB / 1.526 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.