Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl,fileNamePrefix="Buildings_8_0_0_Buildings_Examples_ChillerPlant_DataCenterContinuousTimeControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl,fileNamePrefix="Buildings_8_0_0_Buildings_Examples_ChillerPlant_DataCenterContinuousTimeControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.795/2.795, allocations: 287.3 MB / 302.3 MB, free: 8.309 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.001556/0.001556, allocations: 188.4 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.023/2.023, allocations: 205.4 MB / 0.6295 GB, free: 10.63 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.001201/0.001201, allocations: 102.8 kB / 0.7428 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006471/0.0006471, allocations: 11.11 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.2099, allocations: 115.3 MB / 0.9783 GB, free: 28.33 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.823/8.033, allocations: 2.44 GB / 3.418 GB, free: 186.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002718/8.033, allocations: 95.39 kB / 3.418 GB, free: 186.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 29.26/37.29, allocations: 5.155 GB / 8.573 GB, free: 60.01 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.806e-06/37.29, allocations: 0 / 8.573 GB, free: 60.01 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.003357/37.3, allocations: 321.5 kB / 8.573 GB, free: 59.96 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.071/37.37, allocations: 14.48 MB / 8.588 GB, free: 53.85 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.967e-05/37.37, allocations: 9.688 kB / 8.588 GB, free: 53.85 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007224/37.37, allocations: 1.161 MB / 8.589 GB, free: 53.76 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0382/37.41, allocations: 3.402 MB / 8.592 GB, free: 52.99 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06517/37.48, allocations: 14.92 MB / 8.607 GB, free: 51.18 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001567/37.48, allocations: 0.7727 MB / 8.607 GB, free: 51.09 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005351/37.48, allocations: 0.9225 MB / 8.608 GB, free: 51.08 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04894/37.53, allocations: 11.52 MB / 8.62 GB, free: 49.96 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006348/37.53, allocations: 25.31 kB / 8.62 GB, free: 49.96 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004129/37.54, allocations: 370.4 kB / 8.62 GB, free: 49.96 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005256/37.54, allocations: 354 kB / 8.62 GB, free: 49.94 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04407/37.58, allocations: 10.53 MB / 8.631 GB, free: 49.82 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.1297/37.71, allocations: 50.52 MB / 8.68 GB, free: 27.93 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03018/37.74, allocations: 9.125 MB / 8.689 GB, free: 26.03 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.05258/37.8, allocations: 15.76 MB / 8.704 GB, free: 20.96 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01569/37.81, allocations: 4.152 MB / 8.708 GB, free: 20.73 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01363/37.83, allocations: 1.35 MB / 8.71 GB, free: 20.37 MB / 1.167 GB Notification: Performance of pre-optimization done (n=598): time 4.055e-05/37.83, allocations: 0 / 8.71 GB, free: 20.37 MB / 1.167 GB Notification: Performance of matching and sorting (n=647): time 0.117/37.94, allocations: 24.04 MB / 8.733 GB, free: 16.46 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001915/37.94, allocations: 379.9 kB / 8.733 GB, free: 16.08 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02893/37.97, allocations: 8.742 MB / 8.742 GB, free: 15.48 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.002582/37.97, allocations: 178.9 kB / 8.742 GB, free: 15.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.01035/37.98, allocations: 5.61 MB / 8.748 GB, free: 11.05 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.004658/37.99, allocations: 2.204 MB / 8.75 GB, free: 9.344 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001676/37.99, allocations: 145.4 kB / 8.75 GB, free: 9.23 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0007936/37.99, allocations: 0.5918 MB / 8.75 GB, free: 8.793 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01327/38, allocations: 3.387 MB / 8.754 GB, free: 7.586 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01612/38.02, allocations: 5.66 MB / 8.759 GB, free: 3.727 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01563/38.04, allocations: 4.206 MB / 8.763 GB, free: 1.887 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.147e-05/38.04, allocations: 14.59 kB / 8.763 GB, free: 1.887 MB / 1.167 GB Notification: Performance of matching and sorting (n=945) (initialization): time 0.04904/38.09, allocations: 11.73 MB / 8.775 GB, free: 13.29 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.01098/38.1, allocations: 26.49 MB / 8.801 GB, free: 0.5898 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001692/38.1, allocations: 45.84 kB / 8.801 GB, free: 0.5898 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02825/38.13, allocations: 5.026 MB / 8.806 GB, free: 15.96 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.011/38.14, allocations: 1.293 MB / 8.807 GB, free: 15.82 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03866/38.18, allocations: 14.1 MB / 8.821 GB, free: 4.82 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02085/38.2, allocations: 1.025 MB / 8.822 GB, free: 4.027 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002732/38.2, allocations: 369.6 kB / 8.822 GB, free: 3.711 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 3.458e-05/38.2, allocations: 4 kB / 8.822 GB, free: 3.707 MB / 1.214 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.234/39.43, allocations: 10.65 MB / 8.832 GB, free: 103 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002159/39.43, allocations: 44.66 kB / 8.832 GB, free: 103 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02931/39.46, allocations: 4.991 MB / 8.837 GB, free: 102.9 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01111/39.47, allocations: 1.278 MB / 8.839 GB, free: 102.9 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03935/39.51, allocations: 16.1 MB / 8.854 GB, free: 96.71 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01918/39.53, allocations: 0.9933 MB / 8.855 GB, free: 96.71 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002635/39.53, allocations: 358.3 kB / 8.856 GB, free: 96.71 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.01441/39.55, allocations: 3.36 MB / 8.859 GB, free: 96.52 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005683/39.56, allocations: 1.07 MB / 8.86 GB, free: 96.52 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.02676/39.58, allocations: 5.567 MB / 8.865 GB, free: 96.32 MB / 1.214 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.