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.577/2.577, allocations: 390.3 MB / 405.3 MB, free: 13.53 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.001809/0.001809, allocations: 173.1 kB / 498.1 MB, free: 5.793 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.661/1.661, allocations: 223.2 MB / 0.7948 GB, free: 17.99 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.001018/0.001018, allocations: 94.67 kB / 0.9346 GB, free: 6.309 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003982/0.0003983, allocations: 12.66 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3341/0.3345, allocations: 142.3 MB / 1.223 GB, free: 114.4 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.909/6.244, allocations: 2.257 GB / 3.479 GB, free: 225.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003444/6.244, allocations: 124.6 kB / 3.48 GB, free: 225.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 6.816/13.06, allocations: 1.628 GB / 5.108 GB, free: 146.5 MB / 1.198 GB Notification: Performance of FrontEnd: time 2.224e-06/13.06, allocations: 0 / 5.108 GB, free: 146.5 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.001329/13.06, allocations: 134 kB / 5.108 GB, free: 146.5 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.02924/13.09, allocations: 6.327 MB / 5.114 GB, free: 144 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 5.647e-05/13.09, allocations: 8.438 kB / 5.114 GB, free: 144 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007915/13.1, allocations: 1.226 MB / 5.116 GB, free: 143.7 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02115/13.12, allocations: 6.689 MB / 5.122 GB, free: 142.8 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003749/13.12, allocations: 276.6 kB / 5.122 GB, free: 142.8 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001875/13.12, allocations: 361.3 kB / 5.123 GB, free: 142.8 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01317/13.14, allocations: 4.837 MB / 5.127 GB, free: 142.4 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.565e-05/13.14, allocations: 7.766 kB / 5.127 GB, free: 142.4 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000518/13.14, allocations: 139.4 kB / 5.128 GB, free: 142.4 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001327/13.14, allocations: 144 kB / 5.128 GB, free: 142.4 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01262/13.15, allocations: 5.116 MB / 5.133 GB, free: 142.4 MB / 1.198 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.04723/13.2, allocations: 19.93 MB / 5.152 GB, free: 136.1 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008499/13.2, allocations: 4.441 MB / 5.157 GB, free: 136 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01997/13.22, allocations: 9.818 MB / 5.166 GB, free: 131.9 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003979/13.23, allocations: 2.269 MB / 5.168 GB, free: 131.8 MB / 1.198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004143/13.23, allocations: 0.614 MB / 5.169 GB, free: 131.7 MB / 1.198 GB Notification: Performance of pre-optimization done (n=267): time 2.049e-05/13.23, allocations: 0 / 5.169 GB, free: 131.7 MB / 1.198 GB Notification: Performance of matching and sorting (n=267): time 0.02396/13.26, allocations: 9.005 MB / 5.178 GB, free: 130.9 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/13.26, allocations: 310.7 kB / 5.178 GB, free: 130.5 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01008/13.27, allocations: 4.633 MB / 5.183 GB, free: 130.2 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.001321/13.27, allocations: 89.61 kB / 5.183 GB, free: 130.2 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.002672/13.27, allocations: 2.182 MB / 5.185 GB, free: 129.6 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.001636/13.27, allocations: 0.8976 MB / 5.186 GB, free: 129 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000285/13.27, allocations: 61.84 kB / 5.186 GB, free: 129 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0002848/13.27, allocations: 423.9 kB / 5.186 GB, free: 128.7 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003721/13.28, allocations: 1.866 MB / 5.188 GB, free: 128.7 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00458/13.28, allocations: 2.973 MB / 5.191 GB, free: 127.8 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004402/13.29, allocations: 2.157 MB / 5.193 GB, free: 127.8 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.687e-05/13.29, allocations: 3.812 kB / 5.193 GB, free: 127.8 MB / 1.198 GB Notification: Performance of matching and sorting (n=386) (initialization): time 0.01519/13.3, allocations: 6.173 MB / 5.199 GB, free: 127.4 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001487/13.3, allocations: 6.443 MB / 5.205 GB, free: 120.5 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.171e-05/13.3, allocations: 13.44 kB / 5.205 GB, free: 120.5 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.728/17.03, allocations: 0.5982 GB / 5.803 GB, free: 121.6 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003854/17.04, allocations: 0.7117 MB / 5.804 GB, free: 121 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005812/17.04, allocations: 5.705 MB / 5.81 GB, free: 115.7 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006529/17.05, allocations: 446.8 kB / 5.81 GB, free: 115.3 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001174/17.05, allocations: 155.4 kB / 5.81 GB, free: 115.2 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/17.05, allocations: 4 kB / 5.81 GB, free: 115.2 MB / 1.26 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01219/17.06, allocations: 5.627 MB / 5.816 GB, free: 111.2 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.759e-05/17.06, allocations: 20.03 kB / 5.816 GB, free: 111.2 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.741/20.8, allocations: 0.5982 GB / 6.414 GB, free: 15.48 MB / 1.307 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003932/20.81, allocations: 0.6882 MB / 6.415 GB, free: 14.85 MB / 1.307 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006716/20.81, allocations: 6.929 MB / 6.421 GB, free: 8.414 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006724/20.82, allocations: 418.6 kB / 6.422 GB, free: 8.074 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001212/20.82, allocations: 151.8 kB / 6.422 GB, free: 7.949 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (362): * Single equations (assignments): 355 * 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.0048/20.83, allocations: 1.526 MB / 6.423 GB, free: 7.066 MB / 1.307 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001752/20.83, allocations: 471.6 kB / 6.424 GB, free: 6.848 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 320 equation(s) and 318 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006604/20.83, allocations: 2.911 MB / 6.427 GB, free: 4.953 MB / 1.307 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.