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.586/1.586, allocations: 285.6 MB / 293.1 MB, free: 10.2 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.001114/0.001114, allocations: 172.9 kB / 361.4 MB, free: 6.836 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.56/1.56, allocations: 205.3 MB / 0.62 GB, free: 11.67 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.0008576/0.0008576, allocations: 98.23 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.019e-05/1.987e-05, allocations: 4 kB / 0.8517 GB, free: 2.758 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7083/0.7083, allocations: 115.3 MB / 0.9643 GB, free: 79.02 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.671/6.38, allocations: 2.438 GB / 3.402 GB, free: 83.11 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002417/6.38, allocations: 88.03 kB / 3.402 GB, free: 83.02 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 20.05/26.43, allocations: 5.107 GB / 8.51 GB, free: 44.05 MB / 1.135 GB Notification: Performance of FrontEnd: time 1.673e-06/26.43, allocations: 3.938 kB / 8.51 GB, free: 44.05 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.00287/26.44, allocations: 333 kB / 8.51 GB, free: 43.96 MB / 1.135 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.047/26.48, allocations: 11.66 MB / 8.521 GB, free: 38.55 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/26.48, allocations: 11.5 kB / 8.521 GB, free: 38.55 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02555/26.51, allocations: 3.391 MB / 8.525 GB, free: 37.71 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04671/26.56, allocations: 14.7 MB / 8.539 GB, free: 35.36 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008942/26.56, allocations: 452.5 kB / 8.539 GB, free: 35.28 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004812/26.56, allocations: 0.5549 MB / 8.54 GB, free: 35.27 MB / 1.135 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02458/26.59, allocations: 9.194 MB / 8.549 GB, free: 28.91 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03114/26.62, allocations: 9.655 MB / 8.558 GB, free: 20.51 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007685/26.62, allocations: 23.72 kB / 8.558 GB, free: 20.49 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00404/26.62, allocations: 16 kB / 8.558 GB, free: 20.48 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003553/26.62, allocations: 359.9 kB / 8.559 GB, free: 20.14 MB / 1.135 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.1075/26.73, allocations: 48.56 MB / 8.606 GB, free: 3.602 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 1.068/27.8, allocations: 9.571 MB / 8.616 GB, free: 79.52 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008239/27.81, allocations: 3.773 MB / 8.619 GB, free: 79.45 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.04187/27.85, allocations: 18.26 MB / 8.637 GB, free: 74.34 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005595/27.86, allocations: 3.548 MB / 8.641 GB, free: 74.14 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0083/27.86, allocations: 1.685 MB / 8.642 GB, free: 74.14 MB / 1.167 GB Notification: Performance of pre-optimization done (n=591): time 3.604e-05/27.86, allocations: 2.203 kB / 8.642 GB, free: 74.14 MB / 1.167 GB Notification: Performance of matching and sorting (n=640): time 0.06184/27.93, allocations: 20.08 MB / 8.662 GB, free: 70.61 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001719/27.93, allocations: 387.3 kB / 8.662 GB, free: 70.22 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01748/27.94, allocations: 7.702 MB / 8.67 GB, free: 69.68 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.001996/27.95, allocations: 48.02 kB / 8.67 GB, free: 69.65 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.006373/27.95, allocations: 5.583 MB / 8.675 GB, free: 68.46 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.003775/27.96, allocations: 2.083 MB / 8.677 GB, free: 67.37 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005951/27.96, allocations: 0 / 8.677 GB, free: 67.37 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0005621/27.96, allocations: 0.586 MB / 8.678 GB, free: 67.05 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005231/27.96, allocations: 2.853 MB / 8.681 GB, free: 67.04 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007062/27.97, allocations: 5.1 MB / 8.686 GB, free: 64.61 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01397/27.98, allocations: 4.006 MB / 8.689 GB, free: 64.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001668/27.98, allocations: 16.42 kB / 8.689 GB, free: 64.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=940) (initialization): time 0.02846/28.01, allocations: 10.55 MB / 8.7 GB, free: 63.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.005906/28.02, allocations: 27.28 MB / 8.726 GB, free: 35.71 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003064/28.02, allocations: 53.02 kB / 8.726 GB, free: 35.71 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01829/28.04, allocations: 3.804 MB / 8.73 GB, free: 35.62 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009063/28.05, allocations: 1.262 MB / 8.731 GB, free: 35.62 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02519/28.07, allocations: 13.71 MB / 8.745 GB, free: 30.83 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02062/28.09, allocations: 0.8388 MB / 8.746 GB, free: 30.79 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003487/28.1, allocations: 366 kB / 8.746 GB, free: 30.79 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/28.1, allocations: 6.75 kB / 8.746 GB, free: 30.79 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03846/28.13, allocations: 9.141 MB / 8.755 GB, free: 30.55 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000405/28.13, allocations: 48.16 kB / 8.755 GB, free: 30.55 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01819/28.15, allocations: 3.8 MB / 8.759 GB, free: 30.46 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009335/28.16, allocations: 1.232 MB / 8.76 GB, free: 30.46 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03282/28.19, allocations: 15.5 MB / 8.775 GB, free: 40.16 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01871/28.21, allocations: 0.809 MB / 8.776 GB, free: 40.12 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00331/28.22, allocations: 350.2 kB / 8.776 GB, free: 40.12 MB / 1.182 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: cooCoi.ele[4].con1.dT:VARIABLE(min = -200.0 unit = "K" protected = true ) "= solid.T - fluid.T" type: Real [4] cooCoi.ele[3].con1.dT:VARIABLE(min = -200.0 unit = "K" protected = true ) "= solid.T - fluid.T" type: Real [4] wse.Q2_flow:VARIABLE(unit = "W" ) "Heat transferred into the medium 2" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 213 * 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 (725): * Single equations (assignments): 715 * 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 {20 157,4 16,1 2,2 8,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.00544/28.22, allocations: 320.5 kB / 8.776 GB, free: 40.02 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006303/28.23, allocations: 1.015 MB / 8.777 GB, free: 39.48 MB / 1.182 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 724 equation(s) and 722 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02715/28.26, allocations: 4.982 MB / 8.782 GB, free: 39.23 MB / 1.182 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.