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.3/2.3, allocations: 387.4 MB / 394.9 MB, free: 13.31 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.001152/0.001152, allocations: 176.8 kB / 487.4 MB, free: 4.988 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.465/1.465, allocations: 221.5 MB / 0.7824 GB, free: 1.004 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.0009471/0.000947, allocations: 91.84 kB / 0.9219 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.961e-05/1.946e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3257, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.945/6.271, allocations: 2.238 GB / 3.444 GB, free: 59.94 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002456/6.271, allocations: 109.1 kB / 3.444 GB, free: 59.89 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.015/9.287, allocations: 0.8036 GB / 4.248 GB, free: 138.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.462e-06/9.287, allocations: 0 / 4.248 GB, free: 138.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002768/9.287, allocations: 83.61 kB / 4.248 GB, free: 138.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.006301/9.293, allocations: 3.182 MB / 4.251 GB, free: 135.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/9.293, allocations: 8.562 kB / 4.251 GB, free: 135.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003698/9.297, allocations: 0.6797 MB / 4.252 GB, free: 134.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00993/9.307, allocations: 3.24 MB / 4.255 GB, free: 131.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001241/9.307, allocations: 75.78 kB / 4.255 GB, free: 131.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007573/9.308, allocations: 136 kB / 4.255 GB, free: 131.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004482/9.312, allocations: 2.129 MB / 4.257 GB, free: 129 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003541/9.316, allocations: 2.063 MB / 4.259 GB, free: 126.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.922e-05/9.316, allocations: 3.938 kB / 4.259 GB, free: 126.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002253/9.316, allocations: 7.938 kB / 4.259 GB, free: 126.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.349e-05/9.316, allocations: 88.25 kB / 4.259 GB, free: 126.7 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.01491/9.331, allocations: 9.337 MB / 4.268 GB, free: 117.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002166/9.334, allocations: 1.696 MB / 4.27 GB, free: 115.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009554/9.335, allocations: 0.7519 MB / 4.271 GB, free: 114.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008496/9.343, allocations: 6.044 MB / 4.277 GB, free: 108.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001189/9.344, allocations: 0.8997 MB / 4.278 GB, free: 107.1 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001134/9.345, allocations: 114.2 kB / 4.278 GB, free: 107 MB / 1.151 GB Notification: Performance of pre-optimization done (n=167): time 4.699e-06/9.345, allocations: 0 / 4.278 GB, free: 107 MB / 1.151 GB Notification: Performance of matching and sorting (n=167): time 0.03736/9.383, allocations: 7.032 MB / 4.285 GB, free: 99.98 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.139e-05/9.383, allocations: 275 kB / 4.285 GB, free: 99.65 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002955/9.386, allocations: 1.922 MB / 4.287 GB, free: 97.72 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0003234/9.386, allocations: 33.69 kB / 4.287 GB, free: 97.68 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009873/9.387, allocations: 1.32 MB / 4.288 GB, free: 96.35 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000455/9.388, allocations: 0.5466 MB / 4.289 GB, free: 95.79 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.534e-05/9.388, allocations: 0 / 4.289 GB, free: 95.79 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.000117/9.388, allocations: 373.9 kB / 4.289 GB, free: 95.42 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009024/9.389, allocations: 0.5975 MB / 4.289 GB, free: 94.82 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00116/9.39, allocations: 1.161 MB / 4.291 GB, free: 93.46 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06293/9.453, allocations: 11.36 MB / 4.302 GB, free: 82.09 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.374e-05/9.453, allocations: 4 kB / 4.302 GB, free: 82.09 MB / 1.151 GB Notification: Performance of matching and sorting (n=240) (initialization): time 0.06824/9.521, allocations: 12.66 MB / 4.314 GB, free: 69.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007503/9.522, allocations: 4.314 MB / 4.318 GB, free: 64.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.787e-05/9.522, allocations: 8 kB / 4.318 GB, free: 64.69 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009668/9.523, allocations: 250.4 kB / 4.319 GB, free: 64.44 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001761/9.525, allocations: 451.3 kB / 4.319 GB, free: 64 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06442/9.589, allocations: 13.01 MB / 4.332 GB, free: 50.81 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003025/9.592, allocations: 159.8 kB / 4.332 GB, free: 50.66 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003122/9.593, allocations: 100 kB / 4.332 GB, free: 50.56 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/9.593, allocations: 4 kB / 4.332 GB, free: 50.55 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06657/9.659, allocations: 12.33 MB / 4.344 GB, free: 38.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.772e-05/9.659, allocations: 12 kB / 4.344 GB, free: 38.19 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008738/9.66, allocations: 253.8 kB / 4.344 GB, free: 37.94 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001582/9.662, allocations: 439.3 kB / 4.345 GB, free: 37.51 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0619/9.724, allocations: 13.01 MB / 4.357 GB, free: 24.31 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003058/9.727, allocations: 143.7 kB / 4.357 GB, free: 24.17 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002934/9.727, allocations: 95.95 kB / 4.358 GB, free: 24.08 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.000544/9.728, allocations: 156.5 kB / 4.358 GB, free: 23.92 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03563/9.763, allocations: 7 MB / 4.365 GB, free: 16.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005339/9.764, allocations: 260.7 kB / 4.365 GB, free: 16.64 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.03417/9.798, allocations: 6.571 MB / 4.371 GB, free: 10.06 MB / 1.151 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.