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.266/2.266, allocations: 387.4 MB / 394.9 MB, free: 13.43 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.001127/0.001128, allocations: 184.6 kB / 487.4 MB, free: 5.059 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.471/1.471, allocations: 221.5 MB / 0.7824 GB, free: 0.9414 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009167/0.0009166, allocations: 102.5 kB / 0.9219 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.188e-05/2.191e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3329, allocations: 142.4 MB / 1.206 GB, free: 43.84 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.904/6.237, allocations: 2.213 GB / 3.419 GB, free: 108.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002945/6.237, allocations: 102.8 kB / 3.419 GB, free: 108.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.915/9.152, allocations: 0.7358 GB / 4.155 GB, free: 223.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.415e-06/9.152, allocations: 2.5 kB / 4.155 GB, free: 223.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002668/9.152, allocations: 77.8 kB / 4.155 GB, free: 223.8 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.005525/9.158, allocations: 2.689 MB / 4.158 GB, free: 222.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/9.158, allocations: 10.56 kB / 4.158 GB, free: 222.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002702/9.161, allocations: 0.5574 MB / 4.158 GB, free: 222.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005999/9.167, allocations: 2.844 MB / 4.161 GB, free: 220.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.634e-05/9.167, allocations: 65.42 kB / 4.161 GB, free: 220.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002646/9.167, allocations: 117.8 kB / 4.161 GB, free: 220.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002791/9.17, allocations: 1.817 MB / 4.163 GB, free: 220.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002748/9.173, allocations: 1.782 MB / 4.165 GB, free: 219.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.994e-05/9.173, allocations: 15.69 kB / 4.165 GB, free: 219.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001603/9.173, allocations: 3.125 kB / 4.165 GB, free: 219.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.862e-05/9.173, allocations: 76.42 kB / 4.165 GB, free: 219.5 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.01138/9.184, allocations: 8.107 MB / 4.173 GB, free: 214.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001748/9.186, allocations: 1.279 MB / 4.174 GB, free: 214.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007942/9.187, allocations: 0.5803 MB / 4.175 GB, free: 213.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005671/9.193, allocations: 3.461 MB / 4.178 GB, free: 211.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009678/9.194, allocations: 0.7193 MB / 4.179 GB, free: 210.8 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007788/9.194, allocations: 98.31 kB / 4.179 GB, free: 210.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=135): time 3.506e-06/9.194, allocations: 0 / 4.179 GB, free: 210.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=135): time 0.003054/9.198, allocations: 1.367 MB / 4.18 GB, free: 210.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.071e-05/9.198, allocations: 252 kB / 4.18 GB, free: 209.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002057/9.2, allocations: 1.509 MB / 4.182 GB, free: 209 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001168/9.2, allocations: 29.52 kB / 4.182 GB, free: 209 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007867/9.201, allocations: 1.142 MB / 4.183 GB, free: 208 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002875/9.201, allocations: 445.5 kB / 4.183 GB, free: 207.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.416e-05/9.201, allocations: 0 / 4.183 GB, free: 207.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.449e-05/9.201, allocations: 365.5 kB / 4.184 GB, free: 207.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006076/9.202, allocations: 458 kB / 4.184 GB, free: 207 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000821/9.203, allocations: 0.874 MB / 4.185 GB, free: 206.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001465/9.204, allocations: 0.67 MB / 4.186 GB, free: 205.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.225e-06/9.204, allocations: 3.094 kB / 4.186 GB, free: 205.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=193) (initialization): time 0.003272/9.207, allocations: 1.65 MB / 4.187 GB, free: 205.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006716/9.208, allocations: 4.036 MB / 4.191 GB, free: 201 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/9.208, allocations: 8.969 kB / 4.191 GB, free: 201 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006019/9.209, allocations: 100.2 kB / 4.191 GB, free: 200.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001422/9.21, allocations: 379.5 kB / 4.192 GB, free: 200.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001534/9.212, allocations: 1.471 MB / 4.193 GB, free: 199.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001886/9.213, allocations: 124.1 kB / 4.193 GB, free: 199.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001355/9.214, allocations: 76.41 kB / 4.193 GB, free: 199.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.267e-06/9.214, allocations: 7.781 kB / 4.193 GB, free: 199.4 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002865/9.217, allocations: 1.365 MB / 4.195 GB, free: 198.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/9.217, allocations: 7.781 kB / 4.195 GB, free: 198.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005187/9.217, allocations: 103.6 kB / 4.195 GB, free: 198.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001307/9.218, allocations: 372.8 kB / 4.195 GB, free: 198.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001414/9.22, allocations: 1.475 MB / 4.197 GB, free: 197.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001801/9.222, allocations: 114.6 kB / 4.197 GB, free: 197.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001288/9.222, allocations: 81.84 kB / 4.197 GB, free: 197.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.0003516/9.222, allocations: 157.1 kB / 4.197 GB, free: 197.1 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002883/9.225, allocations: 1.329 MB / 4.198 GB, free: 196.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003345/9.225, allocations: 215.9 kB / 4.198 GB, free: 196.4 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.002512/9.228, allocations: 1.055 MB / 4.2 GB, free: 195.8 MB / 1.151 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.