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.76/1.76, 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.001801/0.001801, allocations: 185 kB / 377.1 MB, free: 1.508 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.707/1.707, allocations: 205.4 MB / 0.6367 GB, free: 9.527 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.0008811/0.0008811, allocations: 93.64 kB / 0.751 GB, free: 62.75 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003744/0.0003744, allocations: 8 kB / 0.8748 GB, free: 11.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3129, allocations: 116.3 MB / 0.9883 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.726/7.039, allocations: 2.44 GB / 3.428 GB, free: 138.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002256/7.039, allocations: 95.95 kB / 3.428 GB, free: 138.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 22.28/29.32, allocations: 5.152 GB / 8.58 GB, free: 62.46 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.437e-06/29.32, allocations: 0 / 8.58 GB, free: 62.46 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.003719/29.32, allocations: 328.1 kB / 8.581 GB, free: 62.4 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.06744/29.39, allocations: 14.51 MB / 8.595 GB, free: 56.07 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.477e-05/29.39, allocations: 9.094 kB / 8.595 GB, free: 56.07 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02688/29.42, allocations: 3.388 MB / 8.598 GB, free: 55.23 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05035/29.47, allocations: 14.82 MB / 8.613 GB, free: 53.13 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001263/29.47, allocations: 0.7708 MB / 8.613 GB, free: 53.04 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005112/29.47, allocations: 0.9087 MB / 8.614 GB, free: 53.04 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04309/29.52, allocations: 11.46 MB / 8.625 GB, free: 51.89 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008239/29.52, allocations: 17.97 kB / 8.625 GB, free: 51.89 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005946/29.52, allocations: 378.5 kB / 8.626 GB, free: 51.89 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004803/29.52, allocations: 355.4 kB / 8.626 GB, free: 51.86 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03469/29.56, allocations: 10.48 MB / 8.636 GB, free: 51.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 removeSimpleEquations (simulation): time 0.1168/29.68, allocations: 50.28 MB / 8.685 GB, free: 29.43 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01931/29.69, allocations: 9.356 MB / 8.695 GB, free: 24.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.04496/29.74, allocations: 15.91 MB / 8.71 GB, free: 14.79 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01195/29.75, allocations: 4.176 MB / 8.714 GB, free: 13.29 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01484/29.77, allocations: 1.352 MB / 8.716 GB, free: 12.81 MB / 1.167 GB Notification: Performance of pre-optimization done (n=603): time 7.202e-05/29.77, allocations: 4 kB / 8.716 GB, free: 12.81 MB / 1.167 GB Notification: Performance of matching and sorting (n=607): time 0.08984/29.86, allocations: 22.19 MB / 8.737 GB, free: 10.65 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003024/29.86, allocations: 383.2 kB / 8.738 GB, free: 10.2 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02999/29.89, allocations: 8.667 MB / 8.746 GB, free: 2.996 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.002584/29.89, allocations: 177 kB / 8.746 GB, free: 2.82 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.01041/29.9, allocations: 5.523 MB / 8.752 GB, free: 13.78 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.004578/29.9, allocations: 2.046 MB / 8.754 GB, free: 11.88 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001936/29.91, allocations: 140 kB / 8.754 GB, free: 11.74 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0009777/29.91, allocations: 0.584 MB / 8.754 GB, free: 11.24 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009249/29.92, allocations: 3.146 MB / 8.757 GB, free: 8.582 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01088/29.93, allocations: 5.397 MB / 8.763 GB, free: 2.926 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.126/31.05, allocations: 3.893 MB / 8.766 GB, free: 94.12 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-05/31.05, allocations: 12.62 kB / 8.766 GB, free: 94.12 MB / 1.198 GB Notification: Performance of matching and sorting (n=905) (initialization): time 0.0336/31.09, allocations: 9.833 MB / 8.776 GB, free: 93.86 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.006303/31.09, allocations: 26.8 MB / 8.802 GB, free: 66.88 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001882/31.09, allocations: 45.22 kB / 8.802 GB, free: 66.88 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003572/31.1, allocations: 0.6492 MB / 8.803 GB, free: 66.83 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01005/31.11, allocations: 1.645 MB / 8.805 GB, free: 66.83 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007527/31.12, allocations: 8.394 MB / 8.813 GB, free: 60.27 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01607/31.13, allocations: 0.9879 MB / 8.814 GB, free: 60.26 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002572/31.13, allocations: 362.4 kB / 8.814 GB, free: 60.26 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/31.13, allocations: 5.719 kB / 8.814 GB, free: 60.26 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02191/31.16, allocations: 8.74 MB / 8.823 GB, free: 60.02 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001857/31.16, allocations: 42.66 kB / 8.823 GB, free: 60.02 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002757/31.16, allocations: 0.646 MB / 8.823 GB, free: 59.98 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008465/31.17, allocations: 1.607 MB / 8.825 GB, free: 59.98 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009865/31.18, allocations: 9.81 MB / 8.834 GB, free: 52.47 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01559/31.19, allocations: 0.9551 MB / 8.835 GB, free: 52.47 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0025/31.2, allocations: 348.7 kB / 8.836 GB, free: 52.47 MB / 1.198 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.01208/31.21, allocations: 3.309 MB / 8.839 GB, free: 52.28 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00399/31.21, allocations: 1.05 MB / 8.84 GB, free: 52.27 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 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.01549/31.23, allocations: 5.232 MB / 8.845 GB, free: 52.07 MB / 1.198 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.