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: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tow.TAir|tow.vol.heatPort.Q_flow|tow.m_flow|onOffCon.u|onOffCon.reference",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tow.TAir|tow.vol.heatPort.Q_flow|tow.m_flow|onOffCon.u|onOffCon.reference",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.207/2.207, allocations: 387.4 MB / 394.9 MB, free: 13.4 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.001197/0.001198, allocations: 188.8 kB / 487.4 MB, free: 5.062 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.542/1.542, allocations: 221.5 MB / 0.7824 GB, free: 0.9922 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.0009335/0.0009334, allocations: 97.41 kB / 0.9219 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.171e-05/2.174e-05, allocations: 5.062 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2822, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.661/5.943, allocations: 2.213 GB / 3.419 GB, free: 119.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/5.943, allocations: 100.9 kB / 3.419 GB, free: 119.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.022/8.966, allocations: 0.7741 GB / 4.193 GB, free: 204.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.814e-06/8.966, allocations: 0 / 4.193 GB, free: 204.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0004746/8.966, allocations: 75.22 kB / 4.193 GB, free: 204.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.008994/8.975, allocations: 2.694 MB / 4.196 GB, free: 202.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/8.975, allocations: 10.41 kB / 4.196 GB, free: 202.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003851/8.979, allocations: 0.55 MB / 4.197 GB, free: 202.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01076/8.99, allocations: 2.845 MB / 4.199 GB, free: 200.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002447/8.99, allocations: 61.22 kB / 4.199 GB, free: 200.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001235/8.992, allocations: 118.8 kB / 4.2 GB, free: 200.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005965/8.998, allocations: 1.815 MB / 4.201 GB, free: 199.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008239/9.006, allocations: 1.801 MB / 4.203 GB, free: 198.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000121/9.006, allocations: 3.406 kB / 4.203 GB, free: 198.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006641/9.007, allocations: 9.156 kB / 4.203 GB, free: 198.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001196/9.007, allocations: 72.19 kB / 4.203 GB, free: 198.7 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.01745/9.024, allocations: 8.089 MB / 4.211 GB, free: 192.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002192/9.027, allocations: 1.281 MB / 4.212 GB, free: 191.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009244/9.028, allocations: 0.5791 MB / 4.213 GB, free: 191.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006415/9.034, allocations: 3.469 MB / 4.216 GB, free: 188.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001013/9.035, allocations: 0.7219 MB / 4.217 GB, free: 188.1 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001028/9.036, allocations: 102.7 kB / 4.217 GB, free: 188.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=135): time 7.313e-06/9.036, allocations: 0 / 4.217 GB, free: 188.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=135): time 0.003541/9.04, allocations: 1.355 MB / 4.218 GB, free: 187.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.41e-05/9.04, allocations: 246.9 kB / 4.219 GB, free: 187.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002943/9.043, allocations: 1.519 MB / 4.22 GB, free: 186.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001651/9.043, allocations: 29.64 kB / 4.22 GB, free: 186.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001041/9.044, allocations: 1.14 MB / 4.221 GB, free: 185.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000347/9.044, allocations: 444.3 kB / 4.222 GB, free: 184.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.068e-05/9.044, allocations: 0 / 4.222 GB, free: 184.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.751e-05/9.044, allocations: 374.1 kB / 4.222 GB, free: 184.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006595/9.045, allocations: 453.5 kB / 4.223 GB, free: 184.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000903/9.046, allocations: 0.8776 MB / 4.223 GB, free: 183.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001585/9.048, allocations: 0.6645 MB / 4.224 GB, free: 183.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.124e-05/9.048, allocations: 7.031 kB / 4.224 GB, free: 183.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=193) (initialization): time 0.003633/9.051, allocations: 1.646 MB / 4.226 GB, free: 182.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008049/9.052, allocations: 4.042 MB / 4.23 GB, free: 178.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.255e-05/9.052, allocations: 11.81 kB / 4.23 GB, free: 178.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005993/9.053, allocations: 93.75 kB / 4.23 GB, free: 178.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001506/9.054, allocations: 387 kB / 4.23 GB, free: 177.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001612/9.056, allocations: 1.463 MB / 4.231 GB, free: 176.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00223/9.058, allocations: 131.9 kB / 4.232 GB, free: 176.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002274/9.058, allocations: 73.34 kB / 4.232 GB, free: 176.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/9.058, allocations: 4 kB / 4.232 GB, free: 176.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003363/9.062, allocations: 1.372 MB / 4.233 GB, free: 174.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.523e-05/9.062, allocations: 11.75 kB / 4.233 GB, free: 174.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005346/9.062, allocations: 99.09 kB / 4.233 GB, free: 174.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001357/9.064, allocations: 371.5 kB / 4.233 GB, free: 174.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001482/9.065, allocations: 1.468 MB / 4.235 GB, free: 172.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002061/9.067, allocations: 115.7 kB / 4.235 GB, free: 172.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002192/9.068, allocations: 78.25 kB / 4.235 GB, free: 172.5 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.000482/9.068, allocations: 153.5 kB / 4.235 GB, free: 172.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000698/9.069, allocations: 221.3 kB / 4.235 GB, free: 172.2 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.002926/9.072, allocations: 1.058 MB / 4.236 GB, free: 171.1 MB / 1.151 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.