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: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tow.TAir|tow.vol.heatPort.Q_flow|tow.m_flow|onOffCon.u|onOffCon.reference",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tow.TAir|tow.vol.heatPort.Q_flow|tow.m_flow|onOffCon.u|onOffCon.reference",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.456/2.456, allocations: 390.3 MB / 405.3 MB, free: 13.47 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.001146/0.001146, allocations: 185 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.607/1.607, allocations: 223.2 MB / 0.7948 GB, free: 17.88 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.0009935/0.0009933, allocations: 92.33 kB / 0.9346 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004738/0.0004738, allocations: 6.938 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2925, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.586/5.878, allocations: 2.214 GB / 3.437 GB, free: 269.8 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003242/5.879, allocations: 107.4 kB / 3.437 GB, free: 269.7 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.233/9.112, allocations: 0.7807 GB / 4.218 GB, free: 223.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.346e-06/9.112, allocations: 0 / 4.218 GB, free: 223.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0005493/9.112, allocations: 77.58 kB / 4.218 GB, free: 223 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.01368/9.126, allocations: 3.247 MB / 4.221 GB, free: 221.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/9.126, allocations: 11.97 kB / 4.221 GB, free: 221.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004013/9.13, allocations: 0.5531 MB / 4.221 GB, free: 221.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009132/9.139, allocations: 2.874 MB / 4.224 GB, free: 221.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001519/9.139, allocations: 150.6 kB / 4.224 GB, free: 221.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005003/9.14, allocations: 198.7 kB / 4.225 GB, free: 221.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004188/9.144, allocations: 2.142 MB / 4.227 GB, free: 220.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.567e-05/9.144, allocations: 2.844 kB / 4.227 GB, free: 220.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001917/9.144, allocations: 83.62 kB / 4.227 GB, free: 220.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.076e-05/9.145, allocations: 85.25 kB / 4.227 GB, free: 220.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003403/9.148, allocations: 2.038 MB / 4.229 GB, free: 220.8 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.01318/9.161, allocations: 8.468 MB / 4.237 GB, free: 217.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002372/9.164, allocations: 1.43 MB / 4.239 GB, free: 217.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006877/9.17, allocations: 3.561 MB / 4.242 GB, free: 216.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001404/9.172, allocations: 0.8103 MB / 4.243 GB, free: 216.2 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001208/9.173, allocations: 148.6 kB / 4.243 GB, free: 216.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=135): time 4.488e-06/9.173, allocations: 0 / 4.243 GB, free: 216.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=135): time 0.004887/9.178, allocations: 2.064 MB / 4.245 GB, free: 215.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.517e-05/9.178, allocations: 255.1 kB / 4.245 GB, free: 215.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00277/9.181, allocations: 1.791 MB / 4.247 GB, free: 215.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001982/9.181, allocations: 58 kB / 4.247 GB, free: 215.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001013/9.182, allocations: 1.124 MB / 4.248 GB, free: 214.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004111/9.183, allocations: 464.8 kB / 4.249 GB, free: 214.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.228e-05/9.183, allocations: 33.31 kB / 4.249 GB, free: 214.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001137/9.183, allocations: 365.7 kB / 4.249 GB, free: 214.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001011/9.184, allocations: 0.5167 MB / 4.249 GB, free: 214.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001266/9.185, allocations: 0.9711 MB / 4.25 GB, free: 213.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001216/9.186, allocations: 0.6474 MB / 4.251 GB, free: 213.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.858e-06/9.186, allocations: 6.219 kB / 4.251 GB, free: 213.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=193) (initialization): time 0.003943/9.19, allocations: 1.793 MB / 4.253 GB, free: 213.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009953/9.191, allocations: 4.083 MB / 4.257 GB, free: 209.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.785e-05/9.191, allocations: 15.56 kB / 4.257 GB, free: 209.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006344/9.192, allocations: 101.7 kB / 4.257 GB, free: 209.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001405/9.193, allocations: 378.2 kB / 4.257 GB, free: 209.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001777/9.195, allocations: 1.552 MB / 4.259 GB, free: 207.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002424/9.198, allocations: 157.1 kB / 4.259 GB, free: 207.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001588/9.198, allocations: 79.05 kB / 4.259 GB, free: 207.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/9.198, allocations: 1.938 kB / 4.259 GB, free: 207.9 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003045/9.201, allocations: 1.541 MB / 4.26 GB, free: 207.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/9.201, allocations: 11.88 kB / 4.26 GB, free: 207.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005545/9.201, allocations: 101.5 kB / 4.261 GB, free: 207.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001313/9.203, allocations: 367.5 kB / 4.261 GB, free: 207.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001656/9.204, allocations: 1.557 MB / 4.262 GB, free: 206.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002352/9.207, allocations: 152.1 kB / 4.263 GB, free: 206.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001781/9.207, allocations: 78.58 kB / 4.263 GB, free: 206.6 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.00166/9.209, allocations: 0.6216 MB / 4.263 GB, free: 206.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006953/9.209, allocations: 235.3 kB / 4.264 GB, free: 206.3 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.002543/9.212, allocations: 1.118 MB / 4.265 GB, free: 206.2 MB / 1.167 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.