Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.399/1.399, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001119/0.001119, allocations: 181 kB / 326.5 MB, free: 2.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.748/1.748, allocations: 205.4 MB / 0.5775 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000999/0.0009989, allocations: 94.34 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003807/0.0003808, allocations: 7.938 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2607/0.2611, allocations: 106.3 MB / 0.9001 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.756/7.017, allocations: 2.555 GB / 3.455 GB, free: 297.6 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002603/7.017, allocations: 93.62 kB / 3.456 GB, free: 297.6 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 20.35/27.37, allocations: 5.02 GB / 8.476 GB, free: 56.81 MB / 1.089 GB Notification: Performance of FrontEnd: time 2.093e-06/27.37, allocations: 3.938 kB / 8.476 GB, free: 56.81 MB / 1.089 GB Notification: Performance of Transformations before backend: time 0.00254/27.37, allocations: 324 kB / 8.476 GB, free: 56.75 MB / 1.089 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2243 * Number of variables: 2243 Notification: Performance of Generate backend data structure: time 0.058/27.43, allocations: 14.53 MB / 8.49 GB, free: 50.4 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/27.43, allocations: 6.969 kB / 8.49 GB, free: 50.4 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02719/27.46, allocations: 3.382 MB / 8.493 GB, free: 49.57 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04485/27.5, allocations: 14.86 MB / 8.508 GB, free: 47.46 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001205/27.5, allocations: 0.7651 MB / 8.509 GB, free: 47.38 MB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005183/27.51, allocations: 0.9166 MB / 8.509 GB, free: 47.37 MB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0352/27.54, allocations: 11.49 MB / 8.521 GB, free: 46.22 MB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003079/27.54, allocations: 22.16 kB / 8.521 GB, free: 46.21 MB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002056/27.55, allocations: 365.4 kB / 8.521 GB, free: 46.21 MB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002867/27.55, allocations: 361.2 kB / 8.521 GB, free: 46.19 MB / 1.089 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03064/27.58, allocations: 10.51 MB / 8.532 GB, free: 46.01 MB / 1.089 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.09684/27.67, allocations: 50.29 MB / 8.581 GB, free: 22.94 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01747/27.69, allocations: 9.221 MB / 8.59 GB, free: 18.33 MB / 1.089 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.03411/27.73, allocations: 15.81 MB / 8.605 GB, free: 8.617 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007573/27.73, allocations: 4.174 MB / 8.609 GB, free: 5.852 MB / 1.089 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009417/27.74, allocations: 1.349 MB / 8.611 GB, free: 4.734 MB / 1.089 GB Notification: Performance of pre-optimization done (n=604): time 3.877e-05/27.74, allocations: 0 / 8.611 GB, free: 4.734 MB / 1.089 GB Notification: Performance of matching and sorting (n=608): time 0.06474/27.81, allocations: 22.17 MB / 8.632 GB, free: 0.5195 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002243/27.81, allocations: 385.2 kB / 8.633 GB, free: 68 kB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01796/27.83, allocations: 8.716 MB / 8.641 GB, free: 8.848 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 0.002055/27.83, allocations: 177.6 kB / 8.641 GB, free: 8.672 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.006412/27.83, allocations: 5.526 MB / 8.647 GB, free: 3.629 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 0.003521/27.84, allocations: 2.052 MB / 8.649 GB, free: 1.723 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006695/27.84, allocations: 140 kB / 8.649 GB, free: 1.586 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 0.000494/27.84, allocations: 0.5726 MB / 8.649 GB, free: 1.09 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.9202/28.76, allocations: 3.134 MB / 8.652 GB, free: 90.32 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01298/28.77, allocations: 5.386 MB / 8.658 GB, free: 87.94 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01178/28.78, allocations: 3.898 MB / 8.662 GB, free: 87.84 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.994e-05/28.78, allocations: 14.27 kB / 8.662 GB, free: 87.84 MB / 1.12 GB Notification: Performance of matching and sorting (n=906) (initialization): time 0.02668/28.81, allocations: 9.821 MB / 8.671 GB, free: 87.59 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 0.005514/28.82, allocations: 26.8 MB / 8.697 GB, free: 60.59 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001765/28.82, allocations: 46.97 kB / 8.697 GB, free: 60.59 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002977/28.82, allocations: 0.6493 MB / 8.698 GB, free: 60.55 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00905/28.83, allocations: 1.645 MB / 8.7 GB, free: 60.55 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007251/28.84, allocations: 8.388 MB / 8.708 GB, free: 53.98 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0153/28.85, allocations: 1.002 MB / 8.709 GB, free: 53.98 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002477/28.85, allocations: 358.8 kB / 8.709 GB, free: 53.98 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/28.85, allocations: 2.594 kB / 8.709 GB, free: 53.98 MB / 1.12 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0265/28.88, allocations: 8.721 MB / 8.718 GB, free: 53.74 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002538/28.88, allocations: 48 kB / 8.718 GB, free: 53.74 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002763/28.88, allocations: 0.6447 MB / 8.718 GB, free: 53.69 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008571/28.89, allocations: 1.609 MB / 8.72 GB, free: 53.69 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01114/28.9, allocations: 9.815 MB / 8.729 GB, free: 46.18 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.015/28.92, allocations: 0.9617 MB / 8.73 GB, free: 46.18 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002504/28.92, allocations: 349.5 kB / 8.731 GB, free: 46.18 MB / 1.12 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 (864): * Single equations (assignments): 852 * 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.01133/28.93, allocations: 3.328 MB / 8.734 GB, free: 45.99 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004364/28.94, allocations: 1.051 MB / 8.735 GB, free: 45.98 MB / 1.12 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 699 equation(s) and 697 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.0191/28.96, allocations: 5.221 MB / 8.74 GB, free: 45.79 MB / 1.12 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.