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.188/2.188, allocations: 387.4 MB / 394.9 MB, free: 13.43 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.001199/0.001199, allocations: 172.9 kB / 487.4 MB, free: 5.07 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.438/1.438, allocations: 221.5 MB / 0.7824 GB, free: 1.027 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009602/0.0009602, allocations: 95.94 kB / 0.9219 GB, free: 2.273 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.123e-05/2.126e-05, allocations: 11.98 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.2915, allocations: 142.3 MB / 1.206 GB, free: 43.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.504/5.795, allocations: 2.238 GB / 3.444 GB, free: 83.38 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003783/5.796, allocations: 99.94 kB / 3.444 GB, free: 83.28 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.377/9.172, allocations: 0.8036 GB / 4.248 GB, free: 157.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.352e-06/9.172, allocations: 0 / 4.248 GB, free: 157.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0005302/9.173, allocations: 89.03 kB / 4.248 GB, free: 157.7 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.01051/9.184, allocations: 3.178 MB / 4.251 GB, free: 154.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.525e-05/9.184, allocations: 8.562 kB / 4.251 GB, free: 154.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005264/9.189, allocations: 0.6837 MB / 4.252 GB, free: 153.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01012/9.199, allocations: 3.247 MB / 4.255 GB, free: 150.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001484/9.199, allocations: 76 kB / 4.255 GB, free: 150.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008533/9.2, allocations: 139.8 kB / 4.255 GB, free: 150.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004143/9.204, allocations: 2.121 MB / 4.257 GB, free: 148.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003243/9.208, allocations: 2.062 MB / 4.259 GB, free: 146 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.143e-05/9.208, allocations: 7.938 kB / 4.259 GB, free: 146 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001815/9.208, allocations: 4 kB / 4.259 GB, free: 146 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.166e-05/9.208, allocations: 84.25 kB / 4.259 GB, free: 145.9 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.01362/9.222, allocations: 9.336 MB / 4.268 GB, free: 136.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002182/9.224, allocations: 1.697 MB / 4.27 GB, free: 134.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009122/9.225, allocations: 0.7481 MB / 4.271 GB, free: 133.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008042/9.233, allocations: 6.044 MB / 4.277 GB, free: 127.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001166/9.234, allocations: 0.8979 MB / 4.277 GB, free: 126.4 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001043/9.235, allocations: 106.8 kB / 4.278 GB, free: 126.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=167): time 4.077e-06/9.235, allocations: 0 / 4.278 GB, free: 126.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=167): time 0.03598/9.271, allocations: 7.032 MB / 4.284 GB, free: 119.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.941e-05/9.271, allocations: 275 kB / 4.285 GB, free: 118.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00313/9.274, allocations: 1.93 MB / 4.287 GB, free: 117 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0003504/9.275, allocations: 25.7 kB / 4.287 GB, free: 116.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001051/9.276, allocations: 1.321 MB / 4.288 GB, free: 115.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004582/9.276, allocations: 0.5427 MB / 4.288 GB, free: 115 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.418e-05/9.276, allocations: 0 / 4.288 GB, free: 115 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001169/9.276, allocations: 377.9 kB / 4.289 GB, free: 114.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008719/9.277, allocations: 0.5936 MB / 4.289 GB, free: 114.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001091/9.278, allocations: 1.168 MB / 4.29 GB, free: 112.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06362/9.342, allocations: 11.36 MB / 4.302 GB, free: 101.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.051e-05/9.342, allocations: 4 kB / 4.302 GB, free: 101.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=240) (initialization): time 0.06999/9.412, allocations: 12.66 MB / 4.314 GB, free: 88.64 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001201/9.413, allocations: 4.309 MB / 4.318 GB, free: 83.95 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.599e-05/9.413, allocations: 12 kB / 4.318 GB, free: 83.94 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001061/9.414, allocations: 254 kB / 4.318 GB, free: 83.69 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002082/9.417, allocations: 447.3 kB / 4.319 GB, free: 83.25 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06265/9.479, allocations: 13.01 MB / 4.332 GB, free: 70.05 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003379/9.483, allocations: 159.6 kB / 4.332 GB, free: 69.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005294/9.483, allocations: 95.95 kB / 4.332 GB, free: 69.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/9.483, allocations: 4 kB / 4.332 GB, free: 69.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0655/9.549, allocations: 12.33 MB / 4.344 GB, free: 57.45 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.158e-05/9.549, allocations: 11.98 kB / 4.344 GB, free: 57.44 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008612/9.55, allocations: 254.3 kB / 4.344 GB, free: 57.19 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001631/9.551, allocations: 435.3 kB / 4.344 GB, free: 56.76 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06184/9.613, allocations: 13.01 MB / 4.357 GB, free: 43.57 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003074/9.616, allocations: 147.7 kB / 4.357 GB, free: 43.43 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004058/9.617, allocations: 95.95 kB / 4.357 GB, free: 43.34 MB / 1.151 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.0005557/9.617, allocations: 153.2 kB / 4.358 GB, free: 43.18 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006076/9.618, allocations: 260.8 kB / 4.358 GB, free: 42.92 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 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.0345/9.652, allocations: 6.571 MB / 4.364 GB, free: 36.34 MB / 1.151 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.