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.755/1.755, allocations: 285.4 MB / 298 MB, free: 5.926 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.001298/0.001298, allocations: 180.8 kB / 366.4 MB, free: 2.09 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.495/1.495, allocations: 205.1 MB / 0.6248 GB, free: 7.742 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.0008594/0.0008593, allocations: 93 kB / 0.738 GB, free: 40.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.572e-05/3.596e-05, allocations: 0 / 0.8583 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6944/0.6944, allocations: 115.3 MB / 0.9709 GB, free: 77.8 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.617/6.312, allocations: 2.438 GB / 3.409 GB, free: 56.41 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002038/6.312, allocations: 83.97 kB / 3.409 GB, free: 56.32 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 20.62/26.93, allocations: 5.144 GB / 8.553 GB, free: 45.89 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.254e-06/26.93, allocations: 0 / 8.553 GB, free: 45.89 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.002828/26.94, allocations: 330.3 kB / 8.553 GB, free: 45.81 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: 2233 * Number of variables: 2233 Notification: Performance of Generate backend data structure: time 0.04189/26.98, allocations: 11.68 MB / 8.565 GB, free: 40.38 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/26.98, allocations: 10.62 kB / 8.565 GB, free: 40.38 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02466/27, allocations: 3.381 MB / 8.568 GB, free: 39.54 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04268/27.04, allocations: 14.7 MB / 8.582 GB, free: 35.73 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009315/27.05, allocations: 0.7634 MB / 8.583 GB, free: 35.25 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004316/27.05, allocations: 0.9308 MB / 8.584 GB, free: 34.61 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03206/27.08, allocations: 11.04 MB / 8.595 GB, free: 24.89 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003366/27.08, allocations: 19.78 kB / 8.595 GB, free: 24.87 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002366/27.08, allocations: 367.9 kB / 8.595 GB, free: 24.52 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002759/27.08, allocations: 361.4 kB / 8.596 GB, free: 24.17 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02079/27.11, allocations: 9.722 MB / 8.605 GB, free: 15.39 MB / 1.151 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 1.025/28.13, allocations: 50.18 MB / 8.654 GB, free: 78.21 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01739/28.15, allocations: 8.64 MB / 8.662 GB, free: 76.48 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007617/28.16, allocations: 3.903 MB / 8.666 GB, free: 76.41 MB / 1.182 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.04472/28.2, allocations: 18.69 MB / 8.685 GB, free: 71.58 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00714/28.21, allocations: 3.846 MB / 8.688 GB, free: 71.36 MB / 1.182 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009731/28.22, allocations: 1.911 MB / 8.69 GB, free: 71.36 MB / 1.182 GB Notification: Performance of pre-optimization done (n=600): time 4.695e-05/28.22, allocations: 0.9375 kB / 8.69 GB, free: 71.36 MB / 1.182 GB Notification: Performance of matching and sorting (n=649): time 0.06591/28.28, allocations: 20.53 MB / 8.71 GB, free: 67.74 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001711/28.28, allocations: 386.8 kB / 8.711 GB, free: 67.36 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0243/28.31, allocations: 8.564 MB / 8.719 GB, free: 66.76 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.001988/28.31, allocations: 182.2 kB / 8.719 GB, free: 66.73 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.006997/28.32, allocations: 5.535 MB / 8.724 GB, free: 65.59 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.003342/28.32, allocations: 2.196 MB / 8.727 GB, free: 64.48 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007082/28.32, allocations: 149.2 kB / 8.727 GB, free: 64.48 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0004869/28.32, allocations: 0.5913 MB / 8.727 GB, free: 64.17 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005342/28.33, allocations: 3.043 MB / 8.73 GB, free: 64.15 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006947/28.33, allocations: 5.349 MB / 8.736 GB, free: 61.74 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007146/28.34, allocations: 3.886 MB / 8.739 GB, free: 61.62 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-05/28.34, allocations: 14.25 kB / 8.739 GB, free: 61.62 MB / 1.182 GB Notification: Performance of matching and sorting (n=948) (initialization): time 0.02549/28.37, allocations: 11.04 MB / 8.75 GB, free: 60.79 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.005/28.37, allocations: 27.23 MB / 8.777 GB, free: 33.33 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001591/28.37, allocations: 47.38 kB / 8.777 GB, free: 33.33 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01484/28.39, allocations: 4.695 MB / 8.781 GB, free: 33.23 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006233/28.39, allocations: 1.285 MB / 8.783 GB, free: 33.23 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01757/28.41, allocations: 13.61 MB / 8.796 GB, free: 28.34 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01418/28.43, allocations: 1.024 MB / 8.797 GB, free: 28.3 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002378/28.43, allocations: 369.6 kB / 8.797 GB, free: 28.3 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/28.43, allocations: 5.531 kB / 8.797 GB, free: 28.3 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0209/28.45, allocations: 9.898 MB / 8.807 GB, free: 28.07 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001723/28.45, allocations: 47 kB / 8.807 GB, free: 28.07 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01237/28.46, allocations: 4.635 MB / 8.812 GB, free: 27.96 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005864/28.47, allocations: 1.25 MB / 8.813 GB, free: 27.96 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01938/28.49, allocations: 15.57 MB / 8.828 GB, free: 37.44 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.014/28.5, allocations: 0.99 MB / 8.829 GB, free: 37.41 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002539/28.5, allocations: 358.7 kB / 8.829 GB, free: 37.41 MB / 1.198 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 (733): * Single equations (assignments): 723 * 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 8,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.002828/28.51, allocations: 0.5561 MB / 8.83 GB, free: 37.3 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003764/28.51, allocations: 1.068 MB / 8.831 GB, free: 36.73 MB / 1.198 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 736 equation(s) and 734 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.01324/28.52, allocations: 5.189 MB / 8.836 GB, free: 36.48 MB / 1.198 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.