Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.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.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_CoolingTowers_Examples_FixedApproachWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_CoolingTowers_Examples_FixedApproachWetBulb",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.244/2.244, allocations: 387.1 MB / 399.7 MB, free: 9.473 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.0009767/0.0009767, allocations: 164.9 kB / 492.3 MB, free: 0.6133 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.822/1.822, allocations: 221.3 MB / 0.7871 GB, free: 12.97 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.001095/0.001095, allocations: 103.5 kB / 0.9267 GB, free: 14.03 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.254e-05/4.255e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3103, allocations: 142.4 MB / 1.212 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.224/6.534, allocations: 2.214 GB / 3.426 GB, free: 85.81 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002826/6.534, allocations: 104.9 kB / 3.426 GB, free: 85.71 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.196/9.73, allocations: 0.74 GB / 4.166 GB, free: 209.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.793e-06/9.73, allocations: 0 / 4.166 GB, free: 209.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0003348/9.731, allocations: 74.75 kB / 4.167 GB, free: 209.7 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 497 * Number of variables: 497 Notification: Performance of Generate backend data structure: time 0.007413/9.738, allocations: 2.694 MB / 4.169 GB, free: 207.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/9.738, allocations: 10.28 kB / 4.169 GB, free: 207.8 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005745/9.739, allocations: 276.3 kB / 4.169 GB, free: 207.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003209/9.742, allocations: 0.5533 MB / 4.17 GB, free: 207.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00711/9.749, allocations: 2.848 MB / 4.173 GB, free: 205.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001165/9.749, allocations: 151.9 kB / 4.173 GB, free: 205.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003542/9.75, allocations: 207.8 kB / 4.173 GB, free: 205.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003523/9.753, allocations: 2.053 MB / 4.175 GB, free: 204.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.445e-05/9.753, allocations: 7.062 kB / 4.175 GB, free: 204.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001915/9.753, allocations: 85.47 kB / 4.175 GB, free: 204 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.671e-05/9.754, allocations: 79.22 kB / 4.175 GB, free: 204 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002842/9.756, allocations: 1.918 MB / 4.177 GB, free: 203.2 MB / 1.151 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.0122/9.769, allocations: 8.481 MB / 4.185 GB, free: 196.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001927/9.771, allocations: 1.318 MB / 4.187 GB, free: 195.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009528/9.772, allocations: 0.6063 MB / 4.187 GB, free: 195.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006975/9.779, allocations: 3.571 MB / 4.191 GB, free: 192.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001259/9.78, allocations: 0.749 MB / 4.191 GB, free: 192.2 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001251/9.781, allocations: 159.4 kB / 4.192 GB, free: 192.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=135): time 4.268e-06/9.781, allocations: 0 / 4.192 GB, free: 192.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=135): time 0.002729/9.784, allocations: 1.342 MB / 4.193 GB, free: 191.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.258e-05/9.784, allocations: 245.4 kB / 4.193 GB, free: 191.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002672/9.787, allocations: 1.774 MB / 4.195 GB, free: 190.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001797/9.787, allocations: 58.92 kB / 4.195 GB, free: 190.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009282/9.788, allocations: 1.121 MB / 4.196 GB, free: 189.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003681/9.788, allocations: 471 kB / 4.197 GB, free: 188.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.486e-05/9.788, allocations: 31.66 kB / 4.197 GB, free: 188.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001067/9.788, allocations: 368.8 kB / 4.197 GB, free: 188.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00077/9.789, allocations: 473 kB / 4.197 GB, free: 188.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009205/9.79, allocations: 0.9145 MB / 4.198 GB, free: 187.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008916/9.791, allocations: 0.6073 MB / 4.199 GB, free: 186.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/9.791, allocations: 0 / 4.199 GB, free: 186.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=193) (initialization): time 0.003159/9.794, allocations: 1.687 MB / 4.2 GB, free: 184.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008697/9.795, allocations: 4.091 MB / 4.204 GB, free: 180.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/9.795, allocations: 8 kB / 4.204 GB, free: 180.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005958/9.796, allocations: 100 kB / 4.205 GB, free: 180.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001402/9.797, allocations: 382.3 kB / 4.205 GB, free: 179.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00177/9.799, allocations: 1.535 MB / 4.206 GB, free: 178.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002297/9.801, allocations: 156.9 kB / 4.207 GB, free: 178.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001865/9.801, allocations: 85.94 kB / 4.207 GB, free: 178 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.407e-06/9.801, allocations: 5.812 kB / 4.207 GB, free: 178 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002574/9.804, allocations: 1.439 MB / 4.208 GB, free: 176.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.736e-05/9.804, allocations: 12 kB / 4.208 GB, free: 176.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005156/9.804, allocations: 101.4 kB / 4.208 GB, free: 176.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001317/9.806, allocations: 374.1 kB / 4.209 GB, free: 176.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001581/9.807, allocations: 1.527 MB / 4.21 GB, free: 174.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002601/9.81, allocations: 157.2 kB / 4.21 GB, free: 174.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00022/9.81, allocations: 71.97 kB / 4.21 GB, free: 174.2 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.onOffCon.y,onOffCon.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (190): * Single equations (assignments): 188 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0006466/9.811, allocations: 216.2 kB / 4.21 GB, free: 174 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007717/9.812, allocations: 233.1 kB / 4.211 GB, free: 173.8 MB / 1.151 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 164 equation(s) and 163 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003259/9.815, allocations: 1.069 MB / 4.212 GB, free: 172.7 MB / 1.151 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.