Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_CoolingTowers_Validation_MerkelEnergyPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_CoolingTowers_Validation_MerkelEnergyPlus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 100.5 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.791/1.791, allocations: 205.4 MB / 222.1 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.823/1.823, allocations: 292.6 MB / 0.5497 GB, free: 14.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005305/0.0005306, allocations: 20.19 kB / 0.6737 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2951/0.2956, allocations: 116.3 MB / 0.7872 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus): time 0.7739/1.07, allocations: 153 MB / 0.9366 GB, free: 10.29 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01913/1.089, allocations: 11.18 MB / 0.9476 GB, free: 9.52 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00195/1.091, allocations: 26.72 kB / 0.9476 GB, free: 9.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00205/1.093, allocations: 474 kB / 0.948 GB, free: 9.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.009147/1.102, allocations: 1.871 MB / 0.9499 GB, free: 9.305 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004779/1.107, allocations: 1.178 MB / 0.951 GB, free: 9.246 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004/1.111, allocations: 1.464 MB / 0.9524 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001276/1.112, allocations: 0.6073 MB / 0.953 GB, free: 9.09 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001646/1.114, allocations: 0.6509 MB / 0.9537 GB, free: 8.969 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009129/1.115, allocations: 0.4959 MB / 0.9542 GB, free: 8.852 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001195/1.115, allocations: 37.75 kB / 0.9542 GB, free: 8.852 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005504/1.12, allocations: 1.608 MB / 0.9558 GB, free: 8.816 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004863/1.121, allocations: 259.6 kB / 0.956 GB, free: 8.777 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006153/1.122, allocations: 247.3 kB / 0.9563 GB, free: 8.703 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004644/1.126, allocations: 1.858 MB / 0.9581 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/1.126, allocations: 1.5 kB / 0.9581 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of FrontEnd: time 4.388e-06/1.126, allocations: 4 kB / 0.9581 GB, free: 8.562 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.897e-05/1.126, allocations: 0 / 0.9581 GB, free: 8.562 MB / 0.7169 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.003966/1.13, allocations: 1.589 MB / 0.9596 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/1.13, allocations: 9.5 kB / 0.9596 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001646/1.13, allocations: 97.34 kB / 0.9597 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001053/1.132, allocations: 235.7 kB / 0.96 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003129/1.135, allocations: 1.79 MB / 0.9617 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.937e-05/1.135, allocations: 49.69 kB / 0.9617 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001253/1.135, allocations: 63.55 kB / 0.9618 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001472/1.136, allocations: 0.7283 MB / 0.9625 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.669e-05/1.136, allocations: 7.516 kB / 0.9625 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.955e-05/1.136, allocations: 23 kB / 0.9625 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.822e-05/1.137, allocations: 16.66 kB / 0.9626 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001479/1.138, allocations: 0.7103 MB / 0.9633 GB, free: 6.988 MB / 0.7169 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.005076/1.143, allocations: 3.172 MB / 0.9664 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001568/1.145, allocations: 0.7305 MB / 0.9671 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004302/1.149, allocations: 3.601 MB / 0.9706 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006602/1.15, allocations: 363.7 kB / 0.9709 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=52): time 2.765e-06/1.15, allocations: 0 / 0.9709 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of matching and sorting (n=52): time 0.004925/1.155, allocations: 1.464 MB / 0.9724 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.012e-05/1.155, allocations: 80.83 kB / 0.9724 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00309/1.158, allocations: 2.074 MB / 0.9745 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001064/1.158, allocations: 39.58 kB / 0.9745 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004566/1.158, allocations: 0.4923 MB / 0.975 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001634/1.159, allocations: 178 kB / 0.9752 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.535e-05/1.159, allocations: 11.84 kB / 0.9752 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.885e-05/1.159, allocations: 336 kB / 0.9755 GB, free: 408 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005359/1.159, allocations: 289.5 kB / 0.9758 GB, free: 368 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007117/1.16, allocations: 0.5736 MB / 0.9763 GB, free: 152 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006075/1.161, allocations: 345.1 kB / 0.9766 GB, free: 116 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/1.161, allocations: 0 / 0.9766 GB, free: 116 kB / 0.7169 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001996/1.163, allocations: 0.9595 MB / 0.9776 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004407/1.163, allocations: 0.9703 MB / 0.9785 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/1.163, allocations: 7.672 kB / 0.9785 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396/2.559, allocations: 193.5 MB / 1.168 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006913/2.559, allocations: 128.8 kB / 1.168 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001523/2.561, allocations: 1.281 MB / 1.169 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001463/2.563, allocations: 107.9 kB / 1.169 GB, free: 9.969 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001764/2.563, allocations: 32.92 kB / 1.169 GB, free: 9.941 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/2.563, allocations: 5.75 kB / 1.169 GB, free: 9.938 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001937/2.565, allocations: 0.8463 MB / 1.17 GB, free: 9.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/2.565, allocations: 0 / 1.17 GB, free: 9.34 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804/4.369, allocations: 193.5 MB / 1.359 GB, free: 245 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000685/4.37, allocations: 125.5 kB / 1.359 GB, free: 244.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001193/4.371, allocations: 1.284 MB / 1.36 GB, free: 243.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001242/4.372, allocations: 98.03 kB / 1.36 GB, free: 243.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.669e-05/4.372, allocations: 40.95 kB / 1.36 GB, free: 243.6 MB / 0.9981 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 (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.000765/4.373, allocations: 378.1 kB / 1.361 GB, free: 243.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002056/4.373, allocations: 112.8 kB / 1.361 GB, free: 243.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002067/4.375, allocations: 0.9224 MB / 1.362 GB, free: 242.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.569e-05/4.375, allocations: 14.92 kB / 1.362 GB, free: 242.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/4.375, allocations: 8.797 kB / 1.362 GB, free: 242.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001443/4.377, allocations: 0.9515 MB / 1.363 GB, free: 241.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004402/4.381, allocations: 2.072 MB / 1.365 GB, free: 240.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.231e-06/4.381, allocations: 0 / 1.365 GB, free: 240.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000353/4.382, allocations: 84.36 kB / 1.365 GB, free: 240.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5676/4.949, allocations: 96.83 MB / 1.459 GB, free: 143.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002393/4.95, allocations: 19.42 kB / 1.459 GB, free: 143.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001057/4.951, allocations: 0.7518 MB / 1.46 GB, free: 142.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/4.951, allocations: 2.625 kB / 1.46 GB, free: 142.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003806/4.955, allocations: 1.486 MB / 1.462 GB, free: 141.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008913/4.955, allocations: 313.1 kB / 1.462 GB, free: 141.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00016/4.956, allocations: 15.14 kB / 1.462 GB, free: 141.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006782/4.956, allocations: 60.92 kB / 1.462 GB, free: 141.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/4.956, allocations: 38.23 kB / 1.462 GB, free: 141.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.484e-05/4.957, allocations: 24.73 kB / 1.462 GB, free: 141.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001853/4.958, allocations: 1.544 MB / 1.463 GB, free: 140 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.51e-07/4.958, allocations: 0 / 1.463 GB, free: 140 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002844/4.961, allocations: 0.7189 MB / 1.464 GB, free: 139.4 MB / 0.9981 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.00645/4.968, allocations: 3.088 MB / 1.467 GB, free: 137 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00263/4.97, allocations: 1.139 MB / 1.468 GB, free: 136.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/4.97, allocations: 0 / 1.468 GB, free: 136.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006946/4.971, allocations: 350.9 kB / 1.469 GB, free: 135.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002916/4.974, allocations: 474.6 kB / 1.469 GB, free: 135.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00582/4.98, allocations: 4.502 MB / 1.474 GB, free: 131.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005226/4.98, allocations: 1.115 MB / 1.475 GB, free: 130.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001315/4.982, allocations: 278.9 kB / 1.475 GB, free: 129.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006723/4.982, allocations: 435.4 kB / 1.475 GB, free: 129.7 MB / 0.9981 GB Notification: Performance of SimCode: time 9.82e-07/4.982, allocations: 0 / 1.475 GB, free: 129.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08065/5.063, allocations: 37.05 MB / 1.511 GB, free: 93.52 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002099/5.063, allocations: 272.1 kB / 1.512 GB, free: 93.17 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.751/8.814, allocations: 3.938 kB / 1.512 GB, free: 93.16 MB / 0.9981 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_CoolingTowers_Validation_MerkelEnergyPlus_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_CoolingTowers_Validation_MerkelEnergyPlus.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe 2>&1) Environment - environmentSimulation: