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.148/2.148, allocations: 390.3 MB / 405.3 MB, free: 13.51 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.001136/0.001136, allocations: 173.1 kB / 498.1 MB, free: 5.758 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.372/1.372, allocations: 223.2 MB / 0.7948 GB, free: 18 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.000959/0.0009588, allocations: 88.39 kB / 0.9346 GB, free: 6.316 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000371/0.0003709, allocations: 6.969 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2403/0.2407, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.942/4.183, allocations: 2.214 GB / 3.437 GB, free: 270.1 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003075/4.184, allocations: 103.9 kB / 3.437 GB, free: 270 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.39/6.574, allocations: 0.7422 GB / 4.179 GB, free: 225.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.783e-06/6.574, allocations: 0 / 4.179 GB, free: 225.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003724/6.574, allocations: 74.61 kB / 4.179 GB, free: 225.2 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: 497 * Number of variables: 497 Notification: Performance of Generate backend data structure: time 0.008301/6.583, allocations: 3.264 MB / 4.182 GB, free: 223.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/6.583, allocations: 12.59 kB / 4.182 GB, free: 223.9 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006716/6.583, allocations: 276.7 kB / 4.183 GB, free: 223.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002996/6.586, allocations: 0.5491 MB / 4.183 GB, free: 223.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006545/6.593, allocations: 2.866 MB / 4.186 GB, free: 223.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001376/6.593, allocations: 147.8 kB / 4.186 GB, free: 223.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004529/6.594, allocations: 208.8 kB / 4.186 GB, free: 223.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003981/6.598, allocations: 2.144 MB / 4.188 GB, free: 223 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.093e-05/6.598, allocations: 6.219 kB / 4.188 GB, free: 223 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002169/6.598, allocations: 80.5 kB / 4.189 GB, free: 223 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.888e-05/6.598, allocations: 73.17 kB / 4.189 GB, free: 223 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003397/6.601, allocations: 2.042 MB / 4.191 GB, free: 223 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.01136/6.613, allocations: 8.483 MB / 4.199 GB, free: 219.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002254/6.615, allocations: 1.42 MB / 4.2 GB, free: 219.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005216/6.62, allocations: 3.557 MB / 4.204 GB, free: 218.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001338/6.622, allocations: 0.8004 MB / 4.205 GB, free: 218.4 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008621/6.622, allocations: 154.8 kB / 4.205 GB, free: 218.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=135): time 6.693e-06/6.622, allocations: 0 / 4.205 GB, free: 218.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=135): time 0.004555/6.627, allocations: 2.06 MB / 4.207 GB, free: 218 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.751e-05/6.627, allocations: 248.1 kB / 4.207 GB, free: 217.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002652/6.63, allocations: 1.792 MB / 4.209 GB, free: 217.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001219/6.63, allocations: 60.45 kB / 4.209 GB, free: 217.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008417/6.631, allocations: 1.129 MB / 4.21 GB, free: 217.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003053/6.631, allocations: 463.1 kB / 4.21 GB, free: 216.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.497e-05/6.631, allocations: 29.44 kB / 4.21 GB, free: 216.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.85e-05/6.631, allocations: 370.1 kB / 4.211 GB, free: 216.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009733/6.632, allocations: 0.5079 MB / 4.211 GB, free: 216.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00117/6.633, allocations: 0.972 MB / 4.212 GB, free: 216 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/6.634, allocations: 0.6493 MB / 4.213 GB, free: 216 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.876e-06/6.635, allocations: 3.969 kB / 4.213 GB, free: 216 MB / 1.167 GB Notification: Performance of matching and sorting (n=193) (initialization): time 0.003346/6.638, allocations: 1.787 MB / 4.215 GB, free: 215.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007369/6.639, allocations: 4.086 MB / 4.219 GB, free: 211.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.014e-05/6.639, allocations: 11.25 kB / 4.219 GB, free: 211.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006532/6.639, allocations: 103.2 kB / 4.219 GB, free: 211.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001457/6.641, allocations: 379 kB / 4.219 GB, free: 211.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001762/6.643, allocations: 1.546 MB / 4.22 GB, free: 210.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001935/6.644, allocations: 164 kB / 4.221 GB, free: 210.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001574/6.645, allocations: 75.81 kB / 4.221 GB, free: 210.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.427e-06/6.645, allocations: 7.219 kB / 4.221 GB, free: 210.1 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003064/6.648, allocations: 1.541 MB / 4.222 GB, free: 210.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.248e-05/6.648, allocations: 12.69 kB / 4.222 GB, free: 210.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005851/6.648, allocations: 95.27 kB / 4.222 GB, free: 210.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001371/6.65, allocations: 374.9 kB / 4.223 GB, free: 210.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001718/6.651, allocations: 1.558 MB / 4.224 GB, free: 208.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001923/6.653, allocations: 165.1 kB / 4.224 GB, free: 208.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001577/6.654, allocations: 70.3 kB / 4.224 GB, free: 208.8 MB / 1.167 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 () * Number of clocked 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.001324/6.655, allocations: 0.6094 MB / 4.225 GB, free: 208.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005204/6.655, allocations: 235.8 kB / 4.225 GB, free: 208.5 MB / 1.167 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.002933/6.658, allocations: 1.12 MB / 4.226 GB, free: 208.4 MB / 1.167 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.