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.286/1.286, allocations: 251.5 MB / 266.7 MB, free: 11.04 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.0009719/0.0009719, allocations: 185.7 kB / 325.8 MB, free: 2.676 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.371/1.371, allocations: 205 MB / 0.576 GB, free: 20.91 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.0006796/0.0006796, allocations: 80.27 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002757/0.0002758, allocations: 15.58 kB / 0.7933 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1526, allocations: 105.4 MB / 0.8962 GB, free: 68.04 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus): time 0.4962/0.6489, allocations: 178.5 MB / 1.071 GB, free: 8.465 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0143/0.6633, allocations: 13.29 MB / 1.084 GB, free: 8.176 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001213/0.6645, allocations: 27.28 kB / 1.084 GB, free: 8.176 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001128/0.6656, allocations: 439.3 kB / 1.084 GB, free: 8.164 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.004901/0.6706, allocations: 2.017 MB / 1.086 GB, free: 8.062 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00241/0.673, allocations: 0.953 MB / 1.087 GB, free: 8.02 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003128/0.6761, allocations: 2.968 MB / 1.09 GB, free: 7.875 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008859/0.677, allocations: 0.6518 MB / 1.09 GB, free: 7.77 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001297/0.6783, allocations: 0.7424 MB / 1.091 GB, free: 7.684 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008411/0.6792, allocations: 0.6829 MB / 1.092 GB, free: 7.652 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001077/0.6793, allocations: 37.84 kB / 1.092 GB, free: 7.652 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004311/0.6836, allocations: 2.258 MB / 1.094 GB, free: 7.492 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000309/0.6839, allocations: 279.5 kB / 1.094 GB, free: 7.484 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006902/0.6846, allocations: 0.5618 MB / 1.095 GB, free: 7.477 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.004331/0.689, allocations: 2.691 MB / 1.097 GB, free: 7.281 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.689, allocations: 0 / 1.097 GB, free: 7.281 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.473e-06/0.689, allocations: 0 / 1.097 GB, free: 7.281 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.626e-05/0.689, allocations: 0 / 1.097 GB, free: 7.281 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.002361/0.6914, allocations: 1.603 MB / 1.099 GB, free: 6.281 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.6914, allocations: 12.28 kB / 1.099 GB, free: 6.281 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.823e-05/0.6915, allocations: 94.2 kB / 1.099 GB, free: 6.242 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008439/0.6924, allocations: 231.9 kB / 1.099 GB, free: 6.172 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001801/0.6942, allocations: 1.846 MB / 1.101 GB, free: 5.773 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.516e-05/0.6942, allocations: 47.44 kB / 1.101 GB, free: 5.77 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.922e-05/0.6943, allocations: 64.19 kB / 1.101 GB, free: 5.762 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001089/0.6954, allocations: 0.7486 MB / 1.102 GB, free: 5.664 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.6955, allocations: 15.86 kB / 1.102 GB, free: 5.648 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.169e-05/0.6955, allocations: 27.28 kB / 1.102 GB, free: 5.648 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.942e-05/0.6955, allocations: 18.84 kB / 1.102 GB, free: 5.645 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001174/0.6967, allocations: 0.7487 MB / 1.103 GB, free: 5.633 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.003196/0.6999, allocations: 3.239 MB / 1.106 GB, free: 4.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001225/0.7012, allocations: 0.7673 MB / 1.107 GB, free: 4.465 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005036/0.7017, allocations: 340.8 kB / 1.107 GB, free: 4.453 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00278/0.7045, allocations: 3.641 MB / 1.111 GB, free: 1.426 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006083/0.7051, allocations: 390.3 kB / 1.111 GB, free: 1.363 MB / 0.698 GB Notification: Performance of pre-optimization done (n=52): time 2.023e-06/0.7051, allocations: 0 / 1.111 GB, free: 1.363 MB / 0.698 GB Notification: Performance of matching and sorting (n=52): time 0.004466/0.7096, allocations: 1.514 MB / 1.112 GB, free: 1.137 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.071e-05/0.7096, allocations: 83.89 kB / 1.112 GB, free: 1.039 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001916/0.7115, allocations: 2.071 MB / 1.115 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.664e-05/0.7116, allocations: 46.98 kB / 1.115 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002995/0.7119, allocations: 0.4895 MB / 1.115 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.712, allocations: 186.3 kB / 1.115 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.998e-05/0.7121, allocations: 70.75 kB / 1.115 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.01e-05/0.7121, allocations: 330.9 kB / 1.116 GB, free: 260 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004958/0.7126, allocations: 319.1 kB / 1.116 GB, free: 252 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006695/0.7133, allocations: 0.5871 MB / 1.116 GB, free: 108 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/0.7144, allocations: 0.7225 MB / 1.117 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.7144, allocations: 0 / 1.117 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002017/0.7164, allocations: 1.015 MB / 1.118 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.966e-05/0.7165, allocations: 156.3 kB / 1.118 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.7165, allocations: 2.719 kB / 1.118 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.038/1.755, allocations: 193.5 MB / 1.307 GB, free: 12.74 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005664/1.755, allocations: 127.4 kB / 1.307 GB, free: 12.62 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001251/1.756, allocations: 1.295 MB / 1.309 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009312/1.757, allocations: 101.9 kB / 1.309 GB, free: 11.27 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.746e-05/1.757, allocations: 31.48 kB / 1.309 GB, free: 11.24 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.207e-06/1.757, allocations: 7.938 kB / 1.309 GB, free: 11.23 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001672/1.759, allocations: 0.88 MB / 1.31 GB, free: 10.62 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/1.759, allocations: 4 kB / 1.31 GB, free: 10.61 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44/3.199, allocations: 193.5 MB / 1.499 GB, free: 342.1 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006281/3.2, allocations: 136.2 kB / 1.499 GB, free: 341.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001113/3.201, allocations: 1.282 MB / 1.5 GB, free: 340.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/3.202, allocations: 94.75 kB / 1.5 GB, free: 340.6 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.19e-05/3.202, allocations: 34.92 kB / 1.5 GB, free: 340.6 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 ($PRE.datRea.nextTimeEvent,$whenCondition1,datRea.nextTimeEventScaled,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEvent) * 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.0006362/3.203, allocations: 372.7 kB / 1.501 GB, free: 340.3 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000232/3.203, allocations: 114.9 kB / 1.501 GB, free: 340.3 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001931/3.205, allocations: 0.9581 MB / 1.502 GB, free: 339.6 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-05/3.205, allocations: 8 kB / 1.502 GB, free: 339.6 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/3.205, allocations: 5.484 kB / 1.502 GB, free: 339.6 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00133/3.206, allocations: 0.997 MB / 1.503 GB, free: 338.7 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004066/3.211, allocations: 2.139 MB / 1.505 GB, free: 337.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/3.211, allocations: 8.125 kB / 1.505 GB, free: 337.2 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003169/3.211, allocations: 79.2 kB / 1.505 GB, free: 337.1 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5076/3.719, allocations: 96.84 MB / 1.599 GB, free: 240.2 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001822/3.719, allocations: 18.36 kB / 1.599 GB, free: 240.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008869/3.72, allocations: 0.7441 MB / 1.6 GB, free: 239.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/3.72, allocations: 0 / 1.6 GB, free: 239.5 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003474/3.723, allocations: 1.519 MB / 1.602 GB, free: 238.4 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005502/3.724, allocations: 291.7 kB / 1.602 GB, free: 238.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001613/3.724, allocations: 14.69 kB / 1.602 GB, free: 238.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005575/3.724, allocations: 54.27 kB / 1.602 GB, free: 238.1 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.992e-05/3.725, allocations: 36.14 kB / 1.602 GB, free: 238.1 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.984e-05/3.725, allocations: 26.36 kB / 1.602 GB, free: 238.1 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001359/3.726, allocations: 1.548 MB / 1.603 GB, free: 237 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2.61e-07/3.726, allocations: 0 / 1.603 GB, free: 237 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.001905/3.728, allocations: 0.7198 MB / 1.604 GB, free: 236.4 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.005527/3.733, allocations: 2.892 MB / 1.607 GB, free: 234.2 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002502/3.736, allocations: 1.206 MB / 1.608 GB, free: 233.3 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/3.736, allocations: 4 kB / 1.608 GB, free: 233.3 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.000649/3.737, allocations: 367.5 kB / 1.609 GB, free: 233 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00237/3.739, allocations: 489.6 kB / 1.609 GB, free: 232.7 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01519/3.754, allocations: 12.17 MB / 1.621 GB, free: 220.2 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004203/3.755, allocations: 1.096 MB / 1.622 GB, free: 219.1 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.00098/3.756, allocations: 280.4 kB / 1.622 GB, free: 218.8 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000432/3.756, allocations: 435.3 kB / 1.623 GB, free: 218.4 MB / 0.9636 GB Notification: Performance of SimCode: time 9.52e-07/3.756, allocations: 0 / 1.623 GB, free: 218.4 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7361/4.492, allocations: 36.64 MB / 1.658 GB, free: 182.2 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002771/4.493, allocations: 318.4 kB / 1.659 GB, free: 181.8 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.5/7.993, allocations: 4 kB / 1.659 GB, free: 181.8 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)