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.126/2.126, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001215/0.001215, allocations: 183.6 kB / 498.1 MB, free: 5.676 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.379/1.379, allocations: 223.2 MB / 0.7948 GB, free: 17.82 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.000844/0.0008442, allocations: 104.2 kB / 0.9346 GB, free: 6.094 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003775/0.0003775, allocations: 9.25 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.2457, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.182/4.428, allocations: 2.239 GB / 3.462 GB, free: 189.4 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002772/4.428, allocations: 108.1 kB / 3.462 GB, free: 189.3 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.611/7.039, allocations: 0.8129 GB / 4.275 GB, free: 214.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.136e-06/7.039, allocations: 0 / 4.275 GB, free: 214.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0004869/7.04, allocations: 85.39 kB / 4.275 GB, free: 214.4 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.01155/7.051, allocations: 3.875 MB / 4.279 GB, free: 212.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/7.052, allocations: 10.78 kB / 4.279 GB, free: 212.5 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001137/7.053, allocations: 314.3 kB / 4.279 GB, free: 212.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004147/7.057, allocations: 0.6798 MB / 4.28 GB, free: 212.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009135/7.066, allocations: 3.287 MB / 4.283 GB, free: 211.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001936/7.066, allocations: 174.7 kB / 4.283 GB, free: 211.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008245/7.067, allocations: 233.7 kB / 4.283 GB, free: 211.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006578/7.074, allocations: 2.493 MB / 4.286 GB, free: 211.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001024/7.074, allocations: 12.47 kB / 4.286 GB, free: 211.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005577/7.074, allocations: 97.67 kB / 4.286 GB, free: 211.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.824e-05/7.075, allocations: 77.61 kB / 4.286 GB, free: 211.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005674/7.08, allocations: 2.451 MB / 4.288 GB, free: 211.2 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.0169/7.097, allocations: 9.757 MB / 4.298 GB, free: 207.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003662/7.101, allocations: 1.954 MB / 4.3 GB, free: 207.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008825/7.11, allocations: 6.13 MB / 4.306 GB, free: 203.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001736/7.111, allocations: 1.047 MB / 4.307 GB, free: 203.2 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001187/7.113, allocations: 172.6 kB / 4.307 GB, free: 203.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=167): time 4.819e-06/7.113, allocations: 0 / 4.307 GB, free: 203.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=167): time 0.009242/7.122, allocations: 3.181 MB / 4.31 GB, free: 202 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.027e-05/7.122, allocations: 276.1 kB / 4.31 GB, free: 201.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003505/7.126, allocations: 2.267 MB / 4.312 GB, free: 200.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0004502/7.126, allocations: 65.23 kB / 4.312 GB, free: 200.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001019/7.127, allocations: 1.305 MB / 4.314 GB, free: 199.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005809/7.128, allocations: 0.5588 MB / 4.314 GB, free: 199.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/7.128, allocations: 38.94 kB / 4.314 GB, free: 199.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001006/7.128, allocations: 381 kB / 4.315 GB, free: 198.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001461/7.129, allocations: 0.72 MB / 4.315 GB, free: 198.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001724/7.131, allocations: 1.305 MB / 4.317 GB, free: 197.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001623/7.133, allocations: 0.8683 MB / 4.317 GB, free: 197.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/7.133, allocations: 6.25 kB / 4.317 GB, free: 197.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=240) (initialization): time 0.005241/7.138, allocations: 2.44 MB / 4.32 GB, free: 196.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007057/7.139, allocations: 4.374 MB / 4.324 GB, free: 192 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.82e-05/7.139, allocations: 11.84 kB / 4.324 GB, free: 192 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185/8.324, allocations: 206.6 MB / 4.526 GB, free: 9.762 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002152/8.326, allocations: 456.6 kB / 4.526 GB, free: 9.344 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002966/8.329, allocations: 2.829 MB / 4.529 GB, free: 6.348 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003024/8.332, allocations: 199.7 kB / 4.529 GB, free: 6.152 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004361/8.333, allocations: 95.95 kB / 4.529 GB, free: 6.059 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/8.333, allocations: 8 kB / 4.529 GB, free: 6.051 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004918/8.338, allocations: 2.117 MB / 4.532 GB, free: 3.992 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.85e-05/8.338, allocations: 12 kB / 4.532 GB, free: 3.98 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75/10.09, allocations: 206.6 MB / 4.733 GB, free: 204.4 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002096/10.09, allocations: 438 kB / 4.734 GB, free: 204.1 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002872/10.09, allocations: 2.833 MB / 4.737 GB, free: 201.4 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002916/10.1, allocations: 183.6 kB / 4.737 GB, free: 201.3 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004509/10.1, allocations: 94.28 kB / 4.737 GB, free: 201.3 MB / 1.182 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.002112/10.1, allocations: 0.6913 MB / 4.737 GB, free: 200.9 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009227/10.1, allocations: 283.2 kB / 4.738 GB, free: 200.7 MB / 1.182 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.003706/10.1, allocations: 1.403 MB / 4.739 GB, free: 200.1 MB / 1.182 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.