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.11/2.11, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001043/0.001043, allocations: 181.2 kB / 498.1 MB, free: 5.73 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.397/1.397, allocations: 223.2 MB / 0.7948 GB, free: 17.94 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.0008318/0.0008318, allocations: 100.3 kB / 0.9346 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003714/0.0003715, allocations: 11.55 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.2499, allocations: 142.4 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.105/4.355, allocations: 2.227 GB / 3.45 GB, free: 202.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/4.355, allocations: 109.9 kB / 3.45 GB, free: 202.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.484/6.839, allocations: 0.7613 GB / 4.211 GB, free: 222.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.124e-06/6.839, allocations: 3.219 kB / 4.211 GB, free: 222.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0004315/6.84, allocations: 81.42 kB / 4.211 GB, free: 222.8 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: 550 * Number of variables: 550 Notification: Performance of Generate backend data structure: time 0.009797/6.849, allocations: 3.578 MB / 4.215 GB, free: 221.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/6.849, allocations: 13 kB / 4.215 GB, free: 221.3 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009961/6.85, allocations: 306.9 kB / 4.215 GB, free: 221.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0038/6.854, allocations: 0.6488 MB / 4.216 GB, free: 221.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00814/6.862, allocations: 3.045 MB / 4.219 GB, free: 220.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001881/6.863, allocations: 178.8 kB / 4.219 GB, free: 220.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007959/6.863, allocations: 222.6 kB / 4.219 GB, free: 220.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005857/6.869, allocations: 2.484 MB / 4.221 GB, free: 220 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.638e-05/6.869, allocations: 8.719 kB / 4.221 GB, free: 220 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004718/6.87, allocations: 88.66 kB / 4.221 GB, free: 220 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001046/6.87, allocations: 84.31 kB / 4.222 GB, free: 220 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004823/6.875, allocations: 2.35 MB / 4.224 GB, free: 220 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.01531/6.89, allocations: 10.18 MB / 4.234 GB, free: 215.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002937/6.893, allocations: 1.725 MB / 4.235 GB, free: 215.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007358/6.901, allocations: 5.224 MB / 4.241 GB, free: 213 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001702/6.902, allocations: 0.954 MB / 4.242 GB, free: 212.9 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001055/6.903, allocations: 166.9 kB / 4.242 GB, free: 212.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=154): time 6.573e-06/6.903, allocations: 0 / 4.242 GB, free: 212.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=154): time 0.005916/6.909, allocations: 2.468 MB / 4.244 GB, free: 212.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.654e-05/6.909, allocations: 309.6 kB / 4.244 GB, free: 212.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003629/6.913, allocations: 2.007 MB / 4.246 GB, free: 211.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003125/6.913, allocations: 63.73 kB / 4.246 GB, free: 211.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001172/6.915, allocations: 1.274 MB / 4.248 GB, free: 211.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005088/6.915, allocations: 0.5164 MB / 4.248 GB, free: 211.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001416/6.915, allocations: 35.69 kB / 4.248 GB, free: 211.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001391/6.915, allocations: 380.8 kB / 4.249 GB, free: 210.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001488/6.917, allocations: 0.6752 MB / 4.249 GB, free: 210.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001763/6.919, allocations: 1.304 MB / 4.25 GB, free: 210.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001659/6.92, allocations: 0.8416 MB / 4.251 GB, free: 210.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.355e-05/6.92, allocations: 3.812 kB / 4.251 GB, free: 210.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.004799/6.925, allocations: 2.256 MB / 4.254 GB, free: 210 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001099/6.926, allocations: 5.364 MB / 4.259 GB, free: 204.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.036e-05/6.926, allocations: 11.44 kB / 4.259 GB, free: 204.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006751/6.927, allocations: 103.2 kB / 4.259 GB, free: 204.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001917/6.929, allocations: 469.2 kB / 4.259 GB, free: 204.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001945/6.931, allocations: 2.143 MB / 4.261 GB, free: 202.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00251/6.933, allocations: 186.2 kB / 4.262 GB, free: 202.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00025/6.934, allocations: 105.2 kB / 4.262 GB, free: 202.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 8.817e-06/6.934, allocations: 3.469 kB / 4.262 GB, free: 202.5 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004054/6.938, allocations: 1.964 MB / 4.264 GB, free: 202.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.559e-05/6.938, allocations: 14 kB / 4.264 GB, free: 202.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006178/6.938, allocations: 104.7 kB / 4.264 GB, free: 202.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001818/6.94, allocations: 462.4 kB / 4.264 GB, free: 202.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001868/6.942, allocations: 2.155 MB / 4.266 GB, free: 200.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002559/6.945, allocations: 192.3 kB / 4.266 GB, free: 200.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002502/6.945, allocations: 100.2 kB / 4.267 GB, free: 200.5 MB / 1.167 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 () * Number of clocked 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.001561/6.947, allocations: 0.6594 MB / 4.267 GB, free: 200.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006606/6.947, allocations: 268.1 kB / 4.267 GB, free: 200.2 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 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.003216/6.95, allocations: 1.364 MB / 4.269 GB, free: 200.1 MB / 1.167 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.