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.17/2.17, allocations: 387.1 MB / 399.7 MB, free: 9.508 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.0009891/0.0009893, allocations: 188 kB / 492.3 MB, free: 0.6133 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.414/1.414, allocations: 221.3 MB / 0.7871 GB, free: 12.93 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.0008896/0.0008896, allocations: 94.64 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.013e-05/3.017e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.2703, allocations: 142.3 MB / 1.212 GB, free: 38.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.851/6.121, allocations: 2.269 GB / 3.481 GB, free: 7.641 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000278/6.122, allocations: 84.95 kB / 3.481 GB, free: 7.602 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 20.33/26.45, allocations: 5.205 GB / 8.686 GB, free: 15.33 MB / 1.37 GB Notification: Performance of FrontEnd: time 1.383e-06/26.45, allocations: 4 kB / 8.686 GB, free: 15.32 MB / 1.37 GB Notification: Performance of Transformations before backend: time 0.00272/26.45, allocations: 331.7 kB / 8.686 GB, free: 15 MB / 1.37 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.04758/26.5, allocations: 11.75 MB / 8.698 GB, free: 3.133 MB / 1.37 GB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/26.5, allocations: 8.031 kB / 8.698 GB, free: 3.125 MB / 1.37 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.272/28.77, allocations: 3.657 MB / 8.701 GB, free: 80.02 MB / 1.37 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05347/28.83, allocations: 14.97 MB / 8.716 GB, free: 78.83 MB / 1.37 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001656/28.83, allocations: 0.7653 MB / 8.717 GB, free: 78.75 MB / 1.37 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005327/28.83, allocations: 0.9059 MB / 8.718 GB, free: 78.74 MB / 1.37 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04357/28.88, allocations: 11.1 MB / 8.729 GB, free: 77.69 MB / 1.37 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005077/28.88, allocations: 14.16 kB / 8.729 GB, free: 77.69 MB / 1.37 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003735/28.88, allocations: 372.8 kB / 8.729 GB, free: 77.69 MB / 1.37 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003732/28.88, allocations: 364 kB / 8.729 GB, free: 77.67 MB / 1.37 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02631/28.91, allocations: 9.785 MB / 8.739 GB, free: 77.59 MB / 1.37 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.1167/29.02, allocations: 50.52 MB / 8.788 GB, free: 56.72 MB / 1.37 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01739/29.04, allocations: 8.711 MB / 8.797 GB, free: 54.98 MB / 1.37 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00795/29.05, allocations: 3.904 MB / 8.801 GB, free: 54.91 MB / 1.37 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.04829/29.1, allocations: 18.88 MB / 8.819 GB, free: 49.8 MB / 1.37 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007069/29.11, allocations: 3.875 MB / 8.823 GB, free: 49.58 MB / 1.37 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009949/29.12, allocations: 1.909 MB / 8.825 GB, free: 49.31 MB / 1.37 GB Notification: Performance of pre-optimization done (n=600): time 4.006e-05/29.12, allocations: 1.281 kB / 8.825 GB, free: 49.31 MB / 1.37 GB Notification: Performance of matching and sorting (n=604): time 0.05238/29.17, allocations: 17.27 MB / 8.841 GB, free: 45.03 MB / 1.37 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001516/29.17, allocations: 380.8 kB / 8.842 GB, free: 44.65 MB / 1.37 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02136/29.19, allocations: 8.662 MB / 8.85 GB, free: 44 MB / 1.37 GB Notification: Performance of collectPreVariables (initialization): time 0.002398/29.19, allocations: 169.8 kB / 8.85 GB, free: 43.97 MB / 1.37 GB Notification: Performance of collectInitialEqns (initialization): time 0.008249/29.2, allocations: 5.605 MB / 8.856 GB, free: 42.41 MB / 1.37 GB Notification: Performance of collectInitialBindings (initialization): time 0.003876/29.2, allocations: 2.04 MB / 8.858 GB, free: 41.11 MB / 1.37 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008128/29.2, allocations: 140.9 kB / 8.858 GB, free: 41.11 MB / 1.37 GB Notification: Performance of setup shared object (initialization): time 0.0005199/29.21, allocations: 0.5738 MB / 8.859 GB, free: 40.79 MB / 1.37 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005106/29.21, allocations: 2.827 MB / 8.861 GB, free: 40.78 MB / 1.37 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007591/29.22, allocations: 4.978 MB / 8.866 GB, free: 38.49 MB / 1.37 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007977/29.23, allocations: 3.601 MB / 8.87 GB, free: 38.37 MB / 1.37 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.022e-05/29.23, allocations: 12.97 kB / 8.87 GB, free: 38.37 MB / 1.37 GB Notification: Performance of matching and sorting (n=903) (initialization): time 0.02953/29.26, allocations: 9.189 MB / 8.879 GB, free: 37.55 MB / 1.37 GB Notification: Performance of prepare postOptimizeDAE: time 0.01264/29.27, allocations: 27.33 MB / 8.905 GB, free: 40.48 MB / 1.401 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00022/29.27, allocations: 45.88 kB / 8.905 GB, free: 40.48 MB / 1.401 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003058/29.27, allocations: 0.6426 MB / 8.906 GB, free: 40.43 MB / 1.401 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009164/29.28, allocations: 1.663 MB / 8.908 GB, free: 40.43 MB / 1.401 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008312/29.29, allocations: 8.298 MB / 8.916 GB, free: 33.82 MB / 1.401 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01628/29.31, allocations: 1.049 MB / 8.917 GB, free: 33.75 MB / 1.401 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002698/29.31, allocations: 365.4 kB / 8.917 GB, free: 33.75 MB / 1.401 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/29.31, allocations: 2.969 kB / 8.917 GB, free: 33.75 MB / 1.401 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02382/29.33, allocations: 8.133 MB / 8.925 GB, free: 33.51 MB / 1.401 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001629/29.33, allocations: 48.05 kB / 8.925 GB, free: 33.51 MB / 1.401 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002571/29.34, allocations: 0.6343 MB / 8.926 GB, free: 33.46 MB / 1.401 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008742/29.34, allocations: 1.63 MB / 8.927 GB, free: 33.46 MB / 1.401 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01011/29.35, allocations: 9.666 MB / 8.937 GB, free: 25.82 MB / 1.401 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01412/29.37, allocations: 1.018 MB / 8.938 GB, free: 25.76 MB / 1.401 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002288/29.37, allocations: 347.4 kB / 8.938 GB, free: 25.76 MB / 1.401 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.003522/29.37, allocations: 0.5549 MB / 8.939 GB, free: 25.62 MB / 1.401 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004997/29.38, allocations: 1.054 MB / 8.94 GB, free: 25.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 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.01798/29.4, allocations: 4.917 MB / 8.945 GB, free: 24.78 MB / 1.401 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.