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.529/2.529, allocations: 387.1 MB / 399.7 MB, free: 9.469 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.001246/0.001247, allocations: 171.1 kB / 492.3 MB, free: 0.6133 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.789/1.789, allocations: 221.3 MB / 0.7871 GB, free: 12.88 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.0009113/0.0009113, allocations: 98.78 kB / 0.9267 GB, free: 13.94 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.552e-05/4.553e-05, allocations: 7.984 kB / 1.073 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3395/0.3396, allocations: 142.3 MB / 1.213 GB, free: 38.38 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.929/6.269, allocations: 2.257 GB / 3.469 GB, free: 41.76 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000316/6.269, allocations: 110.3 kB / 3.469 GB, free: 41.66 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 7.033/13.3, allocations: 1.624 GB / 5.093 GB, free: 130.8 MB / 1.198 GB Notification: Performance of FrontEnd: time 4.198e-06/13.3, allocations: 0 / 5.093 GB, free: 130.8 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.001494/13.3, allocations: 132.5 kB / 5.093 GB, free: 130.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.02622/13.33, allocations: 5.033 MB / 5.098 GB, free: 128.4 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 7.484e-05/13.33, allocations: 8.516 kB / 5.098 GB, free: 128.4 MB / 1.198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003156/13.33, allocations: 471.4 kB / 5.098 GB, free: 128.4 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008843/13.34, allocations: 1.22 MB / 5.1 GB, free: 128.1 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02457/13.37, allocations: 6.619 MB / 5.106 GB, free: 127.2 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005309/13.37, allocations: 278.8 kB / 5.106 GB, free: 127.2 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00265/13.37, allocations: 367.7 kB / 5.107 GB, free: 127.2 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01513/13.38, allocations: 4.555 MB / 5.111 GB, free: 126.8 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.947e-05/13.38, allocations: 7.75 kB / 5.111 GB, free: 126.8 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005562/13.39, allocations: 145.3 kB / 5.111 GB, free: 126.8 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001599/13.39, allocations: 136.6 kB / 5.111 GB, free: 126.8 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009342/13.4, allocations: 4.589 MB / 5.116 GB, free: 126.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.0494/13.44, allocations: 19.93 MB / 5.135 GB, free: 120.5 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008972/13.45, allocations: 3.933 MB / 5.139 GB, free: 119.4 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003969/13.46, allocations: 1.791 MB / 5.141 GB, free: 118.7 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02377/13.48, allocations: 9.854 MB / 5.151 GB, free: 112 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004621/13.49, allocations: 2.028 MB / 5.153 GB, free: 111.1 MB / 1.198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004659/13.49, allocations: 0.5897 MB / 5.153 GB, free: 110.9 MB / 1.198 GB Notification: Performance of pre-optimization done (n=268): time 2.29e-05/13.49, allocations: 0 / 5.153 GB, free: 110.9 MB / 1.198 GB Notification: Performance of matching and sorting (n=268): time 0.01096/13.5, allocations: 3.937 MB / 5.157 GB, free: 109.3 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001363/13.5, allocations: 312.9 kB / 5.157 GB, free: 109 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01376/13.52, allocations: 4.574 MB / 5.162 GB, free: 107.3 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.001505/13.52, allocations: 83.7 kB / 5.162 GB, free: 107.2 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.004191/13.52, allocations: 2.192 MB / 5.164 GB, free: 105.5 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.00198/13.52, allocations: 0.9 MB / 5.165 GB, free: 104.8 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000427/13.52, allocations: 60.31 kB / 5.165 GB, free: 104.8 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0003532/13.52, allocations: 426.9 kB / 5.165 GB, free: 104.4 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00325/13.53, allocations: 1.615 MB / 5.167 GB, free: 103.8 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004029/13.53, allocations: 2.719 MB / 5.17 GB, free: 102.1 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003314/13.54, allocations: 1.922 MB / 5.171 GB, free: 101.4 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.7e-05/13.54, allocations: 7.703 kB / 5.171 GB, free: 101.4 MB / 1.198 GB Notification: Performance of matching and sorting (n=387) (initialization): time 0.0123/13.55, allocations: 5.52 MB / 5.177 GB, free: 99.38 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001799/13.55, allocations: 6.449 MB / 5.183 GB, free: 92.39 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.976e-05/13.55, allocations: 20.39 kB / 5.183 GB, free: 92.39 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.082/18.63, allocations: 0.5978 GB / 5.781 GB, free: 262.8 MB / 1.307 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006084/18.64, allocations: 0.7102 MB / 5.782 GB, free: 262.8 MB / 1.307 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007215/18.65, allocations: 5.215 MB / 5.787 GB, free: 259 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00836/18.65, allocations: 441.3 kB / 5.787 GB, free: 259 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001535/18.66, allocations: 162.1 kB / 5.787 GB, free: 259 MB / 1.307 GB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/18.66, allocations: 4.344 kB / 5.787 GB, free: 259 MB / 1.307 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01409/18.67, allocations: 5.03 MB / 5.792 GB, free: 258.8 MB / 1.307 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.539e-05/18.67, allocations: 18.12 kB / 5.792 GB, free: 258.8 MB / 1.307 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.073/22.74, allocations: 0.5978 GB / 6.39 GB, free: 254.5 MB / 1.307 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004209/22.75, allocations: 0.6867 MB / 6.391 GB, free: 254.5 MB / 1.307 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005825/22.75, allocations: 6.423 MB / 6.397 GB, free: 249.8 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006602/22.76, allocations: 415.5 kB / 6.397 GB, free: 249.8 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001184/22.76, allocations: 153.7 kB / 6.398 GB, free: 249.8 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.001414/22.76, allocations: 291.4 kB / 6.398 GB, free: 249.6 MB / 1.307 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002027/22.76, allocations: 479.3 kB / 6.398 GB, free: 249.6 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.006796/22.77, allocations: 2.677 MB / 6.401 GB, free: 249.5 MB / 1.307 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.