Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.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.DataCenterDiscreteTimeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl") translateModel(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.619/1.619, allocations: 289.7 MB / 302.2 MB, free: 2.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.001238/0.001238, allocations: 181.1 kB / 371.6 MB, free: 3.328 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.538/1.538, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.0009866/0.0009865, allocations: 87.98 kB / 0.745 GB, free: 54.64 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.63e-05/4.632e-05, allocations: 4 kB / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.2901, allocations: 116.3 MB / 0.9798 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.609/6.899, allocations: 2.439 GB / 3.419 GB, free: 219.9 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002106/6.899, allocations: 92.73 kB / 3.419 GB, free: 219.8 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 20.94/27.84, allocations: 5.141 GB / 8.56 GB, free: 55.11 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.294e-06/27.84, allocations: 0.9062 kB / 8.56 GB, free: 55.11 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.002743/27.85, allocations: 322.6 kB / 8.561 GB, free: 55.06 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.04827/27.89, allocations: 11.67 MB / 8.572 GB, free: 49.93 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/27.89, allocations: 12.28 kB / 8.572 GB, free: 49.93 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0263/27.92, allocations: 3.388 MB / 8.575 GB, free: 49.16 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04528/27.97, allocations: 14.71 MB / 8.59 GB, free: 47.36 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00135/27.97, allocations: 0.7711 MB / 8.591 GB, free: 47.28 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005727/27.97, allocations: 0.9077 MB / 8.591 GB, free: 47.27 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03829/28.01, allocations: 11.04 MB / 8.602 GB, free: 46.21 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007088/28.01, allocations: 24.22 kB / 8.602 GB, free: 46.21 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003957/28.02, allocations: 368.9 kB / 8.603 GB, free: 46.21 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004647/28.02, allocations: 359.5 kB / 8.603 GB, free: 46.19 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0275/28.04, allocations: 9.724 MB / 8.612 GB, free: 46.11 MB / 1.167 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.09667/28.14, allocations: 50.3 MB / 8.662 GB, free: 24.85 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01733/28.16, allocations: 8.868 MB / 8.67 GB, free: 23.05 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008462/28.17, allocations: 3.881 MB / 8.674 GB, free: 22.98 MB / 1.167 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.05104/28.22, allocations: 18.79 MB / 8.692 GB, free: 17.72 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008893/28.23, allocations: 3.844 MB / 8.696 GB, free: 17.5 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01055/28.24, allocations: 1.917 MB / 8.698 GB, free: 17.23 MB / 1.167 GB Notification: Performance of pre-optimization done (n=600): time 4.037e-05/28.24, allocations: 0 / 8.698 GB, free: 17.23 MB / 1.167 GB Notification: Performance of matching and sorting (n=604): time 0.06189/28.3, allocations: 17.16 MB / 8.715 GB, free: 12.97 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001812/28.3, allocations: 376.2 kB / 8.715 GB, free: 12.59 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02521/28.33, allocations: 8.572 MB / 8.723 GB, free: 11.95 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.002617/28.33, allocations: 173.3 kB / 8.724 GB, free: 11.92 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.009203/28.34, allocations: 5.531 MB / 8.729 GB, free: 10.35 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.003647/28.34, allocations: 2.039 MB / 8.731 GB, free: 9.047 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001687/28.34, allocations: 142.5 kB / 8.731 GB, free: 9.047 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0008129/28.34, allocations: 0.5782 MB / 8.732 GB, free: 8.73 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006662/28.35, allocations: 2.799 MB / 8.734 GB, free: 8.715 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008676/28.36, allocations: 5.077 MB / 8.739 GB, free: 6.262 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008578/28.37, allocations: 3.588 MB / 8.743 GB, free: 6.062 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.275e-05/28.37, allocations: 15.91 kB / 8.743 GB, free: 6.062 MB / 1.167 GB Notification: Performance of matching and sorting (n=903) (initialization): time 0.02486/28.39, allocations: 9.132 MB / 8.752 GB, free: 5.219 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.009032/28.4, allocations: 27.23 MB / 8.778 GB, free: 9.582 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001545/28.4, allocations: 48.97 kB / 8.778 GB, free: 9.582 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003078/28.4, allocations: 0.6393 MB / 8.779 GB, free: 9.52 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008786/28.41, allocations: 1.636 MB / 8.781 GB, free: 9.512 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008276/28.42, allocations: 8.298 MB / 8.789 GB, free: 2.824 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01741/28.44, allocations: 0.9925 MB / 8.79 GB, free: 2.699 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002193/28.44, allocations: 362.8 kB / 8.79 GB, free: 2.695 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/28.44, allocations: 2.906 kB / 8.79 GB, free: 2.695 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02095/28.46, allocations: 8.085 MB / 8.798 GB, free: 2.117 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001745/28.46, allocations: 47.91 kB / 8.798 GB, free: 2.117 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002596/28.47, allocations: 0.6401 MB / 8.799 GB, free: 2.043 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007846/28.47, allocations: 1.599 MB / 8.8 GB, free: 1.938 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01038/28.48, allocations: 9.67 MB / 8.81 GB, free: 10.2 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0144/28.5, allocations: 0.9559 MB / 8.811 GB, free: 10.08 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002089/28.5, allocations: 345.8 kB / 8.811 GB, free: 10.08 MB / 1.214 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 209 * 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.sam.firstTrigger,triAndRes.sam.firstTrigger,$PRE.triAndRes.uniDel1.firstTrigger,triAndRes.uniDel1.firstTrigger,$whenCondition1,triAndRes.uniDel1.sampleTrigger,$whenCondition2,triAndRes.sam.sampleTrigger,wseCon.stateGraphRoot.resume,wseCon.stateGraphRoot.suspend,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (862): * Single equations (assignments): 850 * 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 8,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.004009/28.5, allocations: 0.5651 MB / 8.811 GB, free: 9.836 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004136/28.51, allocations: 1.041 MB / 8.813 GB, free: 9.285 MB / 1.214 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 691 equation(s) and 689 variable(s). Error: Internal error $cse15 = Buildings.Fluid.Movers.BaseClasses.IdealSource$pumCHW$preSou.Medium.setState_phX(TCHWLeaCoi.port_b.p, TCHWLeaCoi.port_a.h_outflow, {}) has size size 2 but 1 variables ($cse20) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01457/28.52, allocations: 4.878 MB / 8.817 GB, free: 8.918 MB / 1.214 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.