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.697/1.697, allocations: 289.7 MB / 302.2 MB, free: 2.141 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.001149/0.00115, allocations: 181.9 kB / 371.6 MB, free: 3.398 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.816/1.816, allocations: 205.2 MB / 0.6309 GB, free: 11.75 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.001083/0.001083, allocations: 93.67 kB / 0.745 GB, free: 54.69 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.164e-05/4.195e-05, allocations: 0 / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3127/0.3128, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.626/7.939, allocations: 2.441 GB / 3.421 GB, free: 216.4 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002436/7.939, allocations: 93.95 kB / 3.421 GB, free: 216.3 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 24.15/32.09, allocations: 5.141 GB / 8.562 GB, free: 54.29 MB / 1.167 GB Notification: Performance of FrontEnd: time 4.649e-06/32.09, allocations: 0 / 8.562 GB, free: 54.29 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.003105/32.09, allocations: 323.9 kB / 8.563 GB, free: 54.24 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.05037/32.14, allocations: 11.62 MB / 8.574 GB, free: 49.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/32.14, allocations: 13.03 kB / 8.574 GB, free: 49.2 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007193/32.15, allocations: 1.149 MB / 8.575 GB, free: 49.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02776/32.18, allocations: 3.394 MB / 8.579 GB, free: 48.34 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05418/32.23, allocations: 14.8 MB / 8.593 GB, free: 46.52 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001649/32.23, allocations: 0.769 MB / 8.594 GB, free: 46.44 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005932/32.24, allocations: 0.9151 MB / 8.595 GB, free: 46.43 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04728/32.29, allocations: 11.1 MB / 8.606 GB, free: 45.35 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009608/32.29, allocations: 22.16 kB / 8.606 GB, free: 45.34 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005527/32.29, allocations: 374.3 kB / 8.606 GB, free: 45.34 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006843/32.29, allocations: 361.4 kB / 8.606 GB, free: 45.32 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03348/32.33, allocations: 9.766 MB / 8.616 GB, free: 45.25 MB / 1.167 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.1163/32.44, allocations: 50.64 MB / 8.665 GB, free: 23.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01741/32.46, allocations: 8.867 MB / 8.674 GB, free: 22.02 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007321/32.47, allocations: 3.881 MB / 8.678 GB, free: 21.96 MB / 1.167 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.0484/32.52, allocations: 18.74 MB / 8.696 GB, free: 16.77 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006943/32.52, allocations: 3.819 MB / 8.7 GB, free: 16.56 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0112/32.53, allocations: 1.902 MB / 8.702 GB, free: 16.29 MB / 1.167 GB Notification: Performance of pre-optimization done (n=595): time 3.77e-05/32.54, allocations: 3.562 kB / 8.702 GB, free: 16.29 MB / 1.167 GB Notification: Performance of matching and sorting (n=599): time 0.04777/32.58, allocations: 15.45 MB / 8.717 GB, free: 13.33 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001411/32.58, allocations: 376.1 kB / 8.717 GB, free: 12.95 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02185/32.6, allocations: 8.645 MB / 8.725 GB, free: 12.29 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.00218/32.61, allocations: 171.4 kB / 8.726 GB, free: 12.26 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.008089/32.62, allocations: 5.637 MB / 8.731 GB, free: 10.66 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.003978/32.62, allocations: 2.036 MB / 8.733 GB, free: 9.359 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009134/32.62, allocations: 138.4 kB / 8.733 GB, free: 9.359 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0005225/32.62, allocations: 0.5742 MB / 8.734 GB, free: 9.043 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00543/32.63, allocations: 2.811 MB / 8.737 GB, free: 9.027 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007959/32.63, allocations: 5.072 MB / 8.742 GB, free: 6.578 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007841/32.64, allocations: 3.597 MB / 8.745 GB, free: 6.375 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.285e-05/32.64, allocations: 14.91 kB / 8.745 GB, free: 6.375 MB / 1.167 GB Notification: Performance of matching and sorting (n=898) (initialization): time 0.02129/32.66, allocations: 9.173 MB / 8.754 GB, free: 5.527 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.01278/32.68, allocations: 26.94 MB / 8.78 GB, free: 8.668 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001712/32.68, allocations: 45.03 kB / 8.78 GB, free: 8.668 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002936/32.68, allocations: 0.6333 MB / 8.781 GB, free: 8.605 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008799/32.69, allocations: 1.646 MB / 8.783 GB, free: 8.496 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008444/32.7, allocations: 8.283 MB / 8.791 GB, free: 1.797 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01636/32.71, allocations: 0.9939 MB / 8.792 GB, free: 1.668 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002869/32.72, allocations: 360.7 kB / 8.792 GB, free: 1.668 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/32.72, allocations: 2.906 kB / 8.792 GB, free: 1.668 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02071/32.74, allocations: 8.127 MB / 8.8 GB, free: 1.086 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001464/32.74, allocations: 47.5 kB / 8.8 GB, free: 1.086 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002599/32.74, allocations: 0.6319 MB / 8.801 GB, free: 1.02 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008568/32.75, allocations: 1.612 MB / 8.802 GB, free: 0.9141 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01046/32.76, allocations: 9.661 MB / 8.812 GB, free: 9.168 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01494/32.77, allocations: 0.9553 MB / 8.813 GB, free: 9.051 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002325/32.78, allocations: 347 kB / 8.813 GB, free: 9.051 MB / 1.214 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.003789/32.78, allocations: 0.5526 MB / 8.813 GB, free: 8.809 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004158/32.78, allocations: 1.053 MB / 8.814 GB, free: 8.254 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 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.0161/32.8, allocations: 4.89 MB / 8.819 GB, free: 6.996 MB / 1.214 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.