Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TAirSup.T|wseCon.TWetBul|wseCon.y1|chiCon.y|pumCHW.m_flow",fileNamePrefix="Buildings_9_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl") translateModel(Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TAirSup.T|wseCon.TWetBul|wseCon.y1|chiCon.y|pumCHW.m_flow",fileNamePrefix="Buildings_9_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.404/2.404, allocations: 390.3 MB / 405.3 MB, free: 13.51 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001305/0.001306, allocations: 179 kB / 498.1 MB, free: 5.758 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.704/1.704, allocations: 223.2 MB / 0.7948 GB, free: 18.87 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 108.8 kB / 0.9346 GB, free: 7.152 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004287/0.0004288, allocations: 11.38 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.384/0.3844, allocations: 142.3 MB / 1.223 GB, free: 89.64 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.095/6.479, allocations: 2.271 GB / 3.493 GB, free: 117.7 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002377/6.48, allocations: 98.7 kB / 3.494 GB, free: 117.6 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 19.08/25.56, allocations: 5.217 GB / 8.711 GB, free: 61.5 MB / 1.354 GB Notification: Performance of FrontEnd: time 3.247e-06/25.56, allocations: 0 / 8.711 GB, free: 61.5 MB / 1.354 GB Notification: Performance of Transformations before backend: time 0.003198/25.56, allocations: 331.8 kB / 8.711 GB, free: 61.43 MB / 1.354 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2246 * Number of variables: 2246 Notification: Performance of Generate backend data structure: time 0.06617/25.63, allocations: 14.57 MB / 8.725 GB, free: 54.9 MB / 1.354 GB Notification: Performance of prepare preOptimizeDAE: time 6.83e-05/25.63, allocations: 8.219 kB / 8.725 GB, free: 54.9 MB / 1.354 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03018/25.66, allocations: 3.674 MB / 8.729 GB, free: 54.03 MB / 1.354 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05834/25.72, allocations: 15.19 MB / 8.744 GB, free: 51.64 MB / 1.354 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001516/25.72, allocations: 0.7583 MB / 8.745 GB, free: 51.55 MB / 1.354 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006718/25.72, allocations: 0.9144 MB / 8.745 GB, free: 51.54 MB / 1.354 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05041/25.77, allocations: 11.62 MB / 8.757 GB, free: 50.35 MB / 1.354 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009335/25.78, allocations: 17.03 kB / 8.757 GB, free: 50.34 MB / 1.354 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005398/25.78, allocations: 369.4 kB / 8.757 GB, free: 50.34 MB / 1.354 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000538/25.78, allocations: 363.9 kB / 8.758 GB, free: 50.32 MB / 1.354 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03663/25.82, allocations: 10.68 MB / 8.768 GB, free: 50.13 MB / 1.354 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.1329/25.95, allocations: 50.86 MB / 8.818 GB, free: 20.62 MB / 1.354 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02365/25.97, allocations: 9.281 MB / 8.827 GB, free: 12.19 MB / 1.354 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.04868/26.02, allocations: 15.93 MB / 8.842 GB, free: 14.36 MB / 1.37 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01309/26.04, allocations: 4.235 MB / 8.846 GB, free: 11.04 MB / 1.37 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01307/26.05, allocations: 1.336 MB / 8.848 GB, free: 9.926 MB / 1.37 GB Notification: Performance of pre-optimization done (n=598): time 5.107e-05/26.05, allocations: 0 / 8.848 GB, free: 9.926 MB / 1.37 GB Notification: Performance of matching and sorting (n=602): time 0.08947/26.14, allocations: 20.96 MB / 8.868 GB, free: 6.816 MB / 1.385 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003045/26.14, allocations: 380.1 kB / 8.869 GB, free: 6.371 MB / 1.385 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.314/27.45, allocations: 8.834 MB / 8.877 GB, free: 103 MB / 1.385 GB Notification: Performance of collectPreVariables (initialization): time 0.002545/27.46, allocations: 169 kB / 8.877 GB, free: 103 MB / 1.385 GB Notification: Performance of collectInitialEqns (initialization): time 0.01031/27.47, allocations: 5.613 MB / 8.883 GB, free: 102.8 MB / 1.385 GB Notification: Performance of collectInitialBindings (initialization): time 0.005518/27.47, allocations: 2.048 MB / 8.885 GB, free: 102.6 MB / 1.385 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001001/27.47, allocations: 139.4 kB / 8.885 GB, free: 102.6 MB / 1.385 GB Notification: Performance of setup shared object (initialization): time 0.0009539/27.47, allocations: 0.5775 MB / 8.885 GB, free: 102.3 MB / 1.385 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009743/27.48, allocations: 3.217 MB / 8.889 GB, free: 102.2 MB / 1.385 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01245/27.5, allocations: 5.335 MB / 8.894 GB, free: 100 MB / 1.385 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01098/27.51, allocations: 3.957 MB / 8.898 GB, free: 99.91 MB / 1.385 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.362e-05/27.51, allocations: 11.91 kB / 8.898 GB, free: 99.91 MB / 1.385 GB Notification: Performance of matching and sorting (n=900) (initialization): time 0.03289/27.54, allocations: 9.983 MB / 8.907 GB, free: 99.1 MB / 1.385 GB Notification: Performance of prepare postOptimizeDAE: time 0.005679/27.55, allocations: 26.48 MB / 8.933 GB, free: 71.05 MB / 1.385 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001499/27.55, allocations: 45.11 kB / 8.933 GB, free: 71.05 MB / 1.385 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003289/27.55, allocations: 0.646 MB / 8.934 GB, free: 71 MB / 1.385 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01104/27.56, allocations: 1.682 MB / 8.936 GB, free: 71 MB / 1.385 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00746/27.57, allocations: 8.389 MB / 8.944 GB, free: 64.4 MB / 1.385 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01702/27.58, allocations: 1.049 MB / 8.945 GB, free: 64.37 MB / 1.385 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003827/27.59, allocations: 359.4 kB / 8.945 GB, free: 64.37 MB / 1.385 GB Notification: Performance of prepare postOptimizeDAE: time 3.31e-05/27.59, allocations: 11.66 kB / 8.945 GB, free: 64.37 MB / 1.385 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03037/27.62, allocations: 8.89 MB / 8.954 GB, free: 64.13 MB / 1.385 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001878/27.62, allocations: 47.09 kB / 8.954 GB, free: 64.13 MB / 1.385 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002748/27.62, allocations: 0.6495 MB / 8.955 GB, free: 64.08 MB / 1.385 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008627/27.63, allocations: 1.65 MB / 8.956 GB, free: 64.08 MB / 1.385 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009299/27.64, allocations: 9.802 MB / 8.966 GB, free: 56.52 MB / 1.385 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01714/27.66, allocations: 1.026 MB / 8.967 GB, free: 56.48 MB / 1.385 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002946/27.66, allocations: 350.9 kB / 8.967 GB, free: 56.48 MB / 1.385 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 (858): * Single equations (assignments): 846 * 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,3 9,1 2,2 9,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.01332/27.67, allocations: 3.318 MB / 8.97 GB, free: 56.29 MB / 1.385 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005805/27.68, allocations: 1.067 MB / 8.971 GB, free: 55.73 MB / 1.385 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 696 equation(s) and 694 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.0209/27.7, allocations: 5.329 MB / 8.977 GB, free: 55.46 MB / 1.385 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.