Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl") translateModel(Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.67/1.67, allocations: 289.7 MB / 302.2 MB, free: 2.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.001038/0.001038, allocations: 183.1 kB / 371.6 MB, free: 3.379 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.652/1.652, allocations: 205.1 MB / 0.6309 GB, free: 11.76 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009273/0.000927, allocations: 88.62 kB / 0.745 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.807e-05/3.81e-05, allocations: 4 kB / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.287/0.287, allocations: 116.3 MB / 0.9798 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.656/6.943, allocations: 2.441 GB / 3.421 GB, free: 218.1 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002237/6.944, allocations: 88.52 kB / 3.421 GB, free: 218 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 20.56/27.5, allocations: 5.143 GB / 8.564 GB, free: 54.84 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.576e-06/27.5, allocations: 0 / 8.564 GB, free: 54.84 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.002998/27.51, allocations: 326.2 kB / 8.564 GB, free: 54.79 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.04695/27.55, allocations: 11.61 MB / 8.575 GB, free: 49.75 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/27.55, allocations: 7.094 kB / 8.575 GB, free: 49.75 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0259/27.58, allocations: 3.397 MB / 8.579 GB, free: 48.98 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04977/27.63, allocations: 14.8 MB / 8.593 GB, free: 47.17 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001338/27.63, allocations: 0.7652 MB / 8.594 GB, free: 47.09 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005085/27.64, allocations: 0.9181 MB / 8.595 GB, free: 47.08 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0416/27.68, allocations: 11.1 MB / 8.605 GB, free: 46 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007716/27.68, allocations: 19.59 kB / 8.605 GB, free: 45.99 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004515/27.68, allocations: 372.5 kB / 8.606 GB, free: 45.99 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000519/27.68, allocations: 360.3 kB / 8.606 GB, free: 45.97 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02808/27.71, allocations: 9.768 MB / 8.616 GB, free: 45.89 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.1012/27.81, allocations: 50.64 MB / 8.665 GB, free: 24.45 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01798/27.83, allocations: 8.864 MB / 8.674 GB, free: 22.66 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008637/27.84, allocations: 3.894 MB / 8.678 GB, free: 22.6 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.05261/27.89, allocations: 18.73 MB / 8.696 GB, free: 17.41 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008432/27.9, allocations: 3.826 MB / 8.7 GB, free: 17.2 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01033/27.91, allocations: 1.904 MB / 8.702 GB, free: 16.92 MB / 1.167 GB Notification: Performance of pre-optimization done (n=595): time 3.752e-05/27.91, allocations: 0 / 8.702 GB, free: 16.92 MB / 1.167 GB Notification: Performance of matching and sorting (n=599): time 0.05221/27.96, allocations: 15.46 MB / 8.717 GB, free: 13.95 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001563/27.96, allocations: 377 kB / 8.717 GB, free: 13.57 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0221/27.99, allocations: 8.64 MB / 8.725 GB, free: 12.92 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0023/27.99, allocations: 176.4 kB / 8.726 GB, free: 12.89 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.006364/27.99, allocations: 5.619 MB / 8.731 GB, free: 11.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.003617/28, allocations: 2.043 MB / 8.733 GB, free: 9.992 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006148/28, allocations: 149.5 kB / 8.733 GB, free: 9.988 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0004113/28, allocations: 0.569 MB / 8.734 GB, free: 9.672 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004742/28, allocations: 2.809 MB / 8.736 GB, free: 9.656 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006518/28.01, allocations: 5.074 MB / 8.741 GB, free: 7.203 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006485/28.02, allocations: 3.597 MB / 8.745 GB, free: 7.004 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.495e-05/28.02, allocations: 15.06 kB / 8.745 GB, free: 7 MB / 1.167 GB Notification: Performance of matching and sorting (n=898) (initialization): time 0.02136/28.04, allocations: 9.17 MB / 8.754 GB, free: 6.152 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.01063/28.05, allocations: 26.94 MB / 8.78 GB, free: 9.312 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001343/28.05, allocations: 46.38 kB / 8.78 GB, free: 9.312 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002756/28.05, allocations: 0.6339 MB / 8.781 GB, free: 9.25 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008202/28.06, allocations: 1.645 MB / 8.783 GB, free: 9.172 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007796/28.07, allocations: 8.288 MB / 8.791 GB, free: 2.473 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01557/28.08, allocations: 0.9926 MB / 8.792 GB, free: 2.344 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002176/28.09, allocations: 358.8 kB / 8.792 GB, free: 2.344 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/28.09, allocations: 7.969 kB / 8.792 GB, free: 2.34 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01689/28.1, allocations: 8.13 MB / 8.8 GB, free: 1.758 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.773e-05/28.1, allocations: 45.16 kB / 8.8 GB, free: 1.758 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002495/28.11, allocations: 0.6375 MB / 8.801 GB, free: 1.688 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007172/28.11, allocations: 1.612 MB / 8.802 GB, free: 1.582 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00987/28.12, allocations: 9.651 MB / 8.812 GB, free: 9.84 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01502/28.14, allocations: 0.9606 MB / 8.812 GB, free: 9.723 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001936/28.14, allocations: 347.8 kB / 8.813 GB, free: 9.723 MB / 1.214 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 206 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (857): * Single equations (assignments): 845 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 5 {1 3,2 10,1 2,2 8,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.002572/28.14, allocations: 0.5457 MB / 8.813 GB, free: 9.48 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0036/28.15, allocations: 1.051 MB / 8.814 GB, free: 8.926 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 689 equation(s) and 687 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.01281/28.16, allocations: 4.9 MB / 8.819 GB, free: 8.488 MB / 1.214 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.