Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.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: translateModel(Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl") translateModel(Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.716/1.716, allocations: 292.6 MB / 307.5 MB, free: 5.164 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.001327/0.001327, allocations: 177.1 kB / 377.1 MB, free: 1.516 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.665/1.665, allocations: 205.4 MB / 0.6367 GB, free: 8.625 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.0009439/0.0009439, allocations: 91.33 kB / 0.751 GB, free: 63.15 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003785/0.0003784, allocations: 11.98 kB / 0.8748 GB, free: 11.22 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.3124, allocations: 116.3 MB / 0.9884 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.849/7.161, allocations: 2.441 GB / 3.43 GB, free: 99.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000306/7.162, allocations: 99.95 kB / 3.43 GB, free: 99.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 21.68/28.84, allocations: 5.154 GB / 8.583 GB, free: 45.09 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.677e-06/28.84, allocations: 0 / 8.583 GB, free: 45.09 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.002889/28.84, allocations: 332.1 kB / 8.584 GB, free: 45.02 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: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.06745/28.91, allocations: 14.47 MB / 8.598 GB, free: 38.58 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/28.91, allocations: 8.125 kB / 8.598 GB, free: 38.58 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02893/28.94, allocations: 3.402 MB / 8.601 GB, free: 37.73 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05405/28.99, allocations: 14.9 MB / 8.616 GB, free: 35.37 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001393/28.99, allocations: 0.7742 MB / 8.617 GB, free: 35.28 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006058/29, allocations: 0.9159 MB / 8.617 GB, free: 35.27 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04638/29.05, allocations: 11.51 MB / 8.629 GB, free: 34.09 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004442/29.05, allocations: 28.38 kB / 8.629 GB, free: 34.07 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00381/29.05, allocations: 370 kB / 8.629 GB, free: 34.07 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003392/29.05, allocations: 362.2 kB / 8.629 GB, free: 34.04 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03509/29.09, allocations: 10.53 MB / 8.64 GB, free: 33.86 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.1251/29.21, allocations: 50.63 MB / 8.689 GB, free: 8.844 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02409/29.24, allocations: 9.357 MB / 8.698 GB, free: 348 kB / 1.167 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.05323/29.29, allocations: 15.85 MB / 8.714 GB, free: 0.9062 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.13/30.42, allocations: 4.146 MB / 8.718 GB, free: 85.75 MB / 1.182 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01187/30.43, allocations: 1.338 MB / 8.719 GB, free: 85.75 MB / 1.182 GB Notification: Performance of pre-optimization done (n=598): time 6.558e-05/30.43, allocations: 1.188 kB / 8.719 GB, free: 85.75 MB / 1.182 GB Notification: Performance of matching and sorting (n=602): time 0.08116/30.51, allocations: 20.67 MB / 8.739 GB, free: 83.31 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001846/30.51, allocations: 378.8 kB / 8.74 GB, free: 82.93 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02919/30.54, allocations: 8.741 MB / 8.748 GB, free: 82.36 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.002762/30.55, allocations: 172.8 kB / 8.748 GB, free: 82.33 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.01002/30.56, allocations: 5.609 MB / 8.754 GB, free: 81.22 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.004869/30.56, allocations: 2.05 MB / 8.756 GB, free: 80.18 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008989/30.56, allocations: 141.3 kB / 8.756 GB, free: 80.18 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0006681/30.56, allocations: 0.5778 MB / 8.757 GB, free: 79.86 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008396/30.57, allocations: 3.149 MB / 8.76 GB, free: 79.84 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01087/30.58, allocations: 5.393 MB / 8.765 GB, free: 77.48 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0102/30.59, allocations: 3.907 MB / 8.769 GB, free: 77.38 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.234e-05/30.59, allocations: 14.59 kB / 8.769 GB, free: 77.38 MB / 1.182 GB Notification: Performance of matching and sorting (n=900) (initialization): time 0.03622/30.63, allocations: 9.841 MB / 8.778 GB, free: 76.57 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.006727/30.63, allocations: 26.5 MB / 8.804 GB, free: 48.38 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002221/30.63, allocations: 46.59 kB / 8.804 GB, free: 48.38 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003221/30.64, allocations: 0.6524 MB / 8.805 GB, free: 48.33 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009926/30.65, allocations: 1.651 MB / 8.806 GB, free: 48.33 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008038/30.66, allocations: 8.386 MB / 8.815 GB, free: 41.72 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01829/30.67, allocations: 0.9923 MB / 8.816 GB, free: 41.68 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003408/30.68, allocations: 360.6 kB / 8.816 GB, free: 41.68 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/30.68, allocations: 3.844 kB / 8.816 GB, free: 41.68 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03351/30.71, allocations: 8.757 MB / 8.825 GB, free: 41.45 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003054/30.71, allocations: 45.28 kB / 8.825 GB, free: 41.45 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00311/30.71, allocations: 0.6456 MB / 8.825 GB, free: 41.4 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01051/30.73, allocations: 1.62 MB / 8.827 GB, free: 41.4 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0111/30.74, allocations: 9.809 MB / 8.836 GB, free: 33.83 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01741/30.75, allocations: 0.964 MB / 8.837 GB, free: 33.8 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003013/30.76, allocations: 345.5 kB / 8.838 GB, free: 33.8 MB / 1.182 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 202 * Number of states: 0 () * Number of discrete variables: 44 ($PRE.wseCon.T1.enableFire,$PRE.wseCon.T2.enableFire,wseCon.stateGraphRoot.resume,wseCon.stateGraphRoot.suspend,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.wseCon.off.localActive,wseCon.off.localActive,$PRE.wseCon.off.newActive,wseCon.off.newActive,$PRE.wseCon.off.oldActive,wseCon.off.oldActive,wseCon.off.active,wseCon.T1.enableFire,wseCon.T1.fire,$PRE.wseCon.T1.t_start,wseCon.T1.t_start,wseCon.T1.condition,$PRE.wseCon.on.localActive,wseCon.on.localActive,$PRE.wseCon.on.newActive,wseCon.on.newActive,$PRE.wseCon.on.oldActive,wseCon.on.oldActive,wseCon.on.active,wseCon.T2.enableFire,wseCon.T2.fire,$PRE.wseCon.T2.t_start,wseCon.T2.t_start,wseCon.T2.condition,wseCon.stateGraphRoot.activeSteps,$PRE.chiSwi.hysteresis.y,chiSwi.hysteresis.y,$PRE.weaData.conTimMin.tNext,weaData.conTimMin.tNext,$PRE.weaData.conTim.tNext,weaData.conTim.tNext,greaterThreshold.y,mCWFlo.u,triAndRes.conPID.I.trigger_internal,EIT.local_reset,EHVAC.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (858): * Single equations (assignments): 846 * 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: 6 * 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: 1 {(1,100.0%) 7} * Non-linear torn systems: 5 {1 3,3 9,1 2,2 9,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.01715/30.77, allocations: 3.315 MB / 8.841 GB, free: 33.61 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00642/30.78, allocations: 1.047 MB / 8.842 GB, free: 33.05 MB / 1.182 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 696 equation(s) and 694 variable(s). Error: $cse74 = Buildings.Fluid.Movers.BaseClasses.IdealSource$pumCHW$preSou.Medium.setState_phX(TCHWLeaCoi.port_b.p, TCHWLeaCoi.port_a.h_outflow, {}) has size 2 but 1 variables (roo.TRooAir) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02302/30.8, allocations: 5.249 MB / 8.847 GB, free: 32.79 MB / 1.182 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.