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: "" <> buildModelFMU(Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersWithBypass,fileNamePrefix="Buildings_9_Buildings_Experimental_DHC_Plants_Cooling_Subsystems_Examples_CoolingTowersWithBypass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersWithBypass,fileNamePrefix="Buildings_9_Buildings_Experimental_DHC_Plants_Cooling_Subsystems_Examples_CoolingTowersWithBypass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.469/2.469, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.00116/0.00116, allocations: 176.8 kB / 487.4 MB, free: 5.055 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.512/1.512, allocations: 221.5 MB / 0.7824 GB, free: 1.039 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.0009787/0.0009787, allocations: 91.81 kB / 0.9219 GB, free: 2.281 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.544e-05/1.548e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/0.283, allocations: 142.4 MB / 1.206 GB, free: 43.85 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.567/5.85, allocations: 2.256 GB / 3.462 GB, free: 41.76 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002941/5.851, allocations: 118.8 kB / 3.462 GB, free: 41.69 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 5.911/11.76, allocations: 1.612 GB / 5.074 GB, free: 119.7 MB / 1.182 GB Notification: Performance of FrontEnd: time 2.014e-06/11.76, allocations: 0 / 5.074 GB, free: 119.7 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0009809/11.76, allocations: 137.8 kB / 5.074 GB, free: 119.6 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.01661/11.78, allocations: 5.031 MB / 5.079 GB, free: 117.3 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/11.78, allocations: 10.69 kB / 5.079 GB, free: 117.3 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006801/11.79, allocations: 1.217 MB / 5.08 GB, free: 117 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.017/11.8, allocations: 6.622 MB / 5.086 GB, free: 116.1 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002636/11.8, allocations: 111 kB / 5.086 GB, free: 116.1 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001664/11.81, allocations: 227.4 kB / 5.087 GB, free: 116.1 MB / 1.182 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009882/11.81, allocations: 4.413 MB / 5.091 GB, free: 116.1 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01196/11.83, allocations: 4.053 MB / 5.095 GB, free: 115.7 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001883/11.83, allocations: 7.062 kB / 5.095 GB, free: 115.7 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001286/11.83, allocations: 9.438 kB / 5.095 GB, free: 115.7 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001478/11.83, allocations: 136 kB / 5.095 GB, free: 115.7 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.03773/11.87, allocations: 19.25 MB / 5.114 GB, free: 109.6 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0067/11.87, allocations: 3.877 MB / 5.118 GB, free: 109.4 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002889/11.88, allocations: 1.742 MB / 5.119 GB, free: 109.4 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02013/11.9, allocations: 9.665 MB / 5.129 GB, free: 104.2 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003474/11.9, allocations: 1.942 MB / 5.131 GB, free: 103.4 MB / 1.182 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003676/11.9, allocations: 0.5037 MB / 5.131 GB, free: 103.3 MB / 1.182 GB Notification: Performance of pre-optimization done (n=268): time 1.426e-05/11.9, allocations: 0 / 5.131 GB, free: 103.3 MB / 1.182 GB Notification: Performance of matching and sorting (n=268): time 0.07918/11.98, allocations: 15.07 MB / 5.146 GB, free: 101.1 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001221/11.98, allocations: 317.9 kB / 5.146 GB, free: 100.7 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01059/11.99, allocations: 4.043 MB / 5.15 GB, free: 99.13 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.001277/11.99, allocations: 33.02 kB / 5.15 GB, free: 99.1 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.003428/12, allocations: 2.195 MB / 5.152 GB, free: 97.4 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.001799/12, allocations: 0.8726 MB / 5.153 GB, free: 96.71 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000906/12, allocations: 0 / 5.153 GB, free: 96.71 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0003579/12, allocations: 427.7 kB / 5.154 GB, free: 96.36 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003324/12, allocations: 1.592 MB / 5.155 GB, free: 95.69 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004398/12.01, allocations: 2.66 MB / 5.158 GB, free: 94.01 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1537/12.16, allocations: 34 MB / 5.191 GB, free: 77.24 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.151e-05/12.16, allocations: 4 kB / 5.191 GB, free: 77.24 MB / 1.182 GB Notification: Performance of matching and sorting (n=387) (initialization): time 0.1658/12.33, allocations: 37.43 MB / 5.227 GB, free: 39.78 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.001321/12.33, allocations: 6.329 MB / 5.234 GB, free: 32.95 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.416e-05/12.33, allocations: 12 kB / 5.234 GB, free: 32.94 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002165/12.33, allocations: 0.9045 MB / 5.235 GB, free: 32.05 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003701/12.34, allocations: 0.7145 MB / 5.235 GB, free: 31.38 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.15/12.49, allocations: 37.44 MB / 5.272 GB, free: 9.637 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006485/12.49, allocations: 363.3 kB / 5.272 GB, free: 9.281 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001292/12.49, allocations: 155.9 kB / 5.272 GB, free: 9.129 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/12.49, allocations: 10.16 kB / 5.272 GB, free: 9.121 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.077/13.57, allocations: 36.82 MB / 5.308 GB, free: 169.5 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.302e-05/13.57, allocations: 15.22 kB / 5.308 GB, free: 169.5 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002398/13.57, allocations: 0.909 MB / 5.309 GB, free: 169.5 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003949/13.58, allocations: 0.6913 MB / 5.31 GB, free: 169.5 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1605/13.74, allocations: 38.55 MB / 5.348 GB, free: 164.9 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005935/13.74, allocations: 350.8 kB / 5.348 GB, free: 164.9 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001228/13.75, allocations: 151.6 kB / 5.348 GB, free: 164.9 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.001332/13.75, allocations: 186.4 kB / 5.348 GB, free: 164.8 MB / 1.214 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.07387/13.82, allocations: 14.97 MB / 5.363 GB, free: 164.6 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001554/13.82, allocations: 442.4 kB / 5.363 GB, free: 164.5 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.07106/13.89, allocations: 13.74 MB / 5.377 GB, free: 163.7 MB / 1.214 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.