Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_CoolingTowers_Validation_MerkelEnergyPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.362/1.362, allocations: 252 MB / 267.3 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001032/0.001032, allocations: 174.3 kB / 327 MB, free: 2.102 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.488/1.488, allocations: 205.4 MB / 0.578 GB, free: 20.43 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007426/0.0007425, allocations: 82.69 kB / 0.6826 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003419/0.0003422, allocations: 12.19 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.201/0.2013, allocations: 106.3 MB / 0.9009 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus): time 0.6023/0.8037, allocations: 176.5 MB / 1.073 GB, free: 8.039 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0157/0.8194, allocations: 13.11 MB / 1.086 GB, free: 7.281 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001757/0.8212, allocations: 30.47 kB / 1.086 GB, free: 7.266 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001381/0.8226, allocations: 438.8 kB / 1.087 GB, free: 7.145 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.006536/0.8291, allocations: 2.014 MB / 1.089 GB, free: 6.715 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003039/0.8322, allocations: 0.9571 MB / 1.089 GB, free: 6.633 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004244/0.8365, allocations: 2.971 MB / 1.092 GB, free: 6.242 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001038/0.8375, allocations: 0.6629 MB / 1.093 GB, free: 6.137 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001372/0.8389, allocations: 0.7509 MB / 1.094 GB, free: 6.039 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008659/0.8398, allocations: 0.6807 MB / 1.094 GB, free: 6.004 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001197/0.8399, allocations: 37.75 kB / 1.094 GB, free: 6.004 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004654/0.8446, allocations: 2.261 MB / 1.097 GB, free: 5.848 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003087/0.8449, allocations: 289.8 kB / 1.097 GB, free: 5.832 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006301/0.8455, allocations: 0.5871 MB / 1.097 GB, free: 5.789 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.004646/0.8502, allocations: 2.682 MB / 1.1 GB, free: 5.598 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.8502, allocations: 3 kB / 1.1 GB, free: 5.598 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8502, allocations: 0 / 1.1 GB, free: 5.598 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.562e-05/0.8502, allocations: 0 / 1.1 GB, free: 5.598 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.002364/0.8526, allocations: 1.604 MB / 1.102 GB, free: 4.594 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.8526, allocations: 7.094 kB / 1.102 GB, free: 4.594 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.931e-05/0.8528, allocations: 100.2 kB / 1.102 GB, free: 4.555 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007904/0.8536, allocations: 233.3 kB / 1.102 GB, free: 4.48 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001925/0.8555, allocations: 1.848 MB / 1.104 GB, free: 4.082 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.37e-05/0.8555, allocations: 42.38 kB / 1.104 GB, free: 4.082 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.088e-05/0.8556, allocations: 60.81 kB / 1.104 GB, free: 4.082 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001224/0.8569, allocations: 0.7584 MB / 1.105 GB, free: 3.973 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/0.8569, allocations: 0 / 1.105 GB, free: 3.973 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.708e-05/0.857, allocations: 24.12 kB / 1.105 GB, free: 3.973 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.037e-05/0.857, allocations: 16.78 kB / 1.105 GB, free: 3.973 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001205/0.8582, allocations: 0.75 MB / 1.105 GB, free: 3.961 MB / 0.698 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.003713/0.8619, allocations: 3.241 MB / 1.109 GB, free: 2.82 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001315/0.8632, allocations: 0.7639 MB / 1.109 GB, free: 2.789 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005399/0.8638, allocations: 344.2 kB / 1.11 GB, free: 2.777 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00322/0.867, allocations: 3.64 MB / 1.113 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006551/0.8677, allocations: 382.3 kB / 1.114 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=52): time 2.114e-06/0.8677, allocations: 4 kB / 1.114 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of matching and sorting (n=52): time 0.004829/0.8726, allocations: 1.514 MB / 1.115 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.147e-05/0.8726, allocations: 83.7 kB / 1.115 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002324/0.875, allocations: 2.071 MB / 1.117 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.693e-05/0.875, allocations: 36.23 kB / 1.117 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003824/0.8754, allocations: 0.5004 MB / 1.118 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001563/0.8756, allocations: 181.2 kB / 1.118 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.48e-05/0.8756, allocations: 13.12 kB / 1.118 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001686/0.8758, allocations: 334.8 kB / 1.118 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005817/0.8764, allocations: 307.9 kB / 1.118 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008131/0.8772, allocations: 0.5959 MB / 1.119 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00121/0.8785, allocations: 0.7199 MB / 1.12 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.8785, allocations: 3.938 kB / 1.12 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002184/0.8807, allocations: 1.015 MB / 1.121 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001026/0.8808, allocations: 157.2 kB / 1.121 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.8808, allocations: 1.969 kB / 1.121 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189/2.07, allocations: 193.5 MB / 1.31 GB, free: 9.598 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000633/2.071, allocations: 127.4 kB / 1.31 GB, free: 9.477 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00143/2.072, allocations: 1.291 MB / 1.311 GB, free: 8.219 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/2.073, allocations: 107.1 kB / 1.311 GB, free: 8.125 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001462/2.073, allocations: 35.23 kB / 1.311 GB, free: 8.098 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.979e-06/2.073, allocations: 1.859 kB / 1.311 GB, free: 8.098 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001933/2.075, allocations: 0.8843 MB / 1.312 GB, free: 7.48 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/2.075, allocations: 4 kB / 1.312 GB, free: 7.477 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571/3.646, allocations: 193.5 MB / 1.501 GB, free: 335.6 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005893/3.647, allocations: 131.8 kB / 1.501 GB, free: 335.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001127/3.648, allocations: 1.282 MB / 1.503 GB, free: 334.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/3.649, allocations: 98.62 kB / 1.503 GB, free: 334.2 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001242/3.649, allocations: 30.48 kB / 1.503 GB, free: 334.2 MB / 0.9636 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0006013/3.65, allocations: 371.4 kB / 1.503 GB, free: 333.9 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002465/3.65, allocations: 118.2 kB / 1.503 GB, free: 333.8 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00183/3.652, allocations: 0.9627 MB / 1.504 GB, free: 333.1 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.466e-05/3.652, allocations: 4.609 kB / 1.504 GB, free: 333.1 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/3.652, allocations: 0 / 1.504 GB, free: 333.1 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001286/3.653, allocations: 0.9948 MB / 1.505 GB, free: 332.3 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003826/3.657, allocations: 2.144 MB / 1.507 GB, free: 330.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/3.657, allocations: 6.484 kB / 1.507 GB, free: 330.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003011/3.657, allocations: 77.59 kB / 1.507 GB, free: 330.6 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5521/4.209, allocations: 96.84 MB / 1.602 GB, free: 233.7 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001878/4.21, allocations: 20.55 kB / 1.602 GB, free: 233.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001243/4.211, allocations: 0.7425 MB / 1.603 GB, free: 233 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/4.211, allocations: 0.7031 kB / 1.603 GB, free: 233 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004794/4.216, allocations: 1.514 MB / 1.604 GB, free: 231.9 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008092/4.216, allocations: 311.1 kB / 1.604 GB, free: 231.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003853/4.217, allocations: 11.44 kB / 1.604 GB, free: 231.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001055/4.218, allocations: 51.45 kB / 1.604 GB, free: 231.6 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000129/4.218, allocations: 38.14 kB / 1.605 GB, free: 231.6 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.379e-05/4.218, allocations: 31.78 kB / 1.605 GB, free: 231.6 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.002475/4.221, allocations: 1.546 MB / 1.606 GB, free: 230.5 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.833e-06/4.221, allocations: 0 / 1.606 GB, free: 230.5 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003166/4.224, allocations: 0.7165 MB / 1.607 GB, free: 229.9 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (tow.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of discrete states: 2 (datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006019/4.23, allocations: 2.891 MB / 1.61 GB, free: 227.7 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.00243/4.232, allocations: 1.205 MB / 1.611 GB, free: 226.9 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/4.232, allocations: 0.625 kB / 1.611 GB, free: 226.9 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0006293/4.233, allocations: 379.5 kB / 1.611 GB, free: 226.6 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002722/4.236, allocations: 488 kB / 1.612 GB, free: 226.2 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01637/4.252, allocations: 12.22 MB / 1.624 GB, free: 215 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005229/4.253, allocations: 1.096 MB / 1.625 GB, free: 213.9 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.001002/4.254, allocations: 272.5 kB / 1.625 GB, free: 213.6 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005241/4.254, allocations: 435.3 kB / 1.625 GB, free: 213.2 MB / 0.9636 GB Notification: Performance of SimCode: time 9.32e-07/4.254, allocations: 0 / 1.625 GB, free: 213.2 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06649/4.321, allocations: 36.62 MB / 1.661 GB, free: 177 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002143/4.321, allocations: 315.9 kB / 1.661 GB, free: 176.6 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.483/7.804, allocations: 0 / 1.661 GB, free: 176.6 MB / 0.9636 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_CoolingTowers_Validation_MerkelEnergyPlus_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_CoolingTowers_Validation_MerkelEnergyPlus.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe 2>&1)