Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc.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.YorkCalc,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_CoolingTowers_Examples_YorkCalc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_CoolingTowers_Examples_YorkCalc",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.447/2.447, allocations: 387.1 MB / 399.7 MB, free: 9.508 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.00125/0.00125, allocations: 172.9 kB / 492.3 MB, free: 0.6367 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.583/1.583, allocations: 221.3 MB / 0.7871 GB, free: 13 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.0009377/0.0009377, allocations: 99.25 kB / 0.9267 GB, free: 14.05 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.394e-05/4.417e-05, allocations: 7.984 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3255, allocations: 142.3 MB / 1.212 GB, free: 38.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.277/6.602, allocations: 2.227 GB / 3.439 GB, free: 49.57 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003362/6.603, allocations: 105.1 kB / 3.439 GB, free: 49.52 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.459/10.06, allocations: 0.759 GB / 4.198 GB, free: 169.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 4.218e-06/10.06, allocations: 7.984 kB / 4.198 GB, free: 169 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0007612/10.06, allocations: 82.78 kB / 4.198 GB, free: 169 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: 550 * Number of variables: 550 Notification: Performance of Generate backend data structure: time 0.01151/10.07, allocations: 2.961 MB / 4.201 GB, free: 166 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.242e-05/10.07, allocations: 12.03 kB / 4.201 GB, free: 166 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001374/10.08, allocations: 304 kB / 4.202 GB, free: 165.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004571/10.08, allocations: 0.6471 MB / 4.202 GB, free: 165 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009722/10.09, allocations: 3.023 MB / 4.205 GB, free: 162 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002601/10.09, allocations: 172.3 kB / 4.205 GB, free: 161.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009584/10.09, allocations: 226.7 kB / 4.206 GB, free: 161.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006687/10.1, allocations: 2.37 MB / 4.208 GB, free: 159.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.312e-05/10.1, allocations: 3.938 kB / 4.208 GB, free: 159.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005658/10.1, allocations: 99.98 kB / 4.208 GB, free: 159 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.357e-05/10.1, allocations: 80.02 kB / 4.208 GB, free: 158.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004506/10.1, allocations: 2.157 MB / 4.21 GB, free: 156.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.0194/10.12, allocations: 10.18 MB / 4.22 GB, free: 146.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002717/10.13, allocations: 1.558 MB / 4.222 GB, free: 144.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001218/10.13, allocations: 0.718 MB / 4.222 GB, free: 144.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00921/10.14, allocations: 5.246 MB / 4.227 GB, free: 138.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00151/10.14, allocations: 0.8791 MB / 4.228 GB, free: 137.5 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001451/10.14, allocations: 174.2 kB / 4.228 GB, free: 137.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=154): time 9.217e-06/10.14, allocations: 0 / 4.228 GB, free: 137.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=154): time 0.004012/10.14, allocations: 1.557 MB / 4.23 GB, free: 135.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.578e-05/10.14, allocations: 304 kB / 4.23 GB, free: 135.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004399/10.15, allocations: 1.989 MB / 4.232 GB, free: 133.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0005365/10.15, allocations: 61.7 kB / 4.232 GB, free: 133.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001369/10.15, allocations: 1.275 MB / 4.234 GB, free: 132.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007593/10.15, allocations: 0.5121 MB / 4.234 GB, free: 131.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002598/10.15, allocations: 39.72 kB / 4.234 GB, free: 131.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001672/10.15, allocations: 381.9 kB / 4.234 GB, free: 131.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001215/10.15, allocations: 0.5819 MB / 4.235 GB, free: 130.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001565/10.15, allocations: 1.221 MB / 4.236 GB, free: 129.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001402/10.15, allocations: 0.758 MB / 4.237 GB, free: 128.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.23e-05/10.15, allocations: 4 kB / 4.237 GB, free: 128.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.004581/10.16, allocations: 2.081 MB / 4.239 GB, free: 126.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001075/10.16, allocations: 5.359 MB / 4.244 GB, free: 120.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.013e-05/10.16, allocations: 12 kB / 4.244 GB, free: 120.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006425/10.16, allocations: 100.8 kB / 4.244 GB, free: 120.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002092/10.16, allocations: 475.2 kB / 4.245 GB, free: 119.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00202/10.17, allocations: 2.127 MB / 4.247 GB, free: 117.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003244/10.17, allocations: 195.7 kB / 4.247 GB, free: 117.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005557/10.17, allocations: 99.95 kB / 4.247 GB, free: 117.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/10.17, allocations: 4 kB / 4.247 GB, free: 117.3 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004371/10.17, allocations: 1.812 MB / 4.249 GB, free: 115.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.444e-05/10.17, allocations: 12 kB / 4.249 GB, free: 115.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005563/10.17, allocations: 105.5 kB / 4.249 GB, free: 115.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001954/10.18, allocations: 459.3 kB / 4.249 GB, free: 114.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001899/10.18, allocations: 2.129 MB / 4.252 GB, free: 112.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003039/10.18, allocations: 187.9 kB / 4.252 GB, free: 112.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005292/10.18, allocations: 99.95 kB / 4.252 GB, free: 112.3 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.onOffCon.y,onOffCon.y,conFan.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (227): * Single equations (assignments): 223 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0008849/10.18, allocations: 222.1 kB / 4.252 GB, free: 112.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009685/10.18, allocations: 268.7 kB / 4.252 GB, free: 111.8 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 189 equation(s) and 188 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003537/10.19, allocations: 1.27 MB / 4.253 GB, free: 110.6 MB / 1.151 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.