Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.267/2.267, allocations: 252.6 MB / 265.2 MB, free: 5.832 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001469/0.001469, allocations: 191.7 kB / 324.5 MB, free: 14.43 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.02/2.02, allocations: 205.4 MB / 0.5754 GB, free: 10.52 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001096/0.001096, allocations: 102 kB / 0.6797 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.917e-05/2.92e-05, allocations: 4 kB / 0.7911 GB, free: 96.66 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2032/0.2032, allocations: 106.2 MB / 0.8949 GB, free: 6.324 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.163/8.366, allocations: 2.555 GB / 3.45 GB, free: 93.22 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003564/8.366, allocations: 89.33 kB / 3.45 GB, free: 93.18 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 28.29/36.65, allocations: 5.011 GB / 8.461 GB, free: 57.69 MB / 1.104 GB Notification: Performance of FrontEnd: time 2.064e-06/36.65, allocations: 2.312 kB / 8.461 GB, free: 57.69 MB / 1.104 GB Notification: Performance of Transformations before backend: time 0.003114/36.66, allocations: 330.5 kB / 8.461 GB, free: 57.64 MB / 1.104 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.05137/36.71, allocations: 11.68 MB / 8.473 GB, free: 52.49 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 5.718e-05/36.71, allocations: 14.88 kB / 8.473 GB, free: 52.49 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03653/36.75, allocations: 3.378 MB / 8.476 GB, free: 51.73 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06362/36.81, allocations: 14.74 MB / 8.49 GB, free: 49.92 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001415/36.81, allocations: 0.7683 MB / 8.491 GB, free: 49.84 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004998/36.82, allocations: 0.9306 MB / 8.492 GB, free: 49.83 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04481/36.86, allocations: 11.07 MB / 8.503 GB, free: 48.77 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007181/36.86, allocations: 20.88 kB / 8.503 GB, free: 48.77 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00437/36.87, allocations: 369.2 kB / 8.503 GB, free: 48.77 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005528/36.87, allocations: 362.9 kB / 8.503 GB, free: 48.75 MB / 1.104 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03546/36.9, allocations: 9.75 MB / 8.513 GB, free: 48.67 MB / 1.104 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.1329/37.03, allocations: 50.17 MB / 8.562 GB, free: 27.4 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02619/37.06, allocations: 8.739 MB / 8.57 GB, free: 25.71 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01143/37.07, allocations: 3.89 MB / 8.574 GB, free: 25.64 MB / 1.104 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.06651/37.14, allocations: 18.58 MB / 8.592 GB, free: 20.46 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01288/37.15, allocations: 3.852 MB / 8.596 GB, free: 20.23 MB / 1.104 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01431/37.17, allocations: 1.915 MB / 8.598 GB, free: 19.96 MB / 1.104 GB Notification: Performance of pre-optimization done (n=601): time 4.683e-05/37.17, allocations: 0 / 8.598 GB, free: 19.96 MB / 1.104 GB Notification: Performance of matching and sorting (n=650): time 0.0861/37.25, allocations: 20.48 MB / 8.618 GB, free: 15.59 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001966/37.25, allocations: 387.2 kB / 8.618 GB, free: 15.21 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0265/37.28, allocations: 8.597 MB / 8.627 GB, free: 14.57 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.002582/37.28, allocations: 182 kB / 8.627 GB, free: 14.54 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.009709/37.29, allocations: 5.539 MB / 8.632 GB, free: 12.96 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.004146/37.3, allocations: 2.207 MB / 8.635 GB, free: 11.55 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00139/37.3, allocations: 147.1 kB / 8.635 GB, free: 11.55 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.0006842/37.3, allocations: 0.5885 MB / 8.635 GB, free: 11.24 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01001/37.31, allocations: 3.042 MB / 8.638 GB, free: 11.22 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01332/37.32, allocations: 5.334 MB / 8.643 GB, free: 8.812 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01162/37.33, allocations: 3.883 MB / 8.647 GB, free: 8.688 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.108e-05/37.33, allocations: 13.97 kB / 8.647 GB, free: 8.688 MB / 1.104 GB Notification: Performance of matching and sorting (n=949) (initialization): time 0.03895/37.37, allocations: 11.11 MB / 8.658 GB, free: 7.809 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 0.01016/37.38, allocations: 27.22 MB / 8.685 GB, free: 12.18 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001874/37.38, allocations: 55.02 kB / 8.685 GB, free: 12.18 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03229/37.41, allocations: 4.675 MB / 8.689 GB, free: 12.02 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01357/37.43, allocations: 1.282 MB / 8.691 GB, free: 12 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04383/37.47, allocations: 13.63 MB / 8.704 GB, free: 7.035 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03076/37.5, allocations: 1.029 MB / 8.705 GB, free: 6.895 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003204/37.51, allocations: 366.9 kB / 8.705 GB, free: 6.895 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/37.51, allocations: 3.375 kB / 8.705 GB, free: 6.895 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04069/37.55, allocations: 9.893 MB / 8.715 GB, free: 5.938 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001451/37.55, allocations: 45.47 kB / 8.715 GB, free: 5.938 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04036/37.59, allocations: 4.623 MB / 8.719 GB, free: 4.949 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03131/37.62, allocations: 1.254 MB / 8.721 GB, free: 4.812 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04512/37.66, allocations: 15.58 MB / 8.736 GB, free: 10.62 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01925/37.68, allocations: 0.9863 MB / 8.737 GB, free: 10.38 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002395/37.69, allocations: 363.4 kB / 8.737 GB, free: 10.31 MB / 1.151 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 (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 8,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.003708/37.69, allocations: 0.561 MB / 8.738 GB, free: 9.863 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004758/37.69, allocations: 1.059 MB / 8.739 GB, free: 9.305 MB / 1.151 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 737 equation(s) and 735 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.02174/37.72, allocations: 5.183 MB / 8.744 GB, free: 7.254 MB / 1.151 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.