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: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl,fileNamePrefix="Buildings_8_Buildings_Examples_ChillerPlant_DataCenterContinuousTimeControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl,fileNamePrefix="Buildings_8_Buildings_Examples_ChillerPlant_DataCenterContinuousTimeControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.799/1.799, allocations: 292.6 MB / 307.5 MB, free: 5.176 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.001284/0.001284, allocations: 181 kB / 377.1 MB, free: 1.5 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.901/1.901, allocations: 205.4 MB / 0.6366 GB, free: 8.598 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.0009768/0.0009769, allocations: 91.69 kB / 0.7509 GB, free: 63.25 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003891/0.0003893, allocations: 8 kB / 0.8748 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.2859, allocations: 116.3 MB / 0.9884 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.697/6.983, allocations: 2.441 GB / 3.43 GB, free: 136.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003044/6.984, allocations: 97.03 kB / 3.43 GB, free: 136 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 24.68/31.66, allocations: 5.153 GB / 8.582 GB, free: 62.41 MB / 1.167 GB Notification: Performance of FrontEnd: time 4.048e-06/31.66, allocations: 0 / 8.582 GB, free: 62.41 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.004319/31.67, allocations: 325.9 kB / 8.583 GB, free: 62.36 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.06663/31.73, allocations: 14.47 MB / 8.597 GB, free: 56.11 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.755e-05/31.73, allocations: 6.719 kB / 8.597 GB, free: 56.11 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008365/31.74, allocations: 1.171 MB / 8.598 GB, free: 56.01 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02892/31.77, allocations: 3.397 MB / 8.601 GB, free: 55.17 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05672/31.83, allocations: 14.91 MB / 8.616 GB, free: 53.06 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001645/31.83, allocations: 0.7677 MB / 8.617 GB, free: 52.98 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006025/31.84, allocations: 0.9193 MB / 8.617 GB, free: 52.97 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0513/31.89, allocations: 11.52 MB / 8.629 GB, free: 51.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008709/31.89, allocations: 21.19 kB / 8.629 GB, free: 51.79 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005249/31.89, allocations: 367.7 kB / 8.629 GB, free: 51.79 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005738/31.89, allocations: 371.3 kB / 8.629 GB, free: 51.77 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03641/31.93, allocations: 10.52 MB / 8.64 GB, free: 51.59 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.1283/32.06, allocations: 50.63 MB / 8.689 GB, free: 27.68 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02276/32.08, allocations: 9.355 MB / 8.698 GB, free: 22.93 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.05247/32.13, allocations: 15.84 MB / 8.714 GB, free: 13.06 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01393/32.15, allocations: 4.159 MB / 8.718 GB, free: 11.56 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01286/32.16, allocations: 1.337 MB / 8.719 GB, free: 10.76 MB / 1.167 GB Notification: Performance of pre-optimization done (n=598): time 5.269e-05/32.16, allocations: 0 / 8.719 GB, free: 10.76 MB / 1.167 GB Notification: Performance of matching and sorting (n=602): time 0.07757/32.24, allocations: 20.67 MB / 8.739 GB, free: 7.93 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002851/32.24, allocations: 381.1 kB / 8.74 GB, free: 7.484 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0302/32.27, allocations: 8.739 MB / 8.748 GB, free: 212 kB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.002839/32.27, allocations: 173.7 kB / 8.748 GB, free: 32 kB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.01104/32.28, allocations: 5.612 MB / 8.754 GB, free: 10.9 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.005104/32.29, allocations: 2.047 MB / 8.756 GB, free: 9 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002192/32.29, allocations: 140 kB / 8.756 GB, free: 8.863 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.001071/32.29, allocations: 0.5756 MB / 8.757 GB, free: 8.363 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009853/32.3, allocations: 3.155 MB / 8.76 GB, free: 5.703 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01219/32.31, allocations: 5.394 MB / 8.765 GB, free: 52 kB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.289/33.6, allocations: 3.9 MB / 8.769 GB, free: 96.93 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.36e-05/33.6, allocations: 13.5 kB / 8.769 GB, free: 96.93 MB / 1.198 GB Notification: Performance of matching and sorting (n=900) (initialization): time 0.0336/33.64, allocations: 9.839 MB / 8.778 GB, free: 96.66 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.00681/33.64, allocations: 26.5 MB / 8.804 GB, free: 68.5 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001879/33.64, allocations: 49.27 kB / 8.804 GB, free: 68.5 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003258/33.65, allocations: 0.6504 MB / 8.805 GB, free: 68.45 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00988/33.66, allocations: 1.653 MB / 8.807 GB, free: 68.45 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008764/33.67, allocations: 8.383 MB / 8.815 GB, free: 61.88 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01979/33.69, allocations: 0.993 MB / 8.816 GB, free: 61.88 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003196/33.69, allocations: 358.1 kB / 8.816 GB, free: 61.88 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/33.69, allocations: 3 kB / 8.816 GB, free: 61.88 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03089/33.72, allocations: 8.761 MB / 8.825 GB, free: 61.64 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002806/33.72, allocations: 46.73 kB / 8.825 GB, free: 61.64 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003462/33.72, allocations: 0.6492 MB / 8.825 GB, free: 61.59 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01123/33.74, allocations: 1.62 MB / 8.827 GB, free: 61.59 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01557/33.75, allocations: 9.808 MB / 8.836 GB, free: 54.09 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02258/33.77, allocations: 0.9585 MB / 8.837 GB, free: 54.09 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003624/33.78, allocations: 347.1 kB / 8.838 GB, free: 54.09 MB / 1.198 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.01823/33.8, allocations: 3.315 MB / 8.841 GB, free: 53.89 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006208/33.8, allocations: 1.051 MB / 8.842 GB, free: 53.89 MB / 1.198 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.02621/33.83, allocations: 5.246 MB / 8.847 GB, free: 53.69 MB / 1.198 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.