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.271/2.271, 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.001055/0.001055, allocations: 181.1 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.524/1.524, allocations: 223.2 MB / 0.7949 GB, free: 17.94 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.0008921/0.0008921, allocations: 106.7 kB / 0.9346 GB, free: 6.258 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000383/0.0003832, allocations: 13.62 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3266, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.602/5.929, allocations: 2.239 GB / 3.462 GB, free: 244.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003037/5.929, allocations: 116 kB / 3.462 GB, free: 244.1 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.032/8.961, allocations: 0.8129 GB / 4.275 GB, free: 212.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.805e-06/8.961, allocations: 0 / 4.275 GB, free: 212.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0004801/8.962, allocations: 83.3 kB / 4.275 GB, free: 212.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: 567 * Number of variables: 567 Notification: Performance of Generate backend data structure: time 0.01214/8.974, allocations: 3.874 MB / 4.279 GB, free: 210.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/8.974, allocations: 6.875 kB / 4.279 GB, free: 210.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004358/8.979, allocations: 0.6763 MB / 4.279 GB, free: 210.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01042/8.989, allocations: 3.286 MB / 4.282 GB, free: 209.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002372/8.989, allocations: 172.8 kB / 4.283 GB, free: 209.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001002/8.99, allocations: 234.2 kB / 4.283 GB, free: 209.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006437/8.997, allocations: 2.497 MB / 4.285 GB, free: 209.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.312e-05/8.997, allocations: 5.375 kB / 4.285 GB, free: 209.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002295/8.997, allocations: 99.44 kB / 4.285 GB, free: 209.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.435e-05/8.997, allocations: 82.88 kB / 4.285 GB, free: 209.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004187/9.001, allocations: 2.449 MB / 4.288 GB, free: 209.3 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.01474/9.016, allocations: 9.769 MB / 4.297 GB, free: 205.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003353/9.019, allocations: 1.959 MB / 4.299 GB, free: 205.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008624/9.028, allocations: 6.123 MB / 4.305 GB, free: 202.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001774/9.03, allocations: 1.043 MB / 4.306 GB, free: 202.3 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001235/9.031, allocations: 170.6 kB / 4.306 GB, free: 202.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=167): time 5.3e-06/9.031, allocations: 0 / 4.306 GB, free: 202.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=167): time 0.009142/9.04, allocations: 3.182 MB / 4.31 GB, free: 201.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.26e-05/9.04, allocations: 275.6 kB / 4.31 GB, free: 201.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003527/9.044, allocations: 2.274 MB / 4.312 GB, free: 201.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003417/9.044, allocations: 65.11 kB / 4.312 GB, free: 201.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001051/9.045, allocations: 1.301 MB / 4.313 GB, free: 200.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005064/9.046, allocations: 0.5587 MB / 4.314 GB, free: 200.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/9.046, allocations: 35.19 kB / 4.314 GB, free: 200.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.000109/9.046, allocations: 381.6 kB / 4.314 GB, free: 200.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001421/9.048, allocations: 0.718 MB / 4.315 GB, free: 200.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00169/9.049, allocations: 1.303 MB / 4.316 GB, free: 199.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00156/9.051, allocations: 0.8805 MB / 4.317 GB, free: 199.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/9.051, allocations: 0 / 4.317 GB, free: 199.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=240) (initialization): time 0.005235/9.056, allocations: 2.433 MB / 4.319 GB, free: 199.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008277/9.057, allocations: 4.371 MB / 4.324 GB, free: 194.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.022e-05/9.057, allocations: 12.41 kB / 4.324 GB, free: 194.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174/10.23, allocations: 206.6 MB / 4.526 GB, free: 42.52 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002336/10.23, allocations: 454.8 kB / 4.526 GB, free: 42.12 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003104/10.24, allocations: 2.822 MB / 4.529 GB, free: 39.34 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003653/10.24, allocations: 207.5 kB / 4.529 GB, free: 39.16 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004366/10.24, allocations: 96.55 kB / 4.529 GB, free: 39.09 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/10.24, allocations: 4 kB / 4.529 GB, free: 39.08 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004495/10.25, allocations: 2.115 MB / 4.531 GB, free: 37.68 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.276e-05/10.25, allocations: 12 kB / 4.531 GB, free: 37.66 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.015/12.26, allocations: 206.6 MB / 4.733 GB, free: 242.9 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002272/12.26, allocations: 430.7 kB / 4.733 GB, free: 242.9 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003089/12.27, allocations: 2.84 MB / 4.736 GB, free: 240.6 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00346/12.27, allocations: 185.4 kB / 4.736 GB, free: 240.6 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006309/12.27, allocations: 92.77 kB / 4.736 GB, free: 240.6 MB / 1.198 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 () * Number of clocked 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.002808/12.27, allocations: 0.6955 MB / 4.737 GB, free: 240.4 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001589/12.27, allocations: 286.7 kB / 4.737 GB, free: 240.4 MB / 1.198 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.006003/12.28, allocations: 1.397 MB / 4.739 GB, free: 240.4 MB / 1.198 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.