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: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb,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.FixedApproachWetBulb") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb,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.FixedApproachWetBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.198/2.198, 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.001339/0.001339, allocations: 184.8 kB / 487.4 MB, free: 5.066 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.545/1.545, allocations: 221.5 MB / 0.7824 GB, free: 1.031 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.0009709/0.0009704, allocations: 91.92 kB / 0.9219 GB, free: 2.266 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.592e-05/1.595e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2972, allocations: 142.3 MB / 1.206 GB, free: 43.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.693/5.991, allocations: 2.213 GB / 3.419 GB, free: 108.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002934/5.991, allocations: 99.94 kB / 3.419 GB, free: 108.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.956/8.947, allocations: 0.7357 GB / 4.155 GB, free: 224.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.123e-06/8.947, allocations: 0 / 4.155 GB, free: 224.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0003185/8.947, allocations: 75.61 kB / 4.155 GB, free: 224.2 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.007114/8.955, allocations: 2.683 MB / 4.158 GB, free: 222.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/8.955, allocations: 9.906 kB / 4.158 GB, free: 222.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003263/8.958, allocations: 0.5583 MB / 4.158 GB, free: 222.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006848/8.965, allocations: 2.838 MB / 4.161 GB, free: 221.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.287e-05/8.965, allocations: 65.7 kB / 4.161 GB, free: 221.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003132/8.965, allocations: 122.1 kB / 4.161 GB, free: 221.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002877/8.968, allocations: 1.814 MB / 4.163 GB, free: 220.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002765/8.971, allocations: 1.798 MB / 4.165 GB, free: 219.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.486e-05/8.971, allocations: 0 / 4.165 GB, free: 219.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001594/8.971, allocations: 7.844 kB / 4.165 GB, free: 219.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.674e-05/8.971, allocations: 74.83 kB / 4.165 GB, free: 219.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.01132/8.982, allocations: 8.105 MB / 4.173 GB, free: 215 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001693/8.984, allocations: 1.281 MB / 4.174 GB, free: 214.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008408/8.985, allocations: 0.5773 MB / 4.175 GB, free: 214.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005579/8.991, allocations: 3.467 MB / 4.178 GB, free: 211.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001003/8.992, allocations: 0.7165 MB / 4.179 GB, free: 211.3 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009033/8.993, allocations: 95.69 kB / 4.179 GB, free: 211.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=135): time 3.466e-06/8.993, allocations: 0 / 4.179 GB, free: 211.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=135): time 0.003153/8.996, allocations: 1.365 MB / 4.18 GB, free: 210.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.293e-05/8.996, allocations: 247.5 kB / 4.18 GB, free: 210.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002188/8.998, allocations: 1.514 MB / 4.182 GB, free: 209.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001018/8.998, allocations: 29.61 kB / 4.182 GB, free: 209.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008193/8.999, allocations: 1.142 MB / 4.183 GB, free: 208.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002882/8.999, allocations: 443.6 kB / 4.183 GB, free: 208 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.83e-05/8.999, allocations: 0 / 4.183 GB, free: 208 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.149e-05/8.999, allocations: 364.2 kB / 4.184 GB, free: 207.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006128/9, allocations: 455.4 kB / 4.184 GB, free: 207.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008443/9.001, allocations: 0.8774 MB / 4.185 GB, free: 206.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001448/9.002, allocations: 0.6739 MB / 4.186 GB, free: 206.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/9.002, allocations: 7 kB / 4.186 GB, free: 206.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=193) (initialization): time 0.003304/9.006, allocations: 1.642 MB / 4.187 GB, free: 205.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007829/9.006, allocations: 4.041 MB / 4.191 GB, free: 201.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/9.007, allocations: 10.22 kB / 4.191 GB, free: 201.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005685/9.007, allocations: 101.1 kB / 4.191 GB, free: 201.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001442/9.009, allocations: 375.8 kB / 4.192 GB, free: 201.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00152/9.01, allocations: 1.479 MB / 4.193 GB, free: 199.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001974/9.012, allocations: 123.6 kB / 4.193 GB, free: 199.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001416/9.012, allocations: 78.2 kB / 4.193 GB, free: 199.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.584e-06/9.012, allocations: 3.062 kB / 4.193 GB, free: 199.9 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002889/9.015, allocations: 1.364 MB / 4.195 GB, free: 199.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/9.015, allocations: 9.062 kB / 4.195 GB, free: 199.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005111/9.016, allocations: 101.1 kB / 4.195 GB, free: 199.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001284/9.017, allocations: 377.3 kB / 4.195 GB, free: 199.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001392/9.018, allocations: 1.472 MB / 4.197 GB, free: 197.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001966/9.02, allocations: 125.5 kB / 4.197 GB, free: 197.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001293/9.02, allocations: 75.72 kB / 4.197 GB, free: 197.7 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.0003954/9.021, allocations: 149.1 kB / 4.197 GB, free: 197.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003497/9.021, allocations: 218.6 kB / 4.197 GB, free: 197.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.002493/9.024, allocations: 1.055 MB / 4.198 GB, free: 196.9 MB / 1.151 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.