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.301/2.301, 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.001964/0.001965, allocations: 193 kB / 498.1 MB, free: 5.77 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.653/1.653, allocations: 223.2 MB / 0.7949 GB, free: 18.01 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.0008968/0.0008968, allocations: 98.39 kB / 0.9346 GB, free: 6.297 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004003/0.0004003, allocations: 10.47 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3391, allocations: 142.3 MB / 1.223 GB, free: 114.4 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.026/6.366, allocations: 2.328 GB / 3.551 GB, free: 148.9 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003243/6.366, allocations: 115.9 kB / 3.551 GB, free: 148.8 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 18.61/24.98, allocations: 4.686 GB / 8.238 GB, free: 71.02 MB / 1.354 GB Notification: Performance of FrontEnd: time 3.146e-06/24.98, allocations: 0 / 8.238 GB, free: 71.02 MB / 1.354 GB Notification: Performance of Transformations before backend: time 0.005518/24.99, allocations: 386.7 kB / 8.238 GB, free: 70.95 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.1016/25.09, allocations: 19.72 MB / 8.257 GB, free: 63.4 MB / 1.354 GB Notification: Performance of prepare preOptimizeDAE: time 7.284e-05/25.09, allocations: 7.344 kB / 8.257 GB, free: 63.4 MB / 1.354 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03217/25.12, allocations: 4.679 MB / 8.262 GB, free: 62.39 MB / 1.354 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1028/25.22, allocations: 33.3 MB / 8.294 GB, free: 59.84 MB / 1.354 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001902/25.22, allocations: 0.9286 MB / 8.295 GB, free: 59.68 MB / 1.354 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007841/25.23, allocations: 0.9916 MB / 8.296 GB, free: 59.68 MB / 1.354 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05884/25.29, allocations: 15.61 MB / 8.312 GB, free: 58.66 MB / 1.354 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006658/25.29, allocations: 10.78 kB / 8.312 GB, free: 58.66 MB / 1.354 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006159/25.3, allocations: 381.9 kB / 8.312 GB, free: 58.66 MB / 1.354 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004819/25.3, allocations: 357.8 kB / 8.312 GB, free: 58.64 MB / 1.354 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0478/25.35, allocations: 16.76 MB / 8.329 GB, free: 58.48 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.1598/25.51, allocations: 65 MB / 8.392 GB, free: 33.5 MB / 1.354 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03164/25.54, allocations: 12.96 MB / 8.405 GB, free: 28.81 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 evalFunc (simulation): time 0.08238/25.62, allocations: 26.57 MB / 8.431 GB, free: 13.33 MB / 1.354 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02068/25.64, allocations: 7.637 MB / 8.438 GB, free: 10.04 MB / 1.354 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01821/25.66, allocations: 2.074 MB / 8.44 GB, free: 8.379 MB / 1.354 GB Notification: Performance of pre-optimization done (n=696): time 6.956e-05/25.66, allocations: 3 kB / 8.44 GB, free: 8.379 MB / 1.354 GB Notification: Performance of matching and sorting (n=696): time 0.08456/25.74, allocations: 23.12 MB / 8.463 GB, free: 6.387 MB / 1.37 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003382/25.74, allocations: 430.5 kB / 8.463 GB, free: 5.891 MB / 1.37 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0667/25.81, allocations: 16.23 MB / 8.479 GB, free: 12.56 MB / 1.385 GB Notification: Performance of collectPreVariables (initialization): time 0.004421/25.82, allocations: 249.3 kB / 8.479 GB, free: 12.32 MB / 1.385 GB Notification: Performance of collectInitialEqns (initialization): time 0.01748/25.83, allocations: 6.826 MB / 8.486 GB, free: 6.062 MB / 1.385 GB Notification: Performance of collectInitialBindings (initialization): time 0.007452/25.84, allocations: 2.288 MB / 8.488 GB, free: 3.938 MB / 1.385 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002753/25.84, allocations: 168 kB / 8.488 GB, free: 3.773 MB / 1.385 GB Notification: Performance of setup shared object (initialization): time 0.001206/25.84, allocations: 0.6415 MB / 8.489 GB, free: 3.227 MB / 1.385 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.412/27.26, allocations: 6.458 MB / 8.495 GB, free: 110.7 MB / 1.385 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02586/27.28, allocations: 9.317 MB / 8.504 GB, free: 108.1 MB / 1.385 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02132/27.3, allocations: 7.164 MB / 8.511 GB, free: 108 MB / 1.385 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001457/27.3, allocations: 14.06 kB / 8.511 GB, free: 108 MB / 1.385 GB Notification: Performance of matching and sorting (n=1093) (initialization): time 0.05618/27.36, allocations: 17.77 MB / 8.529 GB, free: 107.7 MB / 1.385 GB Notification: Performance of prepare postOptimizeDAE: time 0.008835/27.37, allocations: 29.24 MB / 8.557 GB, free: 77.81 MB / 1.385 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002582/27.37, allocations: 40.75 kB / 8.557 GB, free: 77.81 MB / 1.385 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.278/31.65, allocations: 0.5987 GB / 9.156 GB, free: 228.9 MB / 1.51 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01367/31.66, allocations: 2.346 MB / 9.158 GB, free: 228.9 MB / 1.51 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009443/31.67, allocations: 8.702 MB / 9.167 GB, free: 223.4 MB / 1.51 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02039/31.69, allocations: 1.446 MB / 9.168 GB, free: 223.3 MB / 1.51 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004225/31.7, allocations: 494.1 kB / 9.169 GB, free: 223.3 MB / 1.51 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/31.7, allocations: 4.656 kB / 9.169 GB, free: 223.3 MB / 1.51 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05085/31.75, allocations: 16.71 MB / 9.185 GB, free: 222.9 MB / 1.51 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002305/31.75, allocations: 47.23 kB / 9.185 GB, free: 222.9 MB / 1.51 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.104/35.85, allocations: 0.5989 GB / 9.784 GB, free: 222.6 MB / 1.51 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01754/35.87, allocations: 2.302 MB / 9.786 GB, free: 222.6 MB / 1.51 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02782/35.9, allocations: 15.37 MB / 9.801 GB, free: 216.1 MB / 1.51 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02595/35.92, allocations: 1.393 MB / 9.803 GB, free: 216 MB / 1.51 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004976/35.93, allocations: 472.6 kB / 9.803 GB, free: 216 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.02399/35.95, allocations: 5.706 MB / 9.809 GB, free: 215.8 MB / 1.51 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009396/35.96, allocations: 1.336 MB / 9.81 GB, free: 215.8 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.03657/36, allocations: 8.521 MB / 9.818 GB, free: 215.4 MB / 1.51 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.