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.423/2.423, allocations: 387.1 MB / 399.7 MB, free: 9.547 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.001868/0.001868, allocations: 173 kB / 492.3 MB, free: 0.6523 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.749/1.749, allocations: 221.3 MB / 0.7871 GB, free: 12.95 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.0009928/0.0009927, allocations: 95.94 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.299e-05/3.331e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3301, allocations: 142.4 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.57/6.9, allocations: 2.328 GB / 3.541 GB, free: 399.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000322/6.9, allocations: 109.7 kB / 3.541 GB, free: 399.6 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 21.31/28.21, allocations: 4.673 GB / 8.214 GB, free: 15.68 MB / 1.339 GB Notification: Performance of FrontEnd: time 3.767e-06/28.21, allocations: 0 / 8.214 GB, free: 15.68 MB / 1.339 GB Notification: Performance of Transformations before backend: time 0.006594/28.22, allocations: 383.7 kB / 8.214 GB, free: 15.3 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.06615/28.28, allocations: 13.67 MB / 8.228 GB, free: 1.508 MB / 1.339 GB Notification: Performance of prepare preOptimizeDAE: time 6.568e-05/28.28, allocations: 8.031 kB / 8.228 GB, free: 1.5 MB / 1.339 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009552/28.29, allocations: 1.19 MB / 8.229 GB, free: 308 kB / 1.339 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03275/28.33, allocations: 4.68 MB / 8.233 GB, free: 11.6 MB / 1.354 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.582/29.91, allocations: 32.92 MB / 8.265 GB, free: 82.15 MB / 1.37 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002305/29.91, allocations: 0.9261 MB / 8.266 GB, free: 82 MB / 1.37 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007965/29.92, allocations: 0.9967 MB / 8.267 GB, free: 82 MB / 1.37 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06581/29.99, allocations: 14.65 MB / 8.282 GB, free: 81.04 MB / 1.37 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007818/29.99, allocations: 14.61 kB / 8.282 GB, free: 81.04 MB / 1.37 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006398/29.99, allocations: 375.9 kB / 8.282 GB, free: 81.04 MB / 1.37 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006976/29.99, allocations: 361.7 kB / 8.282 GB, free: 81.02 MB / 1.37 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05055/30.04, allocations: 14.76 MB / 8.297 GB, free: 80.95 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.1645/30.21, allocations: 64.99 MB / 8.36 GB, free: 63.49 MB / 1.37 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02467/30.23, allocations: 11.52 MB / 8.372 GB, free: 63.16 MB / 1.37 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01231/30.25, allocations: 6.11 MB / 8.377 GB, free: 63.09 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.06586/30.31, allocations: 26.68 MB / 8.404 GB, free: 57.38 MB / 1.37 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01358/30.32, allocations: 6.742 MB / 8.41 GB, free: 57.16 MB / 1.37 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01592/30.34, allocations: 2.076 MB / 8.412 GB, free: 57 MB / 1.37 GB Notification: Performance of pre-optimization done (n=696): time 7.285e-05/30.34, allocations: 0 / 8.412 GB, free: 57 MB / 1.37 GB Notification: Performance of matching and sorting (n=696): time 0.04975/30.39, allocations: 11.85 MB / 8.424 GB, free: 56 MB / 1.37 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003038/30.39, allocations: 422.6 kB / 8.424 GB, free: 55.59 MB / 1.37 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05332/30.44, allocations: 14.85 MB / 8.439 GB, free: 54.8 MB / 1.37 GB Notification: Performance of collectPreVariables (initialization): time 0.004809/30.45, allocations: 244.5 kB / 8.439 GB, free: 54.77 MB / 1.37 GB Notification: Performance of collectInitialEqns (initialization): time 0.0181/30.47, allocations: 6.82 MB / 8.446 GB, free: 53.64 MB / 1.37 GB Notification: Performance of collectInitialBindings (initialization): time 0.006468/30.47, allocations: 2.284 MB / 8.448 GB, free: 52.21 MB / 1.37 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003679/30.48, allocations: 170.2 kB / 8.448 GB, free: 52.21 MB / 1.37 GB Notification: Performance of setup shared object (initialization): time 0.001406/30.48, allocations: 0.6459 MB / 8.449 GB, free: 51.89 MB / 1.37 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01364/30.49, allocations: 5.544 MB / 8.454 GB, free: 51.87 MB / 1.37 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01893/30.51, allocations: 8.395 MB / 8.462 GB, free: 49.24 MB / 1.37 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01608/30.53, allocations: 6.272 MB / 8.468 GB, free: 49.11 MB / 1.37 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001931/30.53, allocations: 13.09 kB / 8.468 GB, free: 49.11 MB / 1.37 GB Notification: Performance of matching and sorting (n=1093) (initialization): time 0.05419/30.58, allocations: 15.78 MB / 8.484 GB, free: 48.12 MB / 1.37 GB Notification: Performance of prepare postOptimizeDAE: time 0.01514/30.6, allocations: 29.23 MB / 8.512 GB, free: 50.15 MB / 1.401 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002588/30.6, allocations: 48.33 kB / 8.512 GB, free: 50.15 MB / 1.401 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.472/35.07, allocations: 0.5985 GB / 9.111 GB, free: 125.9 MB / 1.448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01424/35.08, allocations: 2.34 MB / 9.113 GB, free: 124.2 MB / 1.448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009255/35.09, allocations: 8.263 MB / 9.121 GB, free: 117.3 MB / 1.448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02196/35.12, allocations: 1.435 MB / 9.123 GB, free: 116.5 MB / 1.448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004484/35.12, allocations: 489.9 kB / 9.123 GB, free: 116.1 MB / 1.448 GB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/35.12, allocations: 4 kB / 9.123 GB, free: 116.1 MB / 1.448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04815/35.17, allocations: 14.87 MB / 9.137 GB, free: 108.7 MB / 1.448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003146/35.17, allocations: 40 kB / 9.138 GB, free: 108.7 MB / 1.448 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.43/39.6, allocations: 0.5986 GB / 9.736 GB, free: 110.5 MB / 1.51 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01361/39.61, allocations: 2.305 MB / 9.738 GB, free: 108.4 MB / 1.51 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02103/39.63, allocations: 14.68 MB / 9.753 GB, free: 96.53 MB / 1.51 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02063/39.65, allocations: 1.39 MB / 9.754 GB, free: 95.33 MB / 1.51 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00419/39.66, allocations: 465.8 kB / 9.755 GB, free: 94.94 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 () * 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.008302/39.67, allocations: 0.699 MB / 9.755 GB, free: 94.62 MB / 1.51 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009963/39.68, allocations: 1.337 MB / 9.756 GB, free: 94 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.0381/39.71, allocations: 7.621 MB / 9.764 GB, free: 89.07 MB / 1.51 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.