Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.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.Merkel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TEnt.T|tow.TLvg|tow.TAir|conFan.u_s|conFan.u_m|onOffCon.u|onOffCon.reference",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TEnt.T|tow.TLvg|tow.TAir|conFan.u_s|conFan.u_m|onOffCon.u|onOffCon.reference",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.252/2.252, allocations: 387.1 MB / 399.7 MB, free: 9.512 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.00111/0.00111, allocations: 180.9 kB / 492.3 MB, free: 0.6523 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.797/1.797, allocations: 221.3 MB / 0.7871 GB, free: 12.93 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.0009994/0.0009998, allocations: 91.91 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.382e-05/3.386e-05, allocations: 0 / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3331, allocations: 142.3 MB / 1.212 GB, free: 38.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.36/6.693, allocations: 2.239 GB / 3.451 GB, free: 38.17 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002487/6.693, allocations: 103.5 kB / 3.451 GB, free: 38.12 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.411/10.1, allocations: 0.8105 GB / 4.262 GB, free: 105.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.814e-06/10.1, allocations: 0 / 4.262 GB, free: 105.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0004058/10.1, allocations: 83.92 kB / 4.262 GB, free: 105.5 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: 567 * Number of variables: 567 Notification: Performance of Generate backend data structure: time 0.01118/10.12, allocations: 3.181 MB / 4.265 GB, free: 102.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.436e-05/10.12, allocations: 8.031 kB / 4.265 GB, free: 102.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004576/10.12, allocations: 0.6836 MB / 4.266 GB, free: 101.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009507/10.13, allocations: 3.244 MB / 4.269 GB, free: 98.28 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001481/10.13, allocations: 172.2 kB / 4.269 GB, free: 98.11 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004742/10.13, allocations: 239.9 kB / 4.269 GB, free: 97.88 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004211/10.14, allocations: 2.375 MB / 4.272 GB, free: 95.36 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.793e-05/10.14, allocations: 3.938 kB / 4.272 GB, free: 95.35 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002159/10.14, allocations: 92 kB / 4.272 GB, free: 95.26 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.91e-05/10.14, allocations: 92.25 kB / 4.272 GB, free: 95.17 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003256/10.14, allocations: 2.234 MB / 4.274 GB, free: 92.92 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.01512/10.15, allocations: 9.765 MB / 4.283 GB, free: 82.79 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002447/10.16, allocations: 1.752 MB / 4.285 GB, free: 81.04 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001066/10.16, allocations: 0.7872 MB / 4.286 GB, free: 80.25 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008647/10.17, allocations: 6.149 MB / 4.292 GB, free: 73.48 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00137/10.17, allocations: 0.9529 MB / 4.293 GB, free: 72.51 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001397/10.17, allocations: 170.3 kB / 4.293 GB, free: 72.34 MB / 1.151 GB Notification: Performance of pre-optimization done (n=167): time 4.819e-06/10.17, allocations: 0 / 4.293 GB, free: 72.34 MB / 1.151 GB Notification: Performance of matching and sorting (n=167): time 0.003546/10.17, allocations: 1.749 MB / 4.295 GB, free: 70.58 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/10.17, allocations: 279 kB / 4.295 GB, free: 70.24 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003743/10.18, allocations: 2.242 MB / 4.297 GB, free: 67.98 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0004016/10.18, allocations: 69.62 kB / 4.297 GB, free: 67.91 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.00115/10.18, allocations: 1.304 MB / 4.298 GB, free: 66.59 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005679/10.18, allocations: 0.5621 MB / 4.299 GB, free: 66.02 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.726e-05/10.18, allocations: 32 kB / 4.299 GB, free: 65.99 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001213/10.18, allocations: 381.9 kB / 4.299 GB, free: 65.61 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001103/10.18, allocations: 0.621 MB / 4.3 GB, free: 64.99 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00149/10.18, allocations: 1.208 MB / 4.301 GB, free: 63.59 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00124/10.18, allocations: 0.7856 MB / 4.302 GB, free: 62.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.275e-05/10.18, allocations: 4 kB / 4.302 GB, free: 62.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=240) (initialization): time 0.005129/10.19, allocations: 2.211 MB / 4.304 GB, free: 60.57 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001568/10.19, allocations: 4.365 MB / 4.308 GB, free: 55.88 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.726e-05/10.19, allocations: 19.98 kB / 4.308 GB, free: 55.86 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.096/12.29, allocations: 206.6 MB / 4.51 GB, free: 198.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002361/12.29, allocations: 449.5 kB / 4.511 GB, free: 198.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002779/12.29, allocations: 2.731 MB / 4.513 GB, free: 196.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003642/12.29, allocations: 202.4 kB / 4.513 GB, free: 196.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006656/12.3, allocations: 96.59 kB / 4.514 GB, free: 196.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/12.3, allocations: 3.188 kB / 4.514 GB, free: 196.4 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005065/12.3, allocations: 1.917 MB / 4.515 GB, free: 196.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.101e-05/12.3, allocations: 13.94 kB / 4.515 GB, free: 196.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178/13.48, allocations: 206.6 MB / 4.717 GB, free: 32.09 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002169/13.48, allocations: 434.7 kB / 4.718 GB, free: 31.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002506/13.48, allocations: 2.728 MB / 4.72 GB, free: 29.02 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003357/13.49, allocations: 190 kB / 4.72 GB, free: 28.88 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006468/13.49, allocations: 97.83 kB / 4.721 GB, free: 28.8 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$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 (230): * Single equations (assignments): 226 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 6,1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001135/13.49, allocations: 217.1 kB / 4.721 GB, free: 28.67 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001118/13.49, allocations: 284.9 kB / 4.721 GB, free: 28.54 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 196 equation(s) and 195 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0038/13.49, allocations: 1.321 MB / 4.722 GB, free: 27.68 MB / 1.167 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.