Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl") translateModel(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.67/1.67, allocations: 288.3 MB / 303.2 MB, free: 8.176 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.001123/0.001123, allocations: 178.4 kB / 371.8 MB, free: 10.27 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.724/1.724, allocations: 205.4 MB / 0.6306 GB, free: 9.891 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008517/0.0008519, allocations: 85.83 kB / 0.7439 GB, free: 5.836 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000413/0.000413, allocations: 10.88 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.2605, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.688/6.949, allocations: 2.439 GB / 3.418 GB, free: 244.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00027/6.949, allocations: 93.09 kB / 3.418 GB, free: 244.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 22.64/29.59, allocations: 5.155 GB / 8.573 GB, free: 56.93 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.695e-06/29.59, allocations: 0 / 8.573 GB, free: 56.93 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.003594/29.59, allocations: 320 kB / 8.573 GB, free: 56.89 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2233 * Number of variables: 2233 Notification: Performance of Generate backend data structure: time 0.07267/29.67, allocations: 14.51 MB / 8.587 GB, free: 50.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.483e-05/29.67, allocations: 8.594 kB / 8.587 GB, free: 50.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02976/29.7, allocations: 3.395 MB / 8.591 GB, free: 49.94 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05801/29.76, allocations: 14.82 MB / 8.605 GB, free: 48.14 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0017/29.76, allocations: 0.7703 MB / 8.606 GB, free: 48.06 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005798/29.76, allocations: 0.916 MB / 8.607 GB, free: 48.05 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04856/29.81, allocations: 11.46 MB / 8.618 GB, free: 46.98 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004923/29.81, allocations: 13.22 kB / 8.618 GB, free: 46.98 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002945/29.82, allocations: 369.5 kB / 8.618 GB, free: 46.98 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003763/29.82, allocations: 366.3 kB / 8.619 GB, free: 46.96 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03875/29.85, allocations: 10.49 MB / 8.629 GB, free: 46.88 MB / 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 removeSimpleEquations (simulation): time 0.1138/29.97, allocations: 50.17 MB / 8.678 GB, free: 25.57 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01972/29.99, allocations: 9.131 MB / 8.687 GB, free: 23.68 MB / 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.04652/30.03, allocations: 15.81 MB / 8.702 GB, free: 18.55 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01158/30.05, allocations: 4.173 MB / 8.706 GB, free: 18.32 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01268/30.06, allocations: 1.364 MB / 8.708 GB, free: 17.96 MB / 1.167 GB Notification: Performance of pre-optimization done (n=603): time 5.995e-05/30.06, allocations: 3.938 kB / 8.708 GB, free: 17.95 MB / 1.167 GB Notification: Performance of matching and sorting (n=652): time 0.1022/30.16, allocations: 25.68 MB / 8.733 GB, free: 12.91 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001819/30.16, allocations: 389.5 kB / 8.733 GB, free: 12.52 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02531/30.19, allocations: 8.673 MB / 8.742 GB, free: 11.94 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.003243/30.19, allocations: 187.6 kB / 8.742 GB, free: 11.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.01022/30.2, allocations: 5.532 MB / 8.747 GB, free: 10.32 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.004714/30.21, allocations: 2.198 MB / 8.749 GB, free: 8.918 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007904/30.21, allocations: 146 kB / 8.749 GB, free: 8.918 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.000556/30.21, allocations: 0.5874 MB / 8.75 GB, free: 8.602 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006768/30.21, allocations: 3.388 MB / 8.753 GB, free: 8.566 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009479/30.22, allocations: 5.663 MB / 8.759 GB, free: 6.113 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01164/30.23, allocations: 4.197 MB / 8.763 GB, free: 5.926 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.419e-05/30.23, allocations: 15.31 kB / 8.763 GB, free: 5.926 MB / 1.167 GB Notification: Performance of matching and sorting (n=950) (initialization): time 0.0394/30.27, allocations: 11.75 MB / 8.774 GB, free: 2.047 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.01056/30.28, allocations: 26.79 MB / 8.801 GB, free: 6.516 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000195/30.28, allocations: 51.62 kB / 8.801 GB, free: 6.512 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0165/30.3, allocations: 4.992 MB / 8.806 GB, free: 5.516 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007035/30.31, allocations: 1.288 MB / 8.807 GB, free: 5.379 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02581/30.33, allocations: 14.12 MB / 8.821 GB, free: 13.07 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01654/30.35, allocations: 1.033 MB / 8.822 GB, free: 12.82 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002887/30.35, allocations: 370.3 kB / 8.822 GB, free: 12.75 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/30.35, allocations: 3.875 kB / 8.822 GB, free: 12.75 MB / 1.214 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0333/30.39, allocations: 10.62 MB / 8.832 GB, free: 8.66 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001977/30.39, allocations: 49.94 kB / 8.832 GB, free: 8.656 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01548/30.4, allocations: 4.923 MB / 8.837 GB, free: 7.656 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006608/30.41, allocations: 1.259 MB / 8.838 GB, free: 7.473 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02896/30.44, allocations: 16.16 MB / 8.854 GB, free: 8.715 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01893/30.46, allocations: 0.9916 MB / 8.855 GB, free: 7.953 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002968/30.46, allocations: 360.4 kB / 8.856 GB, free: 7.641 MB / 1.229 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 205 * Number of states: 0 () * Number of discrete variables: 59 ($PRE.wseCon.T1.enableFire,$PRE.wseCon.T2.enableFire,$PRE.triAndRes.firstTrigger,triAndRes.firstTrigger,$whenCondition7,triAndRes.sampleTrigger,$PRE.triAndRes.uniDel1.firstTrigger,triAndRes.uniDel1.firstTrigger,$PRE.triAndRes.sam.firstTrigger,triAndRes.sam.firstTrigger,$whenCondition5,triAndRes.sam.sampleTrigger,$whenCondition6,triAndRes.uniDel1.sampleTrigger,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.incY.y,triAndRes.sam.y,$PRE.triAndRes.uniDel1.y,triAndRes.uniDel1.y,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 (734): * Single equations (assignments): 724 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {19 158,4 16,1 2,2 9,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.01522/30.48, allocations: 3.357 MB / 8.859 GB, free: 4.715 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006187/30.48, allocations: 1.061 MB / 8.86 GB, free: 3.645 MB / 1.229 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 743 equation(s) and 741 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 1.156/31.64, allocations: 5.869 MB / 8.866 GB, free: 114.6 MB / 1.229 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.