Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl") translateModel(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.419/2.419, allocations: 284.8 MB / 297.3 MB, free: 6.391 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00143/0.001429, allocations: 184.4 kB / 365.7 MB, free: 2.598 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.979/1.979, allocations: 205.2 MB / 0.6241 GB, free: 8.191 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001026/0.001026, allocations: 100.7 kB / 0.7372 GB, free: 40.8 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.472e-05/3.489e-05, allocations: 4 kB / 0.8574 GB, free: 13.74 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7704/0.7705, allocations: 115.2 MB / 0.97 GB, free: 78.06 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.344/8.114, allocations: 2.438 GB / 3.408 GB, free: 15.11 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002829/8.115, allocations: 89.77 kB / 3.408 GB, free: 15.07 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 28.71/36.83, allocations: 5.143 GB / 8.551 GB, free: 9.207 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.305e-06/36.83, allocations: 0 / 8.551 GB, free: 9.207 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.002832/36.83, allocations: 323.7 kB / 8.552 GB, free: 8.891 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 2.333/39.16, allocations: 11.66 MB / 8.563 GB, free: 54.75 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.728e-05/39.16, allocations: 9.703 kB / 8.563 GB, free: 54.75 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03804/39.2, allocations: 3.391 MB / 8.566 GB, free: 53.99 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06576/39.27, allocations: 14.71 MB / 8.581 GB, free: 52.81 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00145/39.27, allocations: 0.7648 MB / 8.582 GB, free: 52.73 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005021/39.27, allocations: 0.922 MB / 8.582 GB, free: 52.72 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04485/39.32, allocations: 11.05 MB / 8.593 GB, free: 51.66 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00068/39.32, allocations: 26.64 kB / 8.593 GB, free: 51.66 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004181/39.32, allocations: 363.4 kB / 8.594 GB, free: 51.66 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005038/39.32, allocations: 362.8 kB / 8.594 GB, free: 51.64 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03552/39.36, allocations: 9.724 MB / 8.603 GB, free: 51.56 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 removeSimpleEquations (simulation): time 0.1406/39.5, allocations: 50.18 MB / 8.652 GB, free: 30.55 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02689/39.53, allocations: 8.649 MB / 8.661 GB, free: 28.79 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01206/39.54, allocations: 3.904 MB / 8.665 GB, free: 28.72 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.06944/39.61, allocations: 18.68 MB / 8.683 GB, free: 39.52 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01317/39.62, allocations: 3.848 MB / 8.687 GB, free: 39.31 MB / 1.182 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01428/39.64, allocations: 1.917 MB / 8.689 GB, free: 39.03 MB / 1.182 GB Notification: Performance of pre-optimization done (n=600): time 3.382e-05/39.64, allocations: 0 / 8.689 GB, free: 39.03 MB / 1.182 GB Notification: Performance of matching and sorting (n=649): time 0.09537/39.73, allocations: 20.52 MB / 8.709 GB, free: 34.71 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003178/39.73, allocations: 386.2 kB / 8.709 GB, free: 34.32 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02727/39.76, allocations: 8.568 MB / 8.717 GB, free: 33.69 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.002447/39.76, allocations: 179.6 kB / 8.718 GB, free: 33.66 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.009438/39.77, allocations: 5.534 MB / 8.723 GB, free: 32.08 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.004349/39.78, allocations: 2.191 MB / 8.725 GB, free: 30.68 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001599/39.78, allocations: 147.8 kB / 8.725 GB, free: 30.68 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0009094/39.78, allocations: 0.5897 MB / 8.726 GB, free: 30.37 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01001/39.79, allocations: 3.048 MB / 8.729 GB, free: 30.35 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01318/39.8, allocations: 5.346 MB / 8.734 GB, free: 27.94 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01238/39.81, allocations: 3.887 MB / 8.738 GB, free: 27.81 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001021/39.81, allocations: 15.16 kB / 8.738 GB, free: 27.81 MB / 1.182 GB Notification: Performance of matching and sorting (n=948) (initialization): time 0.04288/39.86, allocations: 11.05 MB / 8.749 GB, free: 26.99 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.0124/39.87, allocations: 27.23 MB / 8.775 GB, free: 15.52 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002376/39.87, allocations: 51.34 kB / 8.775 GB, free: 15.52 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02351/39.89, allocations: 4.689 MB / 8.78 GB, free: 15.43 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0107/39.9, allocations: 1.282 MB / 8.781 GB, free: 15.43 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02863/39.93, allocations: 13.62 MB / 8.794 GB, free: 26.53 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01954/39.95, allocations: 1.025 MB / 8.795 GB, free: 26.46 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002516/39.96, allocations: 368.8 kB / 8.796 GB, free: 26.46 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/39.96, allocations: 8.719 kB / 8.796 GB, free: 26.46 MB / 1.214 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03031/39.99, allocations: 9.893 MB / 8.805 GB, free: 26.22 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001853/39.99, allocations: 43.41 kB / 8.805 GB, free: 26.22 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02993/40.02, allocations: 4.633 MB / 8.81 GB, free: 26.12 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01381/40.03, allocations: 1.258 MB / 8.811 GB, free: 26.12 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0441/40.07, allocations: 15.57 MB / 8.826 GB, free: 19.6 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02013/40.09, allocations: 0.9875 MB / 8.827 GB, free: 19.54 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002516/40.1, allocations: 360 kB / 8.828 GB, free: 19.54 MB / 1.214 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 (733): * Single equations (assignments): 723 * 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 {19 158,4 16,1 2,2 8,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.003802/40.1, allocations: 0.5612 MB / 8.828 GB, free: 19.4 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004682/40.1, allocations: 1.065 MB / 8.829 GB, free: 18.84 MB / 1.214 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 736 equation(s) and 734 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.02113/40.13, allocations: 5.181 MB / 8.834 GB, free: 18.56 MB / 1.214 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.