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.363/2.363, allocations: 251.1 MB / 266.1 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003468/0.003468, allocations: 182.5 kB / 325.6 MB, free: 2.844 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.301/2.301, allocations: 205.4 MB / 0.5766 GB, free: 20.73 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.001491/0.00149, allocations: 97.72 kB / 0.6811 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005182/0.0005183, allocations: 11.59 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.211/0.2115, allocations: 106.3 MB / 0.8989 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.272/8.484, allocations: 2.555 GB / 3.454 GB, free: 216.4 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002824/8.484, allocations: 95 kB / 3.454 GB, free: 216.4 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 27.75/36.24, allocations: 5.022 GB / 8.476 GB, free: 54.87 MB / 1.089 GB Notification: Performance of FrontEnd: time 2.364e-06/36.24, allocations: 4 kB / 8.476 GB, free: 54.86 MB / 1.089 GB Notification: Performance of Transformations before backend: time 0.002919/36.24, allocations: 327.2 kB / 8.476 GB, free: 54.79 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.06834/36.31, allocations: 14.53 MB / 8.491 GB, free: 48.27 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/36.31, allocations: 13.75 kB / 8.491 GB, free: 48.27 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03628/36.34, allocations: 3.389 MB / 8.494 GB, free: 47.42 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06316/36.41, allocations: 14.86 MB / 8.508 GB, free: 45.06 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001418/36.41, allocations: 0.7684 MB / 8.509 GB, free: 44.97 MB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004966/36.41, allocations: 0.9256 MB / 8.51 GB, free: 44.95 MB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0463/36.46, allocations: 11.48 MB / 8.521 GB, free: 43.8 MB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005786/36.46, allocations: 25.75 kB / 8.521 GB, free: 43.79 MB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003831/36.46, allocations: 367.2 kB / 8.522 GB, free: 43.79 MB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004683/36.46, allocations: 362.4 kB / 8.522 GB, free: 43.77 MB / 1.089 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04163/36.51, allocations: 10.52 MB / 8.532 GB, free: 43.58 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.1274/36.63, allocations: 50.17 MB / 8.581 GB, free: 5.707 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04027/36.67, allocations: 9.229 MB / 8.59 GB, free: 13.34 MB / 1.104 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.06688/36.74, allocations: 15.7 MB / 8.606 GB, free: 14.35 MB / 1.12 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01697/36.76, allocations: 4.173 MB / 8.61 GB, free: 10.09 MB / 1.12 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01401/36.77, allocations: 1.357 MB / 8.611 GB, free: 8.734 MB / 1.12 GB Notification: Performance of pre-optimization done (n=604): time 2.902e-05/36.77, allocations: 0 / 8.611 GB, free: 8.734 MB / 1.12 GB Notification: Performance of matching and sorting (n=653): time 1.225/38, allocations: 25.65 MB / 8.636 GB, free: 89.95 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002237/38, allocations: 385.5 kB / 8.636 GB, free: 89.57 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02967/38.03, allocations: 8.707 MB / 8.645 GB, free: 89.02 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 0.002461/38.03, allocations: 183.3 kB / 8.645 GB, free: 88.98 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.01032/38.04, allocations: 5.539 MB / 8.651 GB, free: 87.88 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 0.00457/38.04, allocations: 2.203 MB / 8.653 GB, free: 86.77 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001924/38.05, allocations: 151.2 kB / 8.653 GB, free: 86.77 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 0.0008665/38.05, allocations: 0.5933 MB / 8.653 GB, free: 86.45 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01332/38.06, allocations: 3.377 MB / 8.657 GB, free: 86.43 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01633/38.08, allocations: 5.66 MB / 8.662 GB, free: 84.05 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01643/38.09, allocations: 4.192 MB / 8.666 GB, free: 83.95 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001068/38.09, allocations: 12.38 kB / 8.666 GB, free: 83.95 MB / 1.12 GB Notification: Performance of matching and sorting (n=951) (initialization): time 0.05001/38.14, allocations: 11.72 MB / 8.678 GB, free: 83.14 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 0.006174/38.15, allocations: 26.79 MB / 8.704 GB, free: 56.13 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003014/38.15, allocations: 45.28 kB / 8.704 GB, free: 56.13 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02629/38.18, allocations: 4.919 MB / 8.709 GB, free: 56.05 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01085/38.19, allocations: 1.285 MB / 8.71 GB, free: 56.05 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03565/38.22, allocations: 14.12 MB / 8.724 GB, free: 51.24 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02012/38.24, allocations: 1.036 MB / 8.725 GB, free: 51.2 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002638/38.25, allocations: 368.9 kB / 8.725 GB, free: 51.2 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/38.25, allocations: 5.219 kB / 8.725 GB, free: 51.2 MB / 1.12 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04387/38.29, allocations: 10.61 MB / 8.736 GB, free: 50.96 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002152/38.29, allocations: 42.25 kB / 8.736 GB, free: 50.96 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02676/38.32, allocations: 4.915 MB / 8.74 GB, free: 50.87 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01045/38.33, allocations: 1.259 MB / 8.742 GB, free: 50.87 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03831/38.37, allocations: 16.1 MB / 8.757 GB, free: 44.5 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01935/38.39, allocations: 0.9963 MB / 8.758 GB, free: 44.47 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002539/38.39, allocations: 360.1 kB / 8.759 GB, free: 44.47 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 (735): * Single equations (assignments): 725 * 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.01352/38.4, allocations: 3.384 MB / 8.762 GB, free: 44.27 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005285/38.41, allocations: 1.063 MB / 8.763 GB, free: 43.71 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 744 equation(s) and 742 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.02925/38.44, allocations: 5.546 MB / 8.768 GB, free: 43.46 MB / 1.12 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.