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.603/2.603, allocations: 287.5 MB / 302.5 MB, free: 8.383 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.002368/0.002367, allocations: 187.9 kB / 371 MB, free: 10.79 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 2.223/2.223, allocations: 205.4 MB / 0.6297 GB, free: 10.49 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001155/0.001154, allocations: 83.55 kB / 0.743 GB, free: 6.5 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006403/0.0006403, allocations: 14.69 kB / 0.8658 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2261, allocations: 115.3 MB / 0.9784 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.264/8.49, allocations: 2.438 GB / 3.417 GB, free: 187.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002753/8.491, allocations: 94.33 kB / 3.417 GB, free: 187.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 29.39/37.88, allocations: 5.154 GB / 8.571 GB, free: 60.01 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.947e-06/37.88, allocations: 0 / 8.571 GB, free: 60.01 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.002879/37.88, allocations: 323.9 kB / 8.571 GB, free: 59.96 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.07125/37.95, allocations: 14.51 MB / 8.586 GB, free: 53.78 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/37.95, allocations: 9.938 kB / 8.586 GB, free: 53.78 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.037/37.99, allocations: 3.391 MB / 8.589 GB, free: 53.02 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0663/38.06, allocations: 14.83 MB / 8.603 GB, free: 51.22 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002022/38.06, allocations: 0.7681 MB / 8.604 GB, free: 51.13 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006734/38.07, allocations: 0.9233 MB / 8.605 GB, free: 51.12 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06221/38.13, allocations: 11.47 MB / 8.616 GB, free: 50.04 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007247/38.13, allocations: 17.41 kB / 8.616 GB, free: 50.03 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004288/38.13, allocations: 370 kB / 8.617 GB, free: 50.03 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005439/38.13, allocations: 359.8 kB / 8.617 GB, free: 50.01 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04339/38.18, allocations: 10.49 MB / 8.627 GB, free: 49.89 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.142/38.32, allocations: 50.17 MB / 8.676 GB, free: 28.16 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03793/38.36, allocations: 9.134 MB / 8.685 GB, free: 26.24 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.05081/38.41, allocations: 15.81 MB / 8.701 GB, free: 21.11 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01391/38.42, allocations: 4.174 MB / 8.705 GB, free: 20.86 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0125/38.43, allocations: 1.363 MB / 8.706 GB, free: 20.51 MB / 1.167 GB Notification: Performance of pre-optimization done (n=603): time 2.8e-05/38.43, allocations: 0 / 8.706 GB, free: 20.51 MB / 1.167 GB Notification: Performance of matching and sorting (n=652): time 0.1145/38.55, allocations: 25.7 MB / 8.731 GB, free: 15.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001916/38.55, allocations: 385.8 kB / 8.731 GB, free: 15.02 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02521/38.57, allocations: 8.666 MB / 8.74 GB, free: 14.43 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.002392/38.58, allocations: 189.3 kB / 8.74 GB, free: 14.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.00909/38.59, allocations: 5.524 MB / 8.746 GB, free: 12.02 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.004266/38.59, allocations: 2.205 MB / 8.748 GB, free: 10.31 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001193/38.59, allocations: 152 kB / 8.748 GB, free: 10.19 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0006228/38.59, allocations: 0.5881 MB / 8.748 GB, free: 9.758 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01232/38.6, allocations: 3.379 MB / 8.752 GB, free: 8.555 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01567/38.62, allocations: 5.668 MB / 8.757 GB, free: 4.68 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01494/38.64, allocations: 4.191 MB / 8.761 GB, free: 2.852 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-05/38.64, allocations: 17.8 kB / 8.761 GB, free: 2.848 MB / 1.167 GB Notification: Performance of matching and sorting (n=950) (initialization): time 0.05019/38.69, allocations: 11.99 MB / 8.773 GB, free: 15.2 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.01291/38.7, allocations: 26.8 MB / 8.799 GB, free: 3.672 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001585/38.7, allocations: 43.25 kB / 8.799 GB, free: 3.672 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02596/38.72, allocations: 4.988 MB / 8.804 GB, free: 2.68 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01062/38.74, allocations: 1.294 MB / 8.805 GB, free: 2.539 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03612/38.77, allocations: 14.1 MB / 8.819 GB, free: 8.086 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02001/38.79, allocations: 1.023 MB / 8.82 GB, free: 7.297 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002627/38.79, allocations: 372.4 kB / 8.821 GB, free: 6.973 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/38.79, allocations: 4 kB / 8.821 GB, free: 6.969 MB / 1.214 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.229/40.02, allocations: 10.78 MB / 8.831 GB, free: 101.1 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002034/40.02, allocations: 49.34 kB / 8.831 GB, free: 101.1 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02915/40.05, allocations: 4.927 MB / 8.836 GB, free: 101 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01115/40.06, allocations: 1.259 MB / 8.837 GB, free: 101 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04131/40.11, allocations: 16.1 MB / 8.853 GB, free: 94.82 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01913/40.12, allocations: 0.9926 MB / 8.854 GB, free: 94.82 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002538/40.13, allocations: 358.8 kB / 8.854 GB, free: 94.82 MB / 1.214 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 (734): * Single equations (assignments): 724 * 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 9,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0132/40.14, allocations: 3.355 MB / 8.857 GB, free: 94.62 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005068/40.15, allocations: 1.059 MB / 8.858 GB, free: 94.62 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 743 equation(s) and 741 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.02785/40.17, allocations: 5.546 MB / 8.864 GB, free: 94.42 MB / 1.214 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.