Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.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: translateModel(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TAirSup.T|wseCon.TWetBul|wseCon.y1|chiCon.y|pumCHW.m_flow",fileNamePrefix="Buildings_9_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl") translateModel(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TAirSup.T|wseCon.TWetBul|wseCon.y1|chiCon.y|pumCHW.m_flow",fileNamePrefix="Buildings_9_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.514/2.514, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001409/0.001409, allocations: 175 kB / 498.1 MB, free: 5.746 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.823/1.823, allocations: 223.2 MB / 0.7948 GB, free: 17.91 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.001111/0.001111, allocations: 104.1 kB / 0.9346 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004206/0.0004207, allocations: 10.75 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3603/0.3608, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.767/6.128, allocations: 2.269 GB / 3.492 GB, free: 213.4 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002153/6.128, allocations: 93.62 kB / 3.492 GB, free: 213.3 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 18.39/24.51, allocations: 5.216 GB / 8.708 GB, free: 68.97 MB / 1.354 GB Notification: Performance of FrontEnd: time 4.309e-06/24.51, allocations: 0 / 8.708 GB, free: 68.97 MB / 1.354 GB Notification: Performance of Transformations before backend: time 0.00274/24.52, allocations: 330 kB / 8.708 GB, free: 68.91 MB / 1.354 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2237 * Number of variables: 2237 Notification: Performance of Generate backend data structure: time 0.06374/24.58, allocations: 14.63 MB / 8.722 GB, free: 62.54 MB / 1.354 GB Notification: Performance of prepare preOptimizeDAE: time 5.593e-05/24.58, allocations: 10.62 kB / 8.722 GB, free: 62.54 MB / 1.354 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02833/24.61, allocations: 3.656 MB / 8.726 GB, free: 61.68 MB / 1.354 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05326/24.66, allocations: 15.09 MB / 8.74 GB, free: 59.57 MB / 1.354 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001375/24.66, allocations: 0.7657 MB / 8.741 GB, free: 59.49 MB / 1.354 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005191/24.67, allocations: 0.901 MB / 8.742 GB, free: 59.48 MB / 1.354 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04325/24.71, allocations: 11.56 MB / 8.753 GB, free: 58.32 MB / 1.354 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006729/24.71, allocations: 19.5 kB / 8.753 GB, free: 58.31 MB / 1.354 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004648/24.72, allocations: 375.5 kB / 8.754 GB, free: 58.3 MB / 1.354 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000475/24.72, allocations: 360.7 kB / 8.754 GB, free: 58.28 MB / 1.354 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03285/24.75, allocations: 10.64 MB / 8.764 GB, free: 58.09 MB / 1.354 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.1084/24.86, allocations: 50.52 MB / 8.814 GB, free: 35.62 MB / 1.354 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01846/24.88, allocations: 9.286 MB / 8.823 GB, free: 33.71 MB / 1.354 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.04273/24.92, allocations: 15.99 MB / 8.839 GB, free: 25.43 MB / 1.354 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008425/24.93, allocations: 4.257 MB / 8.843 GB, free: 23.91 MB / 1.354 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01029/24.94, allocations: 1.358 MB / 8.844 GB, free: 23.42 MB / 1.354 GB Notification: Performance of pre-optimization done (n=603): time 4.862e-05/24.94, allocations: 0 / 8.844 GB, free: 23.42 MB / 1.354 GB Notification: Performance of matching and sorting (n=607): time 0.08129/25.02, allocations: 22.62 MB / 8.866 GB, free: 12.49 MB / 1.354 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001861/25.02, allocations: 380.9 kB / 8.866 GB, free: 12.05 MB / 1.354 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02124/25.04, allocations: 8.766 MB / 8.875 GB, free: 4.75 MB / 1.354 GB Notification: Performance of collectPreVariables (initialization): time 0.003283/25.05, allocations: 177.1 kB / 8.875 GB, free: 4.574 MB / 1.354 GB Notification: Performance of collectInitialEqns (initialization): time 0.009927/25.06, allocations: 5.585 MB / 8.881 GB, free: 15.47 MB / 1.37 GB Notification: Performance of collectInitialBindings (initialization): time 0.004815/25.06, allocations: 2.052 MB / 8.883 GB, free: 13.56 MB / 1.37 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007878/25.06, allocations: 140 kB / 8.883 GB, free: 13.43 MB / 1.37 GB Notification: Performance of setup shared object (initialization): time 0.0006016/25.06, allocations: 0.5736 MB / 8.883 GB, free: 12.93 MB / 1.37 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007182/25.07, allocations: 3.218 MB / 8.886 GB, free: 10.22 MB / 1.37 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0101/25.08, allocations: 5.338 MB / 8.892 GB, free: 4.664 MB / 1.37 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01188/25.09, allocations: 3.949 MB / 8.896 GB, free: 1.07 MB / 1.37 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.637e-05/25.09, allocations: 16 kB / 8.896 GB, free: 1.055 MB / 1.37 GB Notification: Performance of matching and sorting (n=905) (initialization): time 0.03309/25.12, allocations: 9.988 MB / 8.905 GB, free: 8.133 MB / 1.385 GB Notification: Performance of prepare postOptimizeDAE: time 1.294/26.42, allocations: 26.76 MB / 8.931 GB, free: 113.7 MB / 1.401 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001859/26.42, allocations: 44.53 kB / 8.931 GB, free: 113.7 MB / 1.401 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003425/26.42, allocations: 0.6437 MB / 8.932 GB, free: 113.6 MB / 1.401 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01023/26.43, allocations: 1.671 MB / 8.934 GB, free: 113.6 MB / 1.401 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008416/26.44, allocations: 8.39 MB / 8.942 GB, free: 107.1 MB / 1.401 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01789/26.46, allocations: 1.055 MB / 8.943 GB, free: 107.1 MB / 1.401 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003368/26.46, allocations: 361.5 kB / 8.943 GB, free: 107.1 MB / 1.401 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/26.46, allocations: 5.031 kB / 8.943 GB, free: 107.1 MB / 1.401 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02936/26.49, allocations: 8.87 MB / 8.952 GB, free: 106.8 MB / 1.401 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001842/26.49, allocations: 49.75 kB / 8.952 GB, free: 106.8 MB / 1.401 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002826/26.5, allocations: 0.6459 MB / 8.953 GB, free: 106.8 MB / 1.401 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008977/26.5, allocations: 1.635 MB / 8.954 GB, free: 106.8 MB / 1.401 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01032/26.51, allocations: 9.804 MB / 8.964 GB, free: 99.27 MB / 1.401 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01698/26.53, allocations: 1.011 MB / 8.965 GB, free: 99.27 MB / 1.401 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002975/26.53, allocations: 351.5 kB / 8.965 GB, free: 99.27 MB / 1.401 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 (863): * Single equations (assignments): 851 * 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.01461/26.55, allocations: 3.324 MB / 8.968 GB, free: 99.07 MB / 1.401 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005539/26.55, allocations: 1.055 MB / 8.969 GB, free: 99.07 MB / 1.401 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 698 equation(s) and 696 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.01836/26.57, allocations: 5.316 MB / 8.975 GB, free: 98.87 MB / 1.401 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.