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.232/2.232, allocations: 387.1 MB / 399.7 MB, free: 9.465 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.001154/0.001155, allocations: 184.9 kB / 492.3 MB, free: 0.6172 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.575/1.575, allocations: 221.3 MB / 0.7871 GB, free: 12.89 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.0008741/0.0008742, allocations: 91.88 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.753e-05/3.765e-05, allocations: 8 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/0.3271, allocations: 142.3 MB / 1.212 GB, free: 38.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.15/6.477, allocations: 2.214 GB / 3.426 GB, free: 97.86 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002543/6.478, allocations: 100.4 kB / 3.426 GB, free: 97.76 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.173/9.651, allocations: 0.74 GB / 4.166 GB, free: 216.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.693e-06/9.651, allocations: 0 / 4.166 GB, free: 216.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0003458/9.651, allocations: 76.67 kB / 4.166 GB, free: 216.1 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.007989/9.659, allocations: 2.692 MB / 4.169 GB, free: 214.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/9.659, allocations: 9.969 kB / 4.169 GB, free: 214.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003766/9.663, allocations: 0.5495 MB / 4.17 GB, free: 214 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007846/9.671, allocations: 2.839 MB / 4.172 GB, free: 212.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001634/9.671, allocations: 153.7 kB / 4.172 GB, free: 212.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005374/9.672, allocations: 198.5 kB / 4.173 GB, free: 212 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003794/9.676, allocations: 2.072 MB / 4.175 GB, free: 210.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.656e-05/9.676, allocations: 7.812 kB / 4.175 GB, free: 210.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001961/9.676, allocations: 78.31 kB / 4.175 GB, free: 210.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.379e-05/9.676, allocations: 75.45 kB / 4.175 GB, free: 210.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002977/9.679, allocations: 1.923 MB / 4.177 GB, free: 209.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.0129/9.692, allocations: 8.479 MB / 4.185 GB, free: 203.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001953/9.694, allocations: 1.322 MB / 4.186 GB, free: 202.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008604/9.695, allocations: 0.6105 MB / 4.187 GB, free: 202.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005854/9.701, allocations: 3.564 MB / 4.19 GB, free: 199.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001154/9.702, allocations: 0.7537 MB / 4.191 GB, free: 199 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001066/9.703, allocations: 156.5 kB / 4.191 GB, free: 198.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=135): time 3.587e-06/9.703, allocations: 0 / 4.191 GB, free: 198.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=135): time 0.002775/9.706, allocations: 1.332 MB / 4.193 GB, free: 198.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.092e-05/9.706, allocations: 247.2 kB / 4.193 GB, free: 198 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002717/9.709, allocations: 1.78 MB / 4.195 GB, free: 197.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0002429/9.709, allocations: 64.5 kB / 4.195 GB, free: 197.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009156/9.71, allocations: 1.115 MB / 4.196 GB, free: 196.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003971/9.71, allocations: 473.4 kB / 4.196 GB, free: 195.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.427e-05/9.71, allocations: 27.88 kB / 4.196 GB, free: 195.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.959e-05/9.71, allocations: 364 kB / 4.197 GB, free: 195.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007598/9.711, allocations: 478.5 kB / 4.197 GB, free: 195.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009745/9.712, allocations: 0.9077 MB / 4.198 GB, free: 194.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008747/9.713, allocations: 0.6087 MB / 4.198 GB, free: 194 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.528e-06/9.713, allocations: 3.844 kB / 4.198 GB, free: 194 MB / 1.151 GB Notification: Performance of matching and sorting (n=193) (initialization): time 0.003238/9.716, allocations: 1.684 MB / 4.2 GB, free: 193.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008007/9.717, allocations: 4.088 MB / 4.204 GB, free: 188.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.678e-05/9.717, allocations: 14.47 kB / 4.204 GB, free: 188.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006153/9.718, allocations: 101.4 kB / 4.204 GB, free: 188.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001413/9.719, allocations: 376.7 kB / 4.205 GB, free: 188.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001717/9.721, allocations: 1.533 MB / 4.206 GB, free: 187.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002432/9.723, allocations: 167.6 kB / 4.206 GB, free: 187.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001957/9.723, allocations: 76.28 kB / 4.206 GB, free: 187.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/9.723, allocations: 7.641 kB / 4.206 GB, free: 187.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002639/9.726, allocations: 1.445 MB / 4.208 GB, free: 186.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/9.726, allocations: 10.88 kB / 4.208 GB, free: 186.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005081/9.727, allocations: 98.34 kB / 4.208 GB, free: 186.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001293/9.728, allocations: 372.1 kB / 4.208 GB, free: 186.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001596/9.73, allocations: 1.535 MB / 4.21 GB, free: 184.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002268/9.732, allocations: 153 kB / 4.21 GB, free: 184.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001636/9.732, allocations: 78.75 kB / 4.21 GB, free: 184.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.0004538/9.732, allocations: 210.2 kB / 4.21 GB, free: 184.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004996/9.733, allocations: 233.4 kB / 4.21 GB, free: 184.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.002354/9.735, allocations: 1.074 MB / 4.211 GB, free: 183.8 MB / 1.151 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.