Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.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.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_CoolingTowers_Validation_MerkelEnergyPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_CoolingTowers_Validation_MerkelEnergyPlus",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.236/2.236, allocations: 387.1 MB / 399.7 MB, free: 9.488 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.001258/0.001258, allocations: 176.2 kB / 492.3 MB, free: 0.6094 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.684/1.684, allocations: 221.3 MB / 0.7871 GB, free: 12.89 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.001053/0.001053, allocations: 93.2 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.548e-05/3.549e-05, allocations: 0 / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.2982, allocations: 142.4 MB / 1.212 GB, free: 38.39 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.254/6.552, allocations: 2.201 GB / 3.414 GB, free: 75.53 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002532/6.553, allocations: 99.81 kB / 3.414 GB, free: 75.48 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.454/8.006, allocations: 357.2 MB / 3.763 GB, free: 182.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.413e-06/8.006, allocations: 0 / 3.763 GB, free: 182.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.681e-05/8.007, allocations: 24 kB / 3.763 GB, free: 182.3 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 147 * Number of variables: 147 Notification: Performance of Generate backend data structure: time 0.002676/8.009, allocations: 1.497 MB / 3.764 GB, free: 180.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.499e-05/8.009, allocations: 8.031 kB / 3.764 GB, free: 180.8 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001315/8.009, allocations: 102.5 kB / 3.764 GB, free: 180.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008545/8.01, allocations: 214.2 kB / 3.764 GB, free: 180.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002729/8.013, allocations: 1.61 MB / 3.766 GB, free: 178.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.008e-05/8.013, allocations: 49.31 kB / 3.766 GB, free: 178.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/8.013, allocations: 60 kB / 3.766 GB, free: 178.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/8.014, allocations: 0.7286 MB / 3.767 GB, free: 177.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/8.014, allocations: 0 / 3.767 GB, free: 177.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.42e-05/8.014, allocations: 31.92 kB / 3.767 GB, free: 177.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.394e-05/8.014, allocations: 16 kB / 3.767 GB, free: 177.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009843/8.015, allocations: 0.7313 MB / 3.767 GB, free: 177.1 MB / 1.151 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.004485/8.02, allocations: 3.529 MB / 3.771 GB, free: 173.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001182/8.021, allocations: 0.7846 MB / 3.772 GB, free: 172.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003982/8.022, allocations: 327.4 kB / 3.772 GB, free: 172.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003766/8.025, allocations: 3.799 MB / 3.776 GB, free: 168 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005093/8.026, allocations: 377.3 kB / 3.776 GB, free: 167.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=54): time 2.665e-06/8.026, allocations: 0 / 3.776 GB, free: 167.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=54): time 0.001348/8.027, allocations: 0.761 MB / 3.777 GB, free: 166.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/8.027, allocations: 89.55 kB / 3.777 GB, free: 166.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00181/8.029, allocations: 1.465 MB / 3.778 GB, free: 165.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.937e-05/8.029, allocations: 41.7 kB / 3.778 GB, free: 165.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003235/8.03, allocations: 0.497 MB / 3.779 GB, free: 164.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001258/8.03, allocations: 189.3 kB / 3.779 GB, free: 164.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.241e-05/8.03, allocations: 16 kB / 3.779 GB, free: 164.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.825e-05/8.03, allocations: 333.9 kB / 3.779 GB, free: 164.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000396/8.03, allocations: 285.5 kB / 3.78 GB, free: 163.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005611/8.031, allocations: 0.5941 MB / 3.78 GB, free: 163.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004397/8.031, allocations: 343.3 kB / 3.781 GB, free: 162.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/8.031, allocations: 4 kB / 3.781 GB, free: 162.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001515/8.033, allocations: 0.9287 MB / 3.781 GB, free: 162 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001953/8.033, allocations: 0.9824 MB / 3.782 GB, free: 160.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.096e-06/8.033, allocations: 0 / 3.782 GB, free: 160.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.39/10.42, allocations: 206.5 MB / 3.984 GB, free: 302.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008866/10.42, allocations: 134.5 kB / 3.984 GB, free: 302.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001092/10.43, allocations: 1.194 MB / 3.985 GB, free: 301.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001415/10.43, allocations: 93.73 kB / 3.985 GB, free: 301.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/10.43, allocations: 37.66 kB / 3.985 GB, free: 301.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/10.43, allocations: 4.5 kB / 3.986 GB, free: 301.3 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001497/10.43, allocations: 0.8167 MB / 3.986 GB, free: 301.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/10.43, allocations: 3.125 kB / 3.986 GB, free: 301.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165/11.59, allocations: 206.5 MB / 4.188 GB, free: 157.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007534/11.59, allocations: 129.8 kB / 4.188 GB, free: 157.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001196/11.6, allocations: 1.199 MB / 4.189 GB, free: 156.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001609/11.6, allocations: 82.17 kB / 4.189 GB, free: 156.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002794/11.6, allocations: 44.97 kB / 4.189 GB, free: 156.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.datRea.nextTimeEvent,datRea.nextTimeEvent,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004066/11.6, allocations: 153.4 kB / 4.19 GB, free: 156 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005091/11.6, allocations: 115.5 kB / 4.19 GB, free: 156 MB / 1.151 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 69 equation(s) and 68 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001564/11.6, allocations: 0.5341 MB / 4.19 GB, free: 155.6 MB / 1.151 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.