Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersWithBypass.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.Experimental.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersWithBypass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tow.TWetBul|TEnt.T|tow.TLvg|tow.cooTowSpeCon.u_s|tow.cooTowSpeCon.u_m|onOffCon.reference|onOffCon.u|tow.bypValCon.u_s|tow.bypValCon.u_m|tow.bypValCon.y",fileNamePrefix="Buildings_9_Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersWithBypass") translateModel(Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersWithBypass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tow.TWetBul|TEnt.T|tow.TLvg|tow.cooTowSpeCon.u_s|tow.cooTowSpeCon.u_m|onOffCon.reference|onOffCon.u|tow.bypValCon.u_s|tow.bypValCon.u_m|tow.bypValCon.y",fileNamePrefix="Buildings_9_Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersWithBypass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.17/2.17, allocations: 387.1 MB / 399.7 MB, free: 9.531 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.001196/0.001196, allocations: 176.8 kB / 492.3 MB, free: 0.625 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.466/1.466, allocations: 221.3 MB / 0.7871 GB, free: 12.91 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.001023/0.001023, allocations: 91.66 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.926e-05/2.929e-05, allocations: 0 / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2796/0.2797, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.208/5.488, allocations: 2.257 GB / 3.469 GB, free: 20.51 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003423/5.488, allocations: 112.5 kB / 3.469 GB, free: 20.44 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 6.524/12.01, allocations: 1.624 GB / 5.093 GB, free: 133.8 MB / 1.198 GB Notification: Performance of FrontEnd: time 1.854e-06/12.01, allocations: 0 / 5.093 GB, free: 133.8 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.001008/12.01, allocations: 130.5 kB / 5.093 GB, free: 133.8 MB / 1.198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 876 * Number of variables: 876 Notification: Performance of Generate backend data structure: time 0.0193/12.03, allocations: 5.029 MB / 5.098 GB, free: 131.4 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/12.03, allocations: 7.406 kB / 5.098 GB, free: 131.4 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00765/12.04, allocations: 1.216 MB / 5.099 GB, free: 131.1 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01857/12.06, allocations: 6.639 MB / 5.106 GB, free: 130.3 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002934/12.06, allocations: 271.4 kB / 5.106 GB, free: 130.3 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001404/12.06, allocations: 372.1 kB / 5.106 GB, free: 130.3 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00964/12.07, allocations: 4.547 MB / 5.111 GB, free: 129.9 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.361e-05/12.07, allocations: 5.5 kB / 5.111 GB, free: 129.9 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004959/12.07, allocations: 139.6 kB / 5.111 GB, free: 129.9 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001354/12.07, allocations: 145 kB / 5.111 GB, free: 129.9 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007815/12.08, allocations: 4.582 MB / 5.115 GB, free: 129.8 MB / 1.198 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.04048/12.12, allocations: 19.94 MB / 5.135 GB, free: 120.1 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006959/12.13, allocations: 3.93 MB / 5.139 GB, free: 118.4 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003175/12.13, allocations: 1.785 MB / 5.14 GB, free: 117.7 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02247/12.15, allocations: 9.858 MB / 5.15 GB, free: 110.9 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004305/12.16, allocations: 2.036 MB / 5.152 GB, free: 110.1 MB / 1.198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004297/12.16, allocations: 0.5801 MB / 5.153 GB, free: 109.9 MB / 1.198 GB Notification: Performance of pre-optimization done (n=268): time 1.605e-05/12.16, allocations: 0 / 5.153 GB, free: 109.9 MB / 1.198 GB Notification: Performance of matching and sorting (n=268): time 0.009912/12.17, allocations: 3.937 MB / 5.156 GB, free: 108.2 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/12.17, allocations: 320.2 kB / 5.157 GB, free: 107.9 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01216/12.18, allocations: 4.571 MB / 5.161 GB, free: 105.6 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.001376/12.18, allocations: 87.36 kB / 5.161 GB, free: 105.5 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.003729/12.19, allocations: 2.176 MB / 5.163 GB, free: 103.7 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.001847/12.19, allocations: 0.9101 MB / 5.164 GB, free: 102.9 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008729/12.19, allocations: 61.44 kB / 5.164 GB, free: 102.8 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.000338/12.19, allocations: 423.1 kB / 5.165 GB, free: 102.4 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003403/12.19, allocations: 1.616 MB / 5.166 GB, free: 101.6 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004573/12.2, allocations: 2.721 MB / 5.169 GB, free: 99.69 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00403/12.2, allocations: 1.91 MB / 5.171 GB, free: 98.65 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.58e-05/12.2, allocations: 9.672 kB / 5.171 GB, free: 98.65 MB / 1.198 GB Notification: Performance of matching and sorting (n=387) (initialization): time 0.01537/12.22, allocations: 5.53 MB / 5.176 GB, free: 95.82 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001551/12.22, allocations: 6.439 MB / 5.183 GB, free: 88.82 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.77e-05/12.22, allocations: 19.11 kB / 5.183 GB, free: 88.82 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.95/17.17, allocations: 0.5978 GB / 5.78 GB, free: 263.4 MB / 1.307 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00409/17.17, allocations: 0.7186 MB / 5.781 GB, free: 263.4 MB / 1.307 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004836/17.18, allocations: 5.205 MB / 5.786 GB, free: 259.5 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007013/17.19, allocations: 446.4 kB / 5.787 GB, free: 259.5 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001464/17.19, allocations: 155.3 kB / 5.787 GB, free: 259.5 MB / 1.307 GB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/17.19, allocations: 6.594 kB / 5.787 GB, free: 259.5 MB / 1.307 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01269/17.2, allocations: 5.033 MB / 5.792 GB, free: 259.4 MB / 1.307 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.804e-05/17.2, allocations: 14.67 kB / 5.792 GB, free: 259.4 MB / 1.307 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.937/21.14, allocations: 0.5978 GB / 6.39 GB, free: 254 MB / 1.307 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003895/21.14, allocations: 0.6988 MB / 6.39 GB, free: 254 MB / 1.307 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005819/21.15, allocations: 6.416 MB / 6.396 GB, free: 249.3 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00655/21.15, allocations: 417.4 kB / 6.397 GB, free: 249.3 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001287/21.16, allocations: 150.8 kB / 6.397 GB, free: 249.3 MB / 1.307 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition4,$whenCondition2,$whenCondition1,$PRE.tow.hys.y,tow.hys.y,$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 (363): * Single equations (assignments): 356 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {1 6,1 6,1 1,1 1,3 5,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.002354/21.16, allocations: 302 kB / 6.397 GB, free: 249.2 MB / 1.307 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002346/21.16, allocations: 475 kB / 6.398 GB, free: 249.2 MB / 1.307 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 321 equation(s) and 319 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01104/21.17, allocations: 2.676 MB / 6.4 GB, free: 249 MB / 1.307 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.