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.217/2.217, allocations: 387.1 MB / 399.7 MB, free: 9.492 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.001059/0.001059, allocations: 188.1 kB / 492.3 MB, free: 0.5977 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.425/1.425, allocations: 221.3 MB / 0.7872 GB, free: 12.92 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.0009777/0.0009775, allocations: 103.9 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.92e-05/2.922e-05, allocations: 0 / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.271, allocations: 142.3 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.046/5.317, allocations: 2.271 GB / 3.483 GB, free: 27.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001872/5.318, allocations: 89.86 kB / 3.483 GB, free: 27.01 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 19.05/24.37, allocations: 5.207 GB / 8.69 GB, free: 10.24 MB / 1.354 GB Notification: Performance of FrontEnd: time 1.563e-06/24.37, allocations: 0 / 8.69 GB, free: 10.24 MB / 1.354 GB Notification: Performance of Transformations before backend: time 0.002204/24.37, allocations: 331.7 kB / 8.69 GB, free: 9.914 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.04111/24.42, allocations: 11.68 MB / 8.701 GB, free: 14.11 MB / 1.37 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/24.42, allocations: 12.03 kB / 8.701 GB, free: 14.1 MB / 1.37 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004837/24.42, allocations: 1.152 MB / 8.703 GB, free: 12.94 MB / 1.37 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02716/24.45, allocations: 3.67 MB / 8.706 GB, free: 9.25 MB / 1.37 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.04/25.49, allocations: 15.06 MB / 8.721 GB, free: 80.25 MB / 1.37 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001916/25.49, allocations: 0.7683 MB / 8.722 GB, free: 80.16 MB / 1.37 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00448/25.49, allocations: 0.9083 MB / 8.723 GB, free: 80.16 MB / 1.37 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0337/25.53, allocations: 11.15 MB / 8.733 GB, free: 79.09 MB / 1.37 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007816/25.53, allocations: 25.88 kB / 8.733 GB, free: 79.09 MB / 1.37 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003347/25.53, allocations: 368.8 kB / 8.734 GB, free: 79.09 MB / 1.37 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005507/25.53, allocations: 365 kB / 8.734 GB, free: 79.07 MB / 1.37 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02818/25.56, allocations: 9.827 MB / 8.744 GB, free: 78.99 MB / 1.37 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.09817/25.66, allocations: 50.86 MB / 8.793 GB, free: 58.04 MB / 1.37 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01628/25.68, allocations: 8.712 MB / 8.802 GB, free: 56.32 MB / 1.37 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007454/25.68, allocations: 3.906 MB / 8.806 GB, free: 56.25 MB / 1.37 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.04286/25.73, allocations: 18.84 MB / 8.824 GB, free: 51.25 MB / 1.37 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008297/25.73, allocations: 3.855 MB / 8.828 GB, free: 51.04 MB / 1.37 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00932/25.74, allocations: 1.898 MB / 8.83 GB, free: 50.89 MB / 1.37 GB Notification: Performance of pre-optimization done (n=595): time 3.188e-05/25.74, allocations: 0 / 8.83 GB, free: 50.89 MB / 1.37 GB Notification: Performance of matching and sorting (n=599): time 0.04465/25.79, allocations: 15.51 MB / 8.845 GB, free: 48.09 MB / 1.37 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000138/25.79, allocations: 376.1 kB / 8.845 GB, free: 47.71 MB / 1.37 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02327/25.81, allocations: 8.734 MB / 8.854 GB, free: 47.06 MB / 1.37 GB Notification: Performance of collectPreVariables (initialization): time 0.002033/25.81, allocations: 170.9 kB / 8.854 GB, free: 47.03 MB / 1.37 GB Notification: Performance of collectInitialEqns (initialization): time 0.007873/25.82, allocations: 5.629 MB / 8.859 GB, free: 45.46 MB / 1.37 GB Notification: Performance of collectInitialBindings (initialization): time 0.003103/25.83, allocations: 2.038 MB / 8.861 GB, free: 44.15 MB / 1.37 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001362/25.83, allocations: 140.6 kB / 8.862 GB, free: 44.15 MB / 1.37 GB Notification: Performance of setup shared object (initialization): time 0.0005852/25.83, allocations: 0.5761 MB / 8.862 GB, free: 43.83 MB / 1.37 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005865/25.83, allocations: 2.836 MB / 8.865 GB, free: 43.82 MB / 1.37 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007704/25.84, allocations: 4.974 MB / 8.87 GB, free: 41.55 MB / 1.37 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007594/25.85, allocations: 3.6 MB / 8.873 GB, free: 41.43 MB / 1.37 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.121e-05/25.85, allocations: 11.94 kB / 8.873 GB, free: 41.43 MB / 1.37 GB Notification: Performance of matching and sorting (n=898) (initialization): time 0.02352/25.87, allocations: 9.217 MB / 8.882 GB, free: 40.61 MB / 1.37 GB Notification: Performance of prepare postOptimizeDAE: time 0.01181/25.88, allocations: 27.05 MB / 8.909 GB, free: 43.95 MB / 1.401 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001691/25.88, allocations: 45.81 kB / 8.909 GB, free: 43.95 MB / 1.401 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003023/25.89, allocations: 0.6467 MB / 8.909 GB, free: 43.9 MB / 1.401 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008733/25.9, allocations: 1.676 MB / 8.911 GB, free: 43.9 MB / 1.401 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008203/25.9, allocations: 8.276 MB / 8.919 GB, free: 37.3 MB / 1.401 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01383/25.92, allocations: 1.06 MB / 8.92 GB, free: 37.22 MB / 1.401 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001933/25.92, allocations: 357 kB / 8.92 GB, free: 37.22 MB / 1.401 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/25.92, allocations: 4.984 kB / 8.92 GB, free: 37.22 MB / 1.401 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01896/25.94, allocations: 8.168 MB / 8.928 GB, free: 36.98 MB / 1.401 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001516/25.94, allocations: 45.81 kB / 8.928 GB, free: 36.98 MB / 1.401 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002637/25.94, allocations: 0.6306 MB / 8.929 GB, free: 36.94 MB / 1.401 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007695/25.95, allocations: 1.644 MB / 8.931 GB, free: 36.94 MB / 1.401 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009854/25.96, allocations: 9.659 MB / 8.94 GB, free: 29.29 MB / 1.401 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01282/25.97, allocations: 1.017 MB / 8.941 GB, free: 29.23 MB / 1.401 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001818/25.97, allocations: 346.3 kB / 8.941 GB, free: 29.23 MB / 1.401 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.003076/25.98, allocations: 0.548 MB / 8.942 GB, free: 29.09 MB / 1.401 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003463/25.98, allocations: 1.059 MB / 8.943 GB, free: 28.54 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 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.01399/25.99, allocations: 4.933 MB / 8.948 GB, free: 44.25 MB / 1.417 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.