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.267/2.267, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001015/0.001015, allocations: 181.6 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.595/1.595, allocations: 223.2 MB / 0.7948 GB, free: 17.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.000994/0.0009941, allocations: 97.84 kB / 0.9346 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003526/0.0003526, allocations: 13.16 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3256, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.627/5.953, allocations: 2.214 GB / 3.437 GB, free: 215.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00032/5.953, allocations: 110.8 kB / 3.437 GB, free: 215.1 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.971/8.924, allocations: 0.7422 GB / 4.179 GB, free: 223.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.134e-06/8.924, allocations: 0 / 4.179 GB, free: 223.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0005314/8.924, allocations: 80.19 kB / 4.179 GB, free: 223.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.01199/8.936, allocations: 3.253 MB / 4.182 GB, free: 221.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/8.936, allocations: 7.25 kB / 4.182 GB, free: 221.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004035/8.94, allocations: 0.5553 MB / 4.183 GB, free: 221.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01065/8.951, allocations: 2.874 MB / 4.186 GB, free: 221.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002864/8.951, allocations: 159 kB / 4.186 GB, free: 221.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001095/8.953, allocations: 195.1 kB / 4.186 GB, free: 221.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008084/8.961, allocations: 2.143 MB / 4.188 GB, free: 220.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001216/8.961, allocations: 3.797 kB / 4.188 GB, free: 220.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006193/8.961, allocations: 82.31 kB / 4.188 GB, free: 220.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001164/8.962, allocations: 73.8 kB / 4.188 GB, free: 220.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005569/8.967, allocations: 2.05 MB / 4.19 GB, free: 220.9 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.01789/8.985, allocations: 8.467 MB / 4.199 GB, free: 217.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00294/8.988, allocations: 1.415 MB / 4.2 GB, free: 217.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007453/8.996, allocations: 3.576 MB / 4.203 GB, free: 216.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001585/8.997, allocations: 0.8023 MB / 4.204 GB, free: 216.2 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00155/8.999, allocations: 150.3 kB / 4.204 GB, free: 216.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=135): time 1.412e-05/8.999, allocations: 0 / 4.204 GB, free: 216.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=135): time 0.005693/9.005, allocations: 2.059 MB / 4.206 GB, free: 215.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.921e-05/9.005, allocations: 254 kB / 4.207 GB, free: 215.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004338/9.009, allocations: 1.792 MB / 4.208 GB, free: 215.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003442/9.009, allocations: 57.27 kB / 4.208 GB, free: 215.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001338/9.011, allocations: 1.128 MB / 4.21 GB, free: 215 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006064/9.011, allocations: 460.6 kB / 4.21 GB, free: 214.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001504/9.012, allocations: 32.27 kB / 4.21 GB, free: 214.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001424/9.012, allocations: 368 kB / 4.21 GB, free: 214.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001274/9.013, allocations: 0.516 MB / 4.211 GB, free: 214.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001624/9.015, allocations: 0.9605 MB / 4.212 GB, free: 213.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001501/9.016, allocations: 0.654 MB / 4.212 GB, free: 213.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.598e-05/9.016, allocations: 3.75 kB / 4.212 GB, free: 213.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=193) (initialization): time 0.005089/9.021, allocations: 1.794 MB / 4.214 GB, free: 213.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001246/9.022, allocations: 4.079 MB / 4.218 GB, free: 209.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-05/9.023, allocations: 10.41 kB / 4.218 GB, free: 209.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007189/9.023, allocations: 97.53 kB / 4.218 GB, free: 209.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00158/9.025, allocations: 383.2 kB / 4.219 GB, free: 209.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002247/9.027, allocations: 1.56 MB / 4.22 GB, free: 208 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003108/9.03, allocations: 167 kB / 4.22 GB, free: 208 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003121/9.031, allocations: 79.89 kB / 4.22 GB, free: 208 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/9.031, allocations: 7.188 kB / 4.22 GB, free: 208 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003723/9.034, allocations: 1.534 MB / 4.222 GB, free: 208 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-05/9.034, allocations: 11.25 kB / 4.222 GB, free: 208 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005844/9.035, allocations: 102.2 kB / 4.222 GB, free: 208 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001396/9.036, allocations: 376.9 kB / 4.222 GB, free: 208 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001835/9.038, allocations: 1.539 MB / 4.224 GB, free: 206.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002543/9.041, allocations: 155.3 kB / 4.224 GB, free: 206.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002409/9.041, allocations: 76.77 kB / 4.224 GB, free: 206.7 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.001933/9.043, allocations: 0.6122 MB / 4.225 GB, free: 206.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009135/9.044, allocations: 240.2 kB / 4.225 GB, free: 206.3 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.003247/9.047, allocations: 1.12 MB / 4.226 GB, free: 206.3 MB / 1.167 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.