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: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl,fileNamePrefix="Buildings_9_Buildings_Examples_ChillerPlant_DataCenterContinuousTimeControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl,fileNamePrefix="Buildings_9_Buildings_Examples_ChillerPlant_DataCenterContinuousTimeControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.447/2.447, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001282/0.001282, allocations: 177.1 kB / 498.1 MB, free: 5.73 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.008/2.008, allocations: 223.2 MB / 0.7948 GB, free: 17.94 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.001233/0.001233, allocations: 95.89 kB / 0.9346 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003997/0.0003997, allocations: 7.312 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.337, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.413/5.75, allocations: 2.271 GB / 3.494 GB, free: 211.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003485/5.75, allocations: 91.97 kB / 3.494 GB, free: 211.1 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 19.41/25.16, allocations: 5.218 GB / 8.711 GB, free: 67.5 MB / 1.354 GB Notification: Performance of FrontEnd: time 3.166e-06/25.16, allocations: 0 / 8.711 GB, free: 67.5 MB / 1.354 GB Notification: Performance of Transformations before backend: time 0.002755/25.16, allocations: 332.3 kB / 8.711 GB, free: 67.44 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.05606/25.22, allocations: 14.58 MB / 8.726 GB, free: 61.12 MB / 1.354 GB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/25.22, allocations: 9.438 kB / 8.726 GB, free: 61.12 MB / 1.354 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006053/25.22, allocations: 1.165 MB / 8.727 GB, free: 61.03 MB / 1.354 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02705/25.25, allocations: 3.679 MB / 8.73 GB, free: 60.17 MB / 1.354 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0443/25.3, allocations: 15.19 MB / 8.745 GB, free: 57.91 MB / 1.354 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009837/25.3, allocations: 0.7647 MB / 8.746 GB, free: 57.82 MB / 1.354 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003723/25.3, allocations: 0.9099 MB / 8.747 GB, free: 57.8 MB / 1.354 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02852/25.33, allocations: 11.61 MB / 8.758 GB, free: 56.62 MB / 1.354 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002138/25.33, allocations: 22.06 kB / 8.758 GB, free: 56.61 MB / 1.354 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001228/25.33, allocations: 371.5 kB / 8.759 GB, free: 56.61 MB / 1.354 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002635/25.33, allocations: 356.2 kB / 8.759 GB, free: 56.59 MB / 1.354 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.025/25.36, allocations: 10.68 MB / 8.769 GB, free: 56.4 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.07886/25.43, allocations: 50.86 MB / 8.819 GB, free: 33.77 MB / 1.354 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01654/25.45, allocations: 9.289 MB / 8.828 GB, free: 31.82 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.02655/25.48, allocations: 15.93 MB / 8.844 GB, free: 21.91 MB / 1.354 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007506/25.48, allocations: 4.225 MB / 8.848 GB, free: 20.4 MB / 1.354 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008032/25.49, allocations: 1.351 MB / 8.849 GB, free: 19.92 MB / 1.354 GB Notification: Performance of pre-optimization done (n=598): time 1.539e-05/25.49, allocations: 0 / 8.849 GB, free: 19.92 MB / 1.354 GB Notification: Performance of matching and sorting (n=602): time 0.05329/25.55, allocations: 20.95 MB / 8.87 GB, free: 8.477 MB / 1.354 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001151/25.55, allocations: 377.2 kB / 8.87 GB, free: 8.031 MB / 1.354 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01391/25.56, allocations: 8.839 MB / 8.879 GB, free: 0.6758 MB / 1.354 GB Notification: Performance of collectPreVariables (initialization): time 0.001754/25.56, allocations: 173.6 kB / 8.879 GB, free: 0.5039 MB / 1.354 GB Notification: Performance of collectInitialEqns (initialization): time 0.006121/25.57, allocations: 5.621 MB / 8.884 GB, free: 11.37 MB / 1.37 GB Notification: Performance of collectInitialBindings (initialization): time 0.003466/25.57, allocations: 2.041 MB / 8.886 GB, free: 9.477 MB / 1.37 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005241/25.57, allocations: 143.9 kB / 8.886 GB, free: 9.336 MB / 1.37 GB Notification: Performance of setup shared object (initialization): time 0.000418/25.57, allocations: 0.5778 MB / 8.887 GB, free: 8.836 MB / 1.37 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006795/25.58, allocations: 3.217 MB / 8.89 GB, free: 6.125 MB / 1.37 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0083/25.59, allocations: 5.341 MB / 8.895 GB, free: 0.5742 MB / 1.37 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007957/25.6, allocations: 3.959 MB / 8.899 GB, free: 12.98 MB / 1.385 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-05/25.6, allocations: 16 kB / 8.899 GB, free: 12.96 MB / 1.385 GB Notification: Performance of matching and sorting (n=900) (initialization): time 0.02579/25.62, allocations: 9.976 MB / 8.909 GB, free: 4.043 MB / 1.385 GB Notification: Performance of prepare postOptimizeDAE: time 0.8515/26.47, allocations: 26.48 MB / 8.935 GB, free: 109.9 MB / 1.401 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001309/26.47, allocations: 46.61 kB / 8.935 GB, free: 109.9 MB / 1.401 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003141/26.48, allocations: 0.6484 MB / 8.935 GB, free: 109.8 MB / 1.401 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009651/26.49, allocations: 1.678 MB / 8.937 GB, free: 109.8 MB / 1.401 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00746/26.49, allocations: 8.38 MB / 8.945 GB, free: 103.3 MB / 1.401 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01356/26.51, allocations: 1.056 MB / 8.946 GB, free: 103.3 MB / 1.401 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001674/26.51, allocations: 361.8 kB / 8.947 GB, free: 103.3 MB / 1.401 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/26.51, allocations: 5.406 kB / 8.947 GB, free: 103.3 MB / 1.401 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02121/26.53, allocations: 8.902 MB / 8.955 GB, free: 103 MB / 1.401 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001487/26.53, allocations: 44.47 kB / 8.955 GB, free: 103 MB / 1.401 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002662/26.53, allocations: 0.6438 MB / 8.956 GB, free: 103 MB / 1.401 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007579/26.54, allocations: 1.651 MB / 8.958 GB, free: 103 MB / 1.401 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00834/26.55, allocations: 9.799 MB / 8.967 GB, free: 95.48 MB / 1.401 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01276/26.56, allocations: 1.02 MB / 8.968 GB, free: 95.48 MB / 1.401 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001236/26.56, allocations: 348.4 kB / 8.969 GB, free: 95.48 MB / 1.401 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.008252/26.57, allocations: 3.327 MB / 8.972 GB, free: 95.29 MB / 1.401 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002921/26.57, allocations: 1.06 MB / 8.973 GB, free: 95.29 MB / 1.401 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.01297/26.59, allocations: 5.328 MB / 8.978 GB, free: 95.08 MB / 1.401 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.