Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl") translateModel(Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.705/1.705, allocations: 288.3 MB / 303.2 MB, free: 8.168 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001358/0.001357, allocations: 177 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.773/1.773, allocations: 205.4 MB / 0.6306 GB, free: 9.918 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001019/0.001019, allocations: 95.44 kB / 0.7439 GB, free: 5.84 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004145/0.0004147, allocations: 18.55 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2324/0.2328, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.719/6.952, allocations: 2.44 GB / 3.42 GB, free: 226.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002576/6.952, allocations: 95.97 kB / 3.42 GB, free: 226.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 22.55/29.5, allocations: 5.156 GB / 8.576 GB, free: 58.29 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.687e-06/29.5, allocations: 5.469 kB / 8.576 GB, free: 58.29 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.003344/29.5, allocations: 323.7 kB / 8.576 GB, free: 58.25 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: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.06186/29.56, allocations: 14.47 MB / 8.59 GB, free: 52.14 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.378e-05/29.56, allocations: 7.438 kB / 8.59 GB, free: 52.14 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02787/29.59, allocations: 3.404 MB / 8.594 GB, free: 51.37 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05271/29.64, allocations: 14.9 MB / 8.608 GB, free: 49.56 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00129/29.64, allocations: 0.7688 MB / 8.609 GB, free: 49.48 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004979/29.65, allocations: 0.9291 MB / 8.61 GB, free: 49.46 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04207/29.69, allocations: 11.52 MB / 8.621 GB, free: 48.38 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004753/29.69, allocations: 20.91 kB / 8.621 GB, free: 48.38 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00376/29.7, allocations: 368.7 kB / 8.622 GB, free: 48.38 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004216/29.7, allocations: 368.2 kB / 8.622 GB, free: 48.36 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03172/29.73, allocations: 10.52 MB / 8.632 GB, free: 48.28 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.11/29.84, allocations: 50.53 MB / 8.682 GB, free: 26.57 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02011/29.86, allocations: 9.133 MB / 8.69 GB, free: 24.67 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.04345/29.9, allocations: 15.75 MB / 8.706 GB, free: 19.61 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01185/29.91, allocations: 4.151 MB / 8.71 GB, free: 19.38 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01194/29.93, allocations: 1.344 MB / 8.711 GB, free: 19.02 MB / 1.167 GB Notification: Performance of pre-optimization done (n=598): time 5.164e-05/29.93, allocations: 0 / 8.711 GB, free: 19.02 MB / 1.167 GB Notification: Performance of matching and sorting (n=647): time 0.09287/30.02, allocations: 24.03 MB / 8.735 GB, free: 15.12 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002427/30.02, allocations: 381.5 kB / 8.735 GB, free: 14.74 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02855/30.05, allocations: 8.744 MB / 8.744 GB, free: 14.14 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.00272/30.05, allocations: 186.2 kB / 8.744 GB, free: 14.11 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.01031/30.06, allocations: 5.614 MB / 8.749 GB, free: 12.52 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.004536/30.07, allocations: 2.201 MB / 8.751 GB, free: 11.11 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002158/30.07, allocations: 144.9 kB / 8.752 GB, free: 11.11 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0009854/30.07, allocations: 0.5955 MB / 8.752 GB, free: 10.78 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01073/30.08, allocations: 3.387 MB / 8.755 GB, free: 10.27 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01321/30.09, allocations: 5.664 MB / 8.761 GB, free: 6.406 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01121/30.1, allocations: 4.2 MB / 8.765 GB, free: 4.566 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-05/30.1, allocations: 14.44 kB / 8.765 GB, free: 4.566 MB / 1.167 GB Notification: Performance of matching and sorting (n=945) (initialization): time 0.03673/30.14, allocations: 11.74 MB / 8.777 GB, free: 15.97 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.01598/30.16, allocations: 26.5 MB / 8.802 GB, free: 3.262 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002137/30.16, allocations: 47.48 kB / 8.802 GB, free: 3.262 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01684/30.17, allocations: 4.915 MB / 8.807 GB, free: 2.273 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007241/30.18, allocations: 1.289 MB / 8.809 GB, free: 2.141 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02759/30.21, allocations: 14.11 MB / 8.822 GB, free: 9.742 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01738/30.23, allocations: 1.031 MB / 8.823 GB, free: 9.488 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003065/30.23, allocations: 365.3 kB / 8.824 GB, free: 9.43 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/30.23, allocations: 3.719 kB / 8.824 GB, free: 9.43 MB / 1.214 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03495/30.26, allocations: 10.63 MB / 8.834 GB, free: 2.664 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00031/30.26, allocations: 44 kB / 8.834 GB, free: 2.621 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176/31.44, allocations: 5.115 MB / 8.839 GB, free: 102 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007645/31.45, allocations: 1.272 MB / 8.84 GB, free: 102 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02722/31.48, allocations: 16.1 MB / 8.856 GB, free: 95.81 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01564/31.49, allocations: 0.9928 MB / 8.857 GB, free: 95.81 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003174/31.49, allocations: 357.6 kB / 8.857 GB, free: 95.81 MB / 1.214 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 202 * Number of states: 0 () * Number of discrete variables: 44 ($PRE.wseCon.T1.enableFire,$PRE.wseCon.T2.enableFire,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.conPID.I.trigger_internal,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 (729): * Single equations (assignments): 719 * 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.01547/31.51, allocations: 3.368 MB / 8.861 GB, free: 95.61 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005133/31.52, allocations: 1.067 MB / 8.862 GB, free: 95.61 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 741 equation(s) and 739 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.0179/31.53, allocations: 5.566 MB / 8.867 GB, free: 95.41 MB / 1.214 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.