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.405/2.405, allocations: 387.1 MB / 399.7 MB, free: 9.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.001897/0.001897, allocations: 180.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.65/1.65, allocations: 221.3 MB / 0.7872 GB, free: 12.9 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.001121/0.001121, allocations: 99.89 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.209e-05/3.211e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.3035, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.24/6.543, allocations: 2.227 GB / 3.439 GB, free: 49.86 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003225/6.544, allocations: 101.8 kB / 3.439 GB, free: 49.81 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.416/9.96, allocations: 0.759 GB / 4.198 GB, free: 169.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.034e-06/9.96, allocations: 0 / 4.198 GB, free: 169.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0005992/9.961, allocations: 87.05 kB / 4.198 GB, free: 169.3 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: 550 * Number of variables: 550 Notification: Performance of Generate backend data structure: time 0.01104/9.972, allocations: 2.964 MB / 4.201 GB, free: 166.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.321e-05/9.972, allocations: 12.03 kB / 4.201 GB, free: 166.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004733/9.977, allocations: 0.6494 MB / 4.202 GB, free: 165.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01096/9.988, allocations: 3.021 MB / 4.205 GB, free: 162.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003484/9.988, allocations: 173.4 kB / 4.205 GB, free: 162.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001677/9.99, allocations: 225.2 kB / 4.205 GB, free: 162.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008499/9.998, allocations: 2.369 MB / 4.207 GB, free: 159.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.777e-05/9.998, allocations: 11.84 kB / 4.207 GB, free: 159.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003143/9.999, allocations: 93.22 kB / 4.208 GB, free: 159.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001238/9.999, allocations: 84.05 kB / 4.208 GB, free: 159.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003928/10, allocations: 2.152 MB / 4.21 GB, free: 157.4 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.01989/10.02, allocations: 10.18 MB / 4.22 GB, free: 147 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002205/10.02, allocations: 1.558 MB / 4.221 GB, free: 145.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009487/10.03, allocations: 0.7126 MB / 4.222 GB, free: 144.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007524/10.03, allocations: 5.251 MB / 4.227 GB, free: 139.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001271/10.03, allocations: 0.8708 MB / 4.228 GB, free: 138.2 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001427/10.04, allocations: 170.1 kB / 4.228 GB, free: 138 MB / 1.151 GB Notification: Performance of pre-optimization done (n=154): time 6.182e-06/10.04, allocations: 0 / 4.228 GB, free: 138 MB / 1.151 GB Notification: Performance of matching and sorting (n=154): time 0.003112/10.04, allocations: 1.558 MB / 4.23 GB, free: 136.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.483e-05/10.04, allocations: 308 kB / 4.23 GB, free: 136.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003075/10.04, allocations: 1.981 MB / 4.232 GB, free: 134.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0002483/10.04, allocations: 61.64 kB / 4.232 GB, free: 134 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001068/10.04, allocations: 1.275 MB / 4.233 GB, free: 132.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004389/10.04, allocations: 0.5198 MB / 4.234 GB, free: 132.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.702e-05/10.04, allocations: 36 kB / 4.234 GB, free: 132.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.000114/10.04, allocations: 377.8 kB / 4.234 GB, free: 131.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000918/10.05, allocations: 0.5936 MB / 4.235 GB, free: 131.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001233/10.05, allocations: 1.205 MB / 4.236 GB, free: 129.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/10.05, allocations: 0.7619 MB / 4.237 GB, free: 129 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.049e-05/10.05, allocations: 4 kB / 4.237 GB, free: 129 MB / 1.151 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.004047/10.05, allocations: 2.077 MB / 4.239 GB, free: 126.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001217/10.05, allocations: 5.362 MB / 4.244 GB, free: 121.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.245e-05/10.05, allocations: 12 kB / 4.244 GB, free: 121.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006403/10.05, allocations: 108.8 kB / 4.244 GB, free: 121 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001818/10.06, allocations: 467.3 kB / 4.244 GB, free: 120.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002023/10.06, allocations: 2.129 MB / 4.246 GB, free: 118.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003043/10.06, allocations: 198.6 kB / 4.247 GB, free: 118 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003741/10.06, allocations: 103.9 kB / 4.247 GB, free: 117.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/10.06, allocations: 4 kB / 4.247 GB, free: 117.9 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003951/10.07, allocations: 1.808 MB / 4.248 GB, free: 116.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.73e-05/10.07, allocations: 12 kB / 4.248 GB, free: 116.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005319/10.07, allocations: 101.5 kB / 4.249 GB, free: 116 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0018/10.07, allocations: 462.3 kB / 4.249 GB, free: 115.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001943/10.07, allocations: 2.118 MB / 4.251 GB, free: 113.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00315/10.07, allocations: 183.9 kB / 4.251 GB, free: 113.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000372/10.07, allocations: 99.95 kB / 4.251 GB, free: 113 MB / 1.151 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 () * 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.0008234/10.07, allocations: 233.5 kB / 4.252 GB, free: 112.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001283/10.08, allocations: 268.7 kB / 4.252 GB, free: 112.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 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.003959/10.08, allocations: 1.284 MB / 4.253 GB, free: 111.2 MB / 1.151 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.