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.281/2.281, allocations: 387.1 MB / 399.7 MB, free: 9.492 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.001003/0.001003, allocations: 164.9 kB / 492.3 MB, free: 0.6016 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.547/1.547, allocations: 221.3 MB / 0.7872 GB, free: 12.87 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.0009471/0.0009471, allocations: 107.2 kB / 0.9267 GB, free: 13.94 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.522e-05/3.525e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3625/0.3626, allocations: 142.3 MB / 1.212 GB, free: 38.49 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.366/6.729, allocations: 2.214 GB / 3.426 GB, free: 62.23 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002508/6.729, allocations: 104.9 kB / 3.426 GB, free: 62.18 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.271/10, allocations: 0.7784 GB / 4.205 GB, free: 161.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.557e-06/10, allocations: 0 / 4.205 GB, free: 161.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0007078/10, allocations: 71.92 kB / 4.205 GB, free: 161.4 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: 497 * Number of variables: 497 Notification: Performance of Generate backend data structure: time 0.01191/10.01, allocations: 2.69 MB / 4.207 GB, free: 158.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.644e-05/10.01, allocations: 8.031 kB / 4.207 GB, free: 158.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004912/10.02, allocations: 0.5641 MB / 4.208 GB, free: 158.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01069/10.03, allocations: 2.838 MB / 4.211 GB, free: 155.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002492/10.03, allocations: 155.7 kB / 4.211 GB, free: 155.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009584/10.03, allocations: 204 kB / 4.211 GB, free: 154.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006381/10.04, allocations: 2.066 MB / 4.213 GB, free: 152.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-05/10.04, allocations: 4 kB / 4.213 GB, free: 152.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005216/10.04, allocations: 80 kB / 4.213 GB, free: 152.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.476e-05/10.04, allocations: 83.66 kB / 4.213 GB, free: 152.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004117/10.04, allocations: 1.925 MB / 4.215 GB, free: 150.6 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.01615/10.06, allocations: 8.46 MB / 4.223 GB, free: 141.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001978/10.06, allocations: 1.335 MB / 4.225 GB, free: 140.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008426/10.06, allocations: 0.6141 MB / 4.225 GB, free: 139.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006505/10.07, allocations: 3.545 MB / 4.229 GB, free: 136.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001214/10.07, allocations: 0.7737 MB / 4.23 GB, free: 135.4 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001327/10.07, allocations: 138.6 kB / 4.23 GB, free: 135.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=135): time 2.449e-05/10.07, allocations: 4 kB / 4.23 GB, free: 135.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=135): time 0.003306/10.07, allocations: 1.346 MB / 4.231 GB, free: 133.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.802e-05/10.07, allocations: 252.6 kB / 4.231 GB, free: 133.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004105/10.08, allocations: 1.769 MB / 4.233 GB, free: 131.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0002953/10.08, allocations: 61.64 kB / 4.233 GB, free: 131.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001369/10.08, allocations: 1.133 MB / 4.234 GB, free: 130.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004751/10.08, allocations: 457.3 kB / 4.235 GB, free: 130.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/10.08, allocations: 32 kB / 4.235 GB, free: 130.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001291/10.08, allocations: 365.9 kB / 4.235 GB, free: 129.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008737/10.08, allocations: 467.9 kB / 4.235 GB, free: 129.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0012/10.08, allocations: 0.9186 MB / 4.236 GB, free: 128.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/10.08, allocations: 0.6085 MB / 4.237 GB, free: 127.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.298e-05/10.08, allocations: 4 kB / 4.237 GB, free: 127.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=193) (initialization): time 0.003723/10.09, allocations: 1.69 MB / 4.239 GB, free: 125.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009191/10.09, allocations: 4.086 MB / 4.243 GB, free: 121.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.569e-05/10.09, allocations: 8 kB / 4.243 GB, free: 121.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006201/10.09, allocations: 96.78 kB / 4.243 GB, free: 121.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001486/10.09, allocations: 383.5 kB / 4.243 GB, free: 120.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001809/10.09, allocations: 1.535 MB / 4.245 GB, free: 119.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002494/10.09, allocations: 155.8 kB / 4.245 GB, free: 119.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002422/10.09, allocations: 79.95 kB / 4.245 GB, free: 119 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/10.09, allocations: 4 kB / 4.245 GB, free: 119 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002929/10.1, allocations: 1.445 MB / 4.246 GB, free: 117.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.779e-05/10.1, allocations: 8 kB / 4.246 GB, free: 117.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005466/10.1, allocations: 97.38 kB / 4.246 GB, free: 117.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001364/10.1, allocations: 379.4 kB / 4.247 GB, free: 117.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001603/10.1, allocations: 1.532 MB / 4.248 GB, free: 115.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002331/10.1, allocations: 151.8 kB / 4.248 GB, free: 115.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002154/10.1, allocations: 71.97 kB / 4.248 GB, free: 115.2 MB / 1.151 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 () * 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.0005231/10.1, allocations: 208.3 kB / 4.249 GB, free: 115 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007832/10.11, allocations: 241.1 kB / 4.249 GB, free: 114.7 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 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.002681/10.11, allocations: 1.076 MB / 4.25 GB, free: 113.7 MB / 1.151 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.