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.719/2.719, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.00128/0.00128, allocations: 173.1 kB / 498.1 MB, free: 5.73 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.638/1.638, allocations: 223.2 MB / 0.7948 GB, free: 18.86 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.0009421/0.0009421, allocations: 108.1 kB / 0.9346 GB, free: 7.141 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003743/0.0003743, allocations: 7.875 kB / 1.084 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.309, allocations: 142.4 MB / 1.223 GB, free: 89.46 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.753/6.062, allocations: 2.257 GB / 3.48 GB, free: 130.8 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003109/6.062, allocations: 118.6 kB / 3.48 GB, free: 130.8 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 6.715/12.78, allocations: 1.628 GB / 5.108 GB, free: 138.3 MB / 1.198 GB Notification: Performance of FrontEnd: time 2.395e-06/12.78, allocations: 0 / 5.108 GB, free: 138.3 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.001312/12.78, allocations: 135.8 kB / 5.108 GB, free: 138.3 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.02548/12.8, allocations: 6.337 MB / 5.114 GB, free: 135.7 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 5.457e-05/12.8, allocations: 9.531 kB / 5.115 GB, free: 135.7 MB / 1.198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002713/12.81, allocations: 472.2 kB / 5.115 GB, free: 135.6 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007362/12.81, allocations: 1.218 MB / 5.116 GB, free: 135.3 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02029/12.83, allocations: 6.692 MB / 5.123 GB, free: 134.5 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003744/12.84, allocations: 278 kB / 5.123 GB, free: 134.5 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001876/12.84, allocations: 366 kB / 5.123 GB, free: 134.4 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01509/12.85, allocations: 4.835 MB / 5.128 GB, free: 134 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001917/12.85, allocations: 6.188 kB / 5.128 GB, free: 134 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001324/12.85, allocations: 143.9 kB / 5.128 GB, free: 134 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001746/12.85, allocations: 138.4 kB / 5.128 GB, free: 134 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01258/12.87, allocations: 5.113 MB / 5.133 GB, free: 134 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.03992/12.91, allocations: 19.94 MB / 5.153 GB, free: 127.7 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009012/12.92, allocations: 4.451 MB / 5.157 GB, free: 127.6 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02051/12.94, allocations: 9.801 MB / 5.167 GB, free: 123.5 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004743/12.94, allocations: 2.269 MB / 5.169 GB, free: 123.4 MB / 1.198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005352/12.95, allocations: 0.6084 MB / 5.169 GB, free: 123.3 MB / 1.198 GB Notification: Performance of pre-optimization done (n=267): time 3.562e-05/12.95, allocations: 5.469 kB / 5.169 GB, free: 123.3 MB / 1.198 GB Notification: Performance of matching and sorting (n=267): time 0.02551/12.97, allocations: 8.997 MB / 5.178 GB, free: 122.5 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001271/12.97, allocations: 315 kB / 5.179 GB, free: 122.1 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01319/12.99, allocations: 4.63 MB / 5.183 GB, free: 121.8 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.001944/12.99, allocations: 88.64 kB / 5.183 GB, free: 121.8 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.004623/12.99, allocations: 2.172 MB / 5.185 GB, free: 121.2 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.001812/12.99, allocations: 0.9021 MB / 5.186 GB, free: 120.6 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002607/12.99, allocations: 62 kB / 5.186 GB, free: 120.6 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0001927/12.99, allocations: 424.8 kB / 5.187 GB, free: 120.3 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003476/13, allocations: 1.869 MB / 5.188 GB, free: 120.3 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004045/13, allocations: 2.967 MB / 5.191 GB, free: 119.4 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003519/13.01, allocations: 2.156 MB / 5.193 GB, free: 119.4 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.085e-05/13.01, allocations: 7.656 kB / 5.193 GB, free: 119.4 MB / 1.198 GB Notification: Performance of matching and sorting (n=386) (initialization): time 0.01277/13.02, allocations: 6.17 MB / 5.2 GB, free: 119 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001286/13.02, allocations: 6.447 MB / 5.206 GB, free: 112.1 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.519e-05/13.02, allocations: 13.19 kB / 5.206 GB, free: 112.1 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.699/16.72, allocations: 0.5982 GB / 5.804 GB, free: 35.91 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004187/16.72, allocations: 0.712 MB / 5.805 GB, free: 35.26 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006017/16.73, allocations: 5.694 MB / 5.81 GB, free: 29.93 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006834/16.74, allocations: 448.1 kB / 5.811 GB, free: 29.57 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001214/16.74, allocations: 161.9 kB / 5.811 GB, free: 29.44 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/16.74, allocations: 4 kB / 5.811 GB, free: 29.43 MB / 1.245 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01528/16.75, allocations: 5.615 MB / 5.816 GB, free: 25.48 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-05/16.75, allocations: 19.94 kB / 5.816 GB, free: 25.46 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.626/21.38, allocations: 0.5982 GB / 6.414 GB, free: 262 MB / 1.307 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004149/21.38, allocations: 0.6915 MB / 6.415 GB, free: 262 MB / 1.307 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007282/21.39, allocations: 6.935 MB / 6.422 GB, free: 257.3 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005294/21.4, allocations: 415.7 kB / 6.422 GB, free: 257.3 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007818/21.4, allocations: 153.7 kB / 6.422 GB, free: 257.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 () * 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.003927/21.4, allocations: 1.525 MB / 6.424 GB, free: 257.1 MB / 1.307 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001604/21.4, allocations: 472.2 kB / 6.424 GB, free: 257.1 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.00707/21.41, allocations: 2.907 MB / 6.427 GB, free: 256.9 MB / 1.307 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.