Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc.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.YorkCalc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TEnt.T|tow.TLvg|tow.TAir|tow.TApp_nominal|tow.TAppAct|tow.TRan|tow.FRAir|tow.FRWat|tow.PFan|conFan.u_s|conFan.u_m|onOffCon.u|onOffCon.reference",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TEnt.T|tow.TLvg|tow.TAir|tow.TApp_nominal|tow.TAppAct|tow.TRan|tow.FRAir|tow.FRWat|tow.PFan|conFan.u_s|conFan.u_m|onOffCon.u|onOffCon.reference",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.281/2.281, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001136/0.001136, allocations: 174.9 kB / 498.1 MB, free: 5.75 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.532/1.532, allocations: 223.2 MB / 0.7948 GB, free: 18.87 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.0009557/0.0009556, allocations: 95.89 kB / 0.9346 GB, free: 7.156 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003864/0.0003865, allocations: 9.469 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3499, allocations: 142.4 MB / 1.223 GB, free: 89.58 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.8/6.15, allocations: 2.227 GB / 3.45 GB, free: 161.4 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002712/6.15, allocations: 114.2 kB / 3.45 GB, free: 161.4 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.747/8.898, allocations: 0.7613 GB / 4.211 GB, free: 219.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.675e-06/8.898, allocations: 2.719 kB / 4.211 GB, free: 219.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003338/8.898, allocations: 81.27 kB / 4.211 GB, free: 219.6 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: 550 * Number of variables: 550 Notification: Performance of Generate backend data structure: time 0.009168/8.907, allocations: 3.579 MB / 4.215 GB, free: 218.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/8.907, allocations: 10.78 kB / 4.215 GB, free: 218.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003901/8.911, allocations: 0.6514 MB / 4.215 GB, free: 217.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007767/8.919, allocations: 3.056 MB / 4.218 GB, free: 217.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001486/8.919, allocations: 168.6 kB / 4.218 GB, free: 217.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004376/8.92, allocations: 221.5 kB / 4.219 GB, free: 217.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004274/8.924, allocations: 2.48 MB / 4.221 GB, free: 216.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.115e-05/8.924, allocations: 6.188 kB / 4.221 GB, free: 216.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002344/8.924, allocations: 93.5 kB / 4.221 GB, free: 216.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.988e-05/8.924, allocations: 81.34 kB / 4.221 GB, free: 216.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004069/8.928, allocations: 2.361 MB / 4.223 GB, free: 216.8 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.01356/8.942, allocations: 10.17 MB / 4.233 GB, free: 212.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002782/8.945, allocations: 1.723 MB / 4.235 GB, free: 212.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007026/8.952, allocations: 5.224 MB / 4.24 GB, free: 209.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001612/8.953, allocations: 0.9563 MB / 4.241 GB, free: 209.7 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009953/8.954, allocations: 166 kB / 4.241 GB, free: 209.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=154): time 3.267e-06/8.954, allocations: 3.062 kB / 4.241 GB, free: 209.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=154): time 0.005871/8.96, allocations: 2.467 MB / 4.244 GB, free: 209.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.809e-05/8.96, allocations: 310.2 kB / 4.244 GB, free: 209 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002973/8.963, allocations: 2.009 MB / 4.246 GB, free: 208.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002524/8.964, allocations: 67.45 kB / 4.246 GB, free: 208.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001056/8.965, allocations: 1.269 MB / 4.247 GB, free: 208.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004182/8.965, allocations: 0.5252 MB / 4.248 GB, free: 208 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.551e-05/8.965, allocations: 34.44 kB / 4.248 GB, free: 208 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001027/8.965, allocations: 374.9 kB / 4.248 GB, free: 207.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001325/8.967, allocations: 0.6705 MB / 4.249 GB, free: 207.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00163/8.968, allocations: 1.311 MB / 4.25 GB, free: 207 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001475/8.97, allocations: 0.8344 MB / 4.251 GB, free: 207 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.248e-06/8.97, allocations: 7.375 kB / 4.251 GB, free: 207 MB / 1.167 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.004749/8.975, allocations: 2.262 MB / 4.253 GB, free: 206.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009872/8.976, allocations: 5.364 MB / 4.258 GB, free: 201.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.041e-05/8.976, allocations: 12.41 kB / 4.258 GB, free: 201.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000644/8.976, allocations: 102.7 kB / 4.258 GB, free: 201.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001837/8.978, allocations: 464 kB / 4.259 GB, free: 201.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001923/8.98, allocations: 2.147 MB / 4.261 GB, free: 199.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002751/8.983, allocations: 187.5 kB / 4.261 GB, free: 199.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002137/8.983, allocations: 106.2 kB / 4.261 GB, free: 199.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.939e-06/8.983, allocations: 3.406 kB / 4.261 GB, free: 199.3 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004189/8.987, allocations: 1.975 MB / 4.263 GB, free: 199.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.089e-05/8.987, allocations: 11.78 kB / 4.263 GB, free: 199.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000571/8.988, allocations: 104.9 kB / 4.263 GB, free: 199.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001765/8.99, allocations: 459 kB / 4.264 GB, free: 199.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001865/8.992, allocations: 2.146 MB / 4.266 GB, free: 197.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002583/8.994, allocations: 192.8 kB / 4.266 GB, free: 197.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002532/8.994, allocations: 99.28 kB / 4.266 GB, free: 197.3 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.onOffCon.y,onOffCon.y,conFan.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (227): * Single equations (assignments): 223 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.001782/8.996, allocations: 0.6583 MB / 4.267 GB, free: 197.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000777/8.997, allocations: 265.4 kB / 4.267 GB, free: 197 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 189 equation(s) and 188 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00333/9, allocations: 1.354 MB / 4.268 GB, free: 196.9 MB / 1.167 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.