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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_CoolingTowers_Examples_Merkel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_CoolingTowers_Examples_Merkel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.49/2.49, allocations: 387.1 MB / 399.7 MB, free: 9.465 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.001101/0.001101, allocations: 172.9 kB / 492.3 MB, free: 0.6289 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.555/1.555, allocations: 221.3 MB / 0.7871 GB, free: 12.95 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.0009899/0.0009901, allocations: 98 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.818e-05/3.82e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3174, allocations: 142.4 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.526/6.844, allocations: 2.239 GB / 3.451 GB, free: 37.59 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002912/6.844, allocations: 101 kB / 3.451 GB, free: 37.54 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.482/10.33, allocations: 0.8106 GB / 4.262 GB, free: 105.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.793e-06/10.33, allocations: 4 kB / 4.262 GB, free: 105.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0005311/10.33, allocations: 87.91 kB / 4.262 GB, free: 105 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.01073/10.34, allocations: 3.179 MB / 4.265 GB, free: 101.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.057e-05/10.34, allocations: 12.03 kB / 4.265 GB, free: 101.7 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001242/10.34, allocations: 308.4 kB / 4.265 GB, free: 101.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004446/10.34, allocations: 0.6797 MB / 4.266 GB, free: 100.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01013/10.35, allocations: 3.252 MB / 4.269 GB, free: 97.42 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002133/10.35, allocations: 168.4 kB / 4.269 GB, free: 97.25 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00102/10.35, allocations: 235.9 kB / 4.27 GB, free: 97.02 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008891/10.36, allocations: 2.375 MB / 4.272 GB, free: 94.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001516/10.36, allocations: 3.938 kB / 4.272 GB, free: 94.49 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008913/10.36, allocations: 103.9 kB / 4.272 GB, free: 94.39 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001634/10.37, allocations: 88.2 kB / 4.272 GB, free: 94.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007212/10.37, allocations: 2.242 MB / 4.274 GB, free: 92.04 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.02594/10.4, allocations: 9.765 MB / 4.284 GB, free: 81.92 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004213/10.4, allocations: 1.747 MB / 4.286 GB, free: 80.17 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001899/10.4, allocations: 0.7833 MB / 4.286 GB, free: 79.38 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01326/10.42, allocations: 6.15 MB / 4.292 GB, free: 72.61 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002282/10.42, allocations: 0.9529 MB / 4.293 GB, free: 71.64 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001893/10.42, allocations: 174.3 kB / 4.293 GB, free: 71.47 MB / 1.151 GB Notification: Performance of pre-optimization done (n=167): time 1.282e-05/10.42, allocations: 0 / 4.293 GB, free: 71.47 MB / 1.151 GB Notification: Performance of matching and sorting (n=167): time 0.005955/10.43, allocations: 1.745 MB / 4.295 GB, free: 69.71 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/10.43, allocations: 283 kB / 4.295 GB, free: 69.37 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00638/10.43, allocations: 2.242 MB / 4.298 GB, free: 67.11 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.000403/10.44, allocations: 61.7 kB / 4.298 GB, free: 67.04 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001487/10.44, allocations: 1.304 MB / 4.299 GB, free: 65.73 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006181/10.44, allocations: 0.566 MB / 4.299 GB, free: 65.15 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001803/10.44, allocations: 36 kB / 4.299 GB, free: 65.12 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001567/10.44, allocations: 377.9 kB / 4.3 GB, free: 64.74 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001189/10.44, allocations: 0.621 MB / 4.3 GB, free: 64.12 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001569/10.44, allocations: 1.204 MB / 4.302 GB, free: 62.72 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001393/10.44, allocations: 0.7854 MB / 4.302 GB, free: 61.94 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.799e-06/10.44, allocations: 4 kB / 4.302 GB, free: 61.93 MB / 1.151 GB Notification: Performance of matching and sorting (n=240) (initialization): time 0.004691/10.45, allocations: 2.207 MB / 4.305 GB, free: 59.71 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008898/10.45, allocations: 4.366 MB / 4.309 GB, free: 55.01 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.561e-05/10.45, allocations: 12 kB / 4.309 GB, free: 55 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.144/12.59, allocations: 206.6 MB / 4.511 GB, free: 199.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002271/12.59, allocations: 449.7 kB / 4.511 GB, free: 199.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002734/12.6, allocations: 2.738 MB / 4.514 GB, free: 196.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00355/12.6, allocations: 197.6 kB / 4.514 GB, free: 196.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006327/12.6, allocations: 98.23 kB / 4.514 GB, free: 196.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/12.6, allocations: 9.719 kB / 4.514 GB, free: 196.9 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004129/12.6, allocations: 1.914 MB / 4.516 GB, free: 196.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.355e-05/12.6, allocations: 10.75 kB / 4.516 GB, free: 196.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221/13.83, allocations: 206.6 MB / 4.718 GB, free: 31.86 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002275/13.83, allocations: 438.3 kB / 4.718 GB, free: 31.48 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002586/13.83, allocations: 2.727 MB / 4.721 GB, free: 28.79 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003507/13.83, allocations: 190.8 kB / 4.721 GB, free: 28.65 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006268/13.83, allocations: 95.02 kB / 4.721 GB, free: 28.57 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.001233/13.84, allocations: 218.9 kB / 4.721 GB, free: 28.44 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001332/13.84, allocations: 282.4 kB / 4.721 GB, free: 28.31 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.004393/13.84, allocations: 1.315 MB / 4.723 GB, free: 27.45 MB / 1.167 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.