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.301/2.301, allocations: 387.4 MB / 394.9 MB, free: 13.4 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.001084/0.001084, allocations: 184.8 kB / 487.4 MB, free: 5.027 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.506/1.506, allocations: 221.5 MB / 0.7824 GB, free: 0.918 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008699/0.00087, allocations: 103.5 kB / 0.9219 GB, free: 2.152 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.624e-05/1.627e-05, allocations: 0 / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.2987, allocations: 142.4 MB / 1.206 GB, free: 43.94 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.612/5.91, allocations: 2.256 GB / 3.462 GB, free: 65 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003221/5.911, allocations: 111.9 kB / 3.462 GB, free: 64.89 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 5.948/11.86, allocations: 1.612 GB / 5.073 GB, free: 120.8 MB / 1.182 GB Notification: Performance of FrontEnd: time 2.765e-06/11.86, allocations: 4.625 kB / 5.073 GB, free: 120.8 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.001686/11.86, allocations: 130.8 kB / 5.074 GB, free: 120.8 MB / 1.182 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.02345/11.88, allocations: 5.023 MB / 5.079 GB, free: 118.4 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 6.306e-05/11.88, allocations: 10.03 kB / 5.079 GB, free: 118.4 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007691/11.89, allocations: 1.214 MB / 5.08 GB, free: 118.1 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02052/11.91, allocations: 6.632 MB / 5.086 GB, free: 117.3 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003078/11.91, allocations: 110.2 kB / 5.086 GB, free: 117.3 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002075/11.92, allocations: 226.4 kB / 5.087 GB, free: 117.3 MB / 1.182 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0113/11.93, allocations: 4.411 MB / 5.091 GB, free: 117.3 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01315/11.94, allocations: 4.064 MB / 5.095 GB, free: 116.9 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002345/11.94, allocations: 10.91 kB / 5.095 GB, free: 116.9 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001494/11.94, allocations: 3.938 kB / 5.095 GB, free: 116.9 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002454/11.94, allocations: 142 kB / 5.095 GB, free: 116.9 MB / 1.182 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.04749/11.99, allocations: 19.25 MB / 5.114 GB, free: 110.7 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007197/12, allocations: 3.874 MB / 5.118 GB, free: 110.6 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003097/12, allocations: 1.733 MB / 5.119 GB, free: 110.5 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01955/12.02, allocations: 9.662 MB / 5.129 GB, free: 106.5 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003729/12.02, allocations: 1.947 MB / 5.131 GB, free: 106.4 MB / 1.182 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004173/12.03, allocations: 0.5001 MB / 5.131 GB, free: 106.3 MB / 1.182 GB Notification: Performance of pre-optimization done (n=268): time 1.633e-05/12.03, allocations: 0 / 5.131 GB, free: 106.3 MB / 1.182 GB Notification: Performance of matching and sorting (n=268): time 0.07791/12.11, allocations: 15.07 MB / 5.146 GB, free: 105.8 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001191/12.11, allocations: 312.7 kB / 5.146 GB, free: 105.5 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01024/12.12, allocations: 4.048 MB / 5.15 GB, free: 104.6 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.00134/12.12, allocations: 32.17 kB / 5.15 GB, free: 104.6 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.003094/12.12, allocations: 2.205 MB / 5.152 GB, free: 102.8 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.001763/12.12, allocations: 0.8715 MB / 5.153 GB, free: 102.2 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008677/12.12, allocations: 0 / 5.153 GB, free: 102.2 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0003874/12.12, allocations: 426.7 kB / 5.153 GB, free: 101.8 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003307/12.13, allocations: 1.597 MB / 5.155 GB, free: 101.1 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003938/12.13, allocations: 2.656 MB / 5.158 GB, free: 99.46 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1514/12.28, allocations: 34 MB / 5.191 GB, free: 94.22 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.367e-05/12.28, allocations: 4 kB / 5.191 GB, free: 94.22 MB / 1.182 GB Notification: Performance of matching and sorting (n=387) (initialization): time 0.1595/12.44, allocations: 37.45 MB / 5.227 GB, free: 56.75 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.001679/12.44, allocations: 6.319 MB / 5.234 GB, free: 49.93 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.653e-05/12.44, allocations: 16 kB / 5.234 GB, free: 49.91 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002057/12.45, allocations: 0.8989 MB / 5.234 GB, free: 49.03 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003485/12.45, allocations: 0.7168 MB / 5.235 GB, free: 48.35 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.144/12.59, allocations: 37.45 MB / 5.272 GB, free: 10.64 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006068/12.6, allocations: 371.2 kB / 5.272 GB, free: 10.28 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001266/12.6, allocations: 160.5 kB / 5.272 GB, free: 10.12 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/12.6, allocations: 8 kB / 5.272 GB, free: 10.11 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1678/12.77, allocations: 36.82 MB / 5.308 GB, free: 5.273 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.314e-05/12.77, allocations: 12 kB / 5.308 GB, free: 5.262 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002226/12.77, allocations: 0.8999 MB / 5.309 GB, free: 4.379 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003658/12.77, allocations: 0.6928 MB / 5.31 GB, free: 3.723 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085/13.86, allocations: 38.54 MB / 5.347 GB, free: 167.2 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007118/13.87, allocations: 346.6 kB / 5.348 GB, free: 167.2 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001415/13.87, allocations: 153.9 kB / 5.348 GB, free: 167.2 MB / 1.214 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.001309/13.87, allocations: 184.8 kB / 5.348 GB, free: 167.1 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002044/13.87, allocations: 441 kB / 5.348 GB, free: 167.1 MB / 1.214 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). Warning: Equation 300 (size: 2) $cse10 = Buildings.Fluid.Sources.Boundary_pT$exp.Medium.setState_pTX(exp.p_in_internal, exp.T, {exp.X_in_internal[1]}) is not big enough to solve for enough variables. Remaining unsolved variables are: $cse14 Already solved: weaBus.cloTim Equations used to solve those variables: Equation 47 (size: 1): weaBus.cloTim = time Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07826/13.95, allocations: 13.75 MB / 5.362 GB, free: 167 MB / 1.214 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.