Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.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.FixedApproachDryBulb,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_CoolingTowers_Examples_FixedApproachDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_CoolingTowers_Examples_FixedApproachDryBulb",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.103/2.103, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001279/0.001279, allocations: 165.2 kB / 498.1 MB, free: 5.738 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.369/1.369, allocations: 223.2 MB / 0.7948 GB, free: 17.92 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.0008356/0.0008355, allocations: 94.45 kB / 0.9346 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003831/0.000383, allocations: 12.84 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.2555, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.038/4.294, allocations: 2.214 GB / 3.437 GB, free: 269.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002798/4.294, allocations: 109.8 kB / 3.437 GB, free: 269.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.616/6.91, allocations: 0.7807 GB / 4.218 GB, free: 225.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.093e-06/6.91, allocations: 2.156 kB / 4.218 GB, free: 225.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0004247/6.91, allocations: 75.8 kB / 4.218 GB, free: 225.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: 497 * Number of variables: 497 Notification: Performance of Generate backend data structure: time 0.008944/6.919, allocations: 3.267 MB / 4.221 GB, free: 224.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/6.92, allocations: 7.969 kB / 4.221 GB, free: 224.6 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007746/6.92, allocations: 276 kB / 4.221 GB, free: 224.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002907/6.923, allocations: 0.5503 MB / 4.222 GB, free: 224.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006531/6.93, allocations: 2.874 MB / 4.225 GB, free: 223.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000107/6.93, allocations: 150.6 kB / 4.225 GB, free: 223.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002615/6.93, allocations: 203.4 kB / 4.225 GB, free: 223.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003318/6.933, allocations: 2.14 MB / 4.227 GB, free: 223.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.162e-05/6.934, allocations: 1.781 kB / 4.227 GB, free: 223.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001766/6.934, allocations: 85.55 kB / 4.227 GB, free: 223.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.086e-05/6.934, allocations: 75.27 kB / 4.227 GB, free: 223.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003181/6.937, allocations: 2.043 MB / 4.229 GB, free: 223.6 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.01102/6.948, allocations: 8.474 MB / 4.237 GB, free: 220.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002188/6.95, allocations: 1.431 MB / 4.239 GB, free: 220.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005362/6.956, allocations: 3.565 MB / 4.242 GB, free: 219 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001301/6.957, allocations: 0.7964 MB / 4.243 GB, free: 218.9 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009237/6.958, allocations: 154.3 kB / 4.243 GB, free: 218.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=135): time 3.386e-06/6.958, allocations: 0 / 4.243 GB, free: 218.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=135): time 0.004664/6.963, allocations: 2.063 MB / 4.245 GB, free: 218.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.645e-05/6.963, allocations: 250.4 kB / 4.246 GB, free: 218.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002476/6.965, allocations: 1.796 MB / 4.247 GB, free: 218 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001589/6.965, allocations: 62.39 kB / 4.247 GB, free: 218 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.00082/6.966, allocations: 1.13 MB / 4.248 GB, free: 217.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003206/6.966, allocations: 466.5 kB / 4.249 GB, free: 217.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.404e-05/6.967, allocations: 28.97 kB / 4.249 GB, free: 217.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.996e-05/6.967, allocations: 363.2 kB / 4.249 GB, free: 217 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009547/6.968, allocations: 0.5134 MB / 4.25 GB, free: 217 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001159/6.969, allocations: 0.9661 MB / 4.251 GB, free: 216.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/6.97, allocations: 0.6559 MB / 4.251 GB, free: 216.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/6.97, allocations: 3.75 kB / 4.251 GB, free: 216.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=193) (initialization): time 0.00354/6.973, allocations: 1.797 MB / 4.253 GB, free: 216.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007197/6.974, allocations: 4.073 MB / 4.257 GB, free: 212 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.7e-05/6.974, allocations: 11.19 kB / 4.257 GB, free: 212 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000645/6.975, allocations: 97.47 kB / 4.257 GB, free: 212 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00144/6.976, allocations: 382.7 kB / 4.258 GB, free: 212 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001748/6.978, allocations: 1.554 MB / 4.259 GB, free: 210.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002016/6.98, allocations: 161.4 kB / 4.259 GB, free: 210.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001335/6.98, allocations: 76.38 kB / 4.259 GB, free: 210.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 8.206e-06/6.98, allocations: 4.531 kB / 4.259 GB, free: 210.7 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00284/6.983, allocations: 1.551 MB / 4.261 GB, free: 210.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/6.983, allocations: 7.094 kB / 4.261 GB, free: 210.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005574/6.984, allocations: 92.91 kB / 4.261 GB, free: 210.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001354/6.985, allocations: 376.9 kB / 4.261 GB, free: 210.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001571/6.987, allocations: 1.55 MB / 4.263 GB, free: 209.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001932/6.989, allocations: 154.2 kB / 4.263 GB, free: 209.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001375/6.989, allocations: 83.38 kB / 4.263 GB, free: 209.3 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 8 ($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 (190): * Single equations (assignments): 188 * 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: 1 * Mixed (continuous/discrete) equation systems: 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.001283/6.99, allocations: 0.609 MB / 4.264 GB, free: 209.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003648/6.99, allocations: 235.1 kB / 4.264 GB, free: 209 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 164 equation(s) and 163 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002124/6.993, allocations: 1.117 MB / 4.265 GB, free: 208.9 MB / 1.167 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.