Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.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.FixedApproachDryBulb,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_CoolingTowers_Examples_FixedApproachDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_CoolingTowers_Examples_FixedApproachDryBulb",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.236/2.236, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.001168/0.001168, allocations: 176.8 kB / 487.4 MB, free: 5.031 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.811/1.811, allocations: 221.5 MB / 0.7824 GB, free: 0.9766 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.001052/0.001052, allocations: 94.14 kB / 0.9219 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.855e-05/2.857e-05, allocations: 5.797 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3341/0.3342, allocations: 142.4 MB / 1.206 GB, free: 43.84 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.822/6.157, allocations: 2.213 GB / 3.419 GB, free: 83.83 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002461/6.157, allocations: 104.4 kB / 3.419 GB, free: 83.77 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.814/8.971, allocations: 0.7741 GB / 4.193 GB, free: 191 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.954e-06/8.971, allocations: 3.938 kB / 4.194 GB, free: 191 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002645/8.971, allocations: 74.91 kB / 4.194 GB, free: 191 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.00567/8.977, allocations: 2.697 MB / 4.196 GB, free: 188.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/8.977, allocations: 8.031 kB / 4.196 GB, free: 188.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002798/8.98, allocations: 0.5547 MB / 4.197 GB, free: 187.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00614/8.986, allocations: 2.839 MB / 4.2 GB, free: 184.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.682e-05/8.986, allocations: 67.69 kB / 4.2 GB, free: 184.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002312/8.986, allocations: 120 kB / 4.2 GB, free: 184.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002673/8.989, allocations: 1.819 MB / 4.201 GB, free: 182.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002601/8.992, allocations: 1.789 MB / 4.203 GB, free: 181 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.386e-05/8.992, allocations: 4 kB / 4.203 GB, free: 181 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001519/8.992, allocations: 4 kB / 4.203 GB, free: 181 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.755e-05/8.992, allocations: 71.73 kB / 4.203 GB, free: 180.9 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.01036/9.002, allocations: 8.099 MB / 4.211 GB, free: 172.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001553/9.004, allocations: 1.282 MB / 4.212 GB, free: 171.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007016/9.005, allocations: 0.5843 MB / 4.213 GB, free: 170.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005195/9.01, allocations: 3.464 MB / 4.216 GB, free: 167.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009645/9.011, allocations: 0.7193 MB / 4.217 GB, free: 166.4 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008946/9.012, allocations: 94.5 kB / 4.217 GB, free: 166.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=135): time 3.316e-06/9.012, allocations: 1.969 kB / 4.217 GB, free: 166.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=135): time 0.003172/9.015, allocations: 1.36 MB / 4.219 GB, free: 165 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/9.015, allocations: 254 kB / 4.219 GB, free: 164.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002243/9.017, allocations: 1.512 MB / 4.22 GB, free: 163.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001316/9.017, allocations: 25.7 kB / 4.22 GB, free: 163.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000873/9.018, allocations: 1.145 MB / 4.221 GB, free: 162 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000334/9.019, allocations: 441.4 kB / 4.222 GB, free: 161.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.691e-05/9.019, allocations: 1.906 kB / 4.222 GB, free: 161.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.54e-05/9.019, allocations: 365.9 kB / 4.222 GB, free: 161.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006185/9.019, allocations: 455.9 kB / 4.223 GB, free: 160.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008355/9.02, allocations: 0.8816 MB / 4.223 GB, free: 159.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00158/9.022, allocations: 0.6642 MB / 4.224 GB, free: 159 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/9.022, allocations: 4 kB / 4.224 GB, free: 159 MB / 1.151 GB Notification: Performance of matching and sorting (n=193) (initialization): time 0.003472/9.025, allocations: 1.65 MB / 4.226 GB, free: 157.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.000884/9.026, allocations: 4.037 MB / 4.23 GB, free: 153.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.124e-05/9.026, allocations: 12 kB / 4.23 GB, free: 153.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006033/9.027, allocations: 96.14 kB / 4.23 GB, free: 153 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00143/9.028, allocations: 378.2 kB / 4.23 GB, free: 152.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001539/9.03, allocations: 1.466 MB / 4.232 GB, free: 151 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002264/9.032, allocations: 141.7 kB / 4.232 GB, free: 150.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001919/9.032, allocations: 75.97 kB / 4.232 GB, free: 150.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.859e-06/9.032, allocations: 3.938 kB / 4.232 GB, free: 150.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003166/9.036, allocations: 1.37 MB / 4.233 GB, free: 149.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/9.036, allocations: 8 kB / 4.233 GB, free: 149.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005066/9.036, allocations: 103.7 kB / 4.233 GB, free: 149.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001308/9.037, allocations: 374.3 kB / 4.234 GB, free: 149 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001446/9.039, allocations: 1.471 MB / 4.235 GB, free: 147.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002114/9.041, allocations: 115.5 kB / 4.235 GB, free: 147.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001889/9.041, allocations: 75.97 kB / 4.235 GB, free: 147.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.0004401/9.042, allocations: 156.4 kB / 4.235 GB, free: 147.1 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003299/9.045, allocations: 1.334 MB / 4.237 GB, free: 145.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003691/9.045, allocations: 217.3 kB / 4.237 GB, free: 145.5 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.002514/9.048, allocations: 1.057 MB / 4.238 GB, free: 144.5 MB / 1.151 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.