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/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007707/0.0007709, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.000813/0.000813, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.296/1.296, allocations: 223.2 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.24/2.24, allocations: 390.4 MB / 0.6655 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003439/0.000344, allocations: 15.98 kB / 0.8149 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5876/0.5879, allocations: 142.3 MB / 0.9539 GB, free: 8.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus): time 0.1608/0.7488, allocations: 165.1 MB / 1.115 GB, free: 10.6 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01553/0.7644, allocations: 12.42 MB / 1.127 GB, free: 14.16 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001543/0.766, allocations: 27.81 kB / 1.127 GB, free: 14.13 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001179/0.7672, allocations: 377.7 kB / 1.128 GB, free: 13.76 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004674/0.7719, allocations: 1.738 MB / 1.129 GB, free: 12.02 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002352/0.7742, allocations: 0.8456 MB / 1.13 GB, free: 11.18 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002901/0.7771, allocations: 2.61 MB / 1.133 GB, free: 8.566 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008195/0.778, allocations: 0.6139 MB / 1.133 GB, free: 7.941 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001036/0.779, allocations: 0.7233 MB / 1.134 GB, free: 7.215 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007713/0.7798, allocations: 0.6456 MB / 1.135 GB, free: 6.566 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 9.348e-05/0.7799, allocations: 40 kB / 1.135 GB, free: 6.527 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003391/0.7833, allocations: 1.779 MB / 1.136 GB, free: 4.746 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003294/0.7836, allocations: 286.9 kB / 1.137 GB, free: 4.465 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002554/0.7839, allocations: 249 kB / 1.137 GB, free: 4.215 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002779/0.7867, allocations: 1.968 MB / 1.139 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.7867, allocations: 0 / 1.139 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.054e-06/0.7867, allocations: 3.938 kB / 1.139 GB, free: 2.238 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.76e-05/0.7867, allocations: 0 / 1.139 GB, free: 2.238 MB / 0.8887 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.003694/0.7904, allocations: 1.619 MB / 1.14 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.7905, allocations: 8.031 kB / 1.14 GB, free: 0.5469 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001782/0.7907, allocations: 98.52 kB / 1.14 GB, free: 452 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001238/0.7919, allocations: 234.2 kB / 1.141 GB, free: 216 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003362/0.7953, allocations: 1.81 MB / 1.142 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.652e-05/0.7954, allocations: 45.31 kB / 1.143 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001411/0.7955, allocations: 67.94 kB / 1.143 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001498/0.7971, allocations: 0.7559 MB / 1.143 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.507e-05/0.7971, allocations: 0 / 1.143 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.806e-05/0.7972, allocations: 31.98 kB / 1.143 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.695e-05/0.7972, allocations: 15.94 kB / 1.143 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002123/0.7994, allocations: 0.7584 MB / 1.144 GB, free: 12.65 MB / 0.9044 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.006496/0.8059, allocations: 3.27 MB / 1.147 GB, free: 9.238 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002173/0.8081, allocations: 0.7663 MB / 1.148 GB, free: 8.465 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009017/0.809, allocations: 334 kB / 1.148 GB, free: 8.137 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00587/0.8149, allocations: 3.659 MB / 1.152 GB, free: 3.914 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00111/0.816, allocations: 385.3 kB / 1.152 GB, free: 3.523 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=52): time 3.377e-06/0.816, allocations: 0 / 1.152 GB, free: 3.523 MB / 0.9044 GB Notification: Performance of matching and sorting (n=52): time 0.007296/0.8233, allocations: 1.515 MB / 1.154 GB, free: 1.98 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.883e-05/0.8234, allocations: 85.48 kB / 1.154 GB, free: 1.879 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004118/0.8276, allocations: 2.063 MB / 1.156 GB, free: 15.8 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 8.863e-05/0.8277, allocations: 41.69 kB / 1.156 GB, free: 15.75 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007038/0.8284, allocations: 0.5008 MB / 1.156 GB, free: 15.25 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.00024/0.8286, allocations: 189.3 kB / 1.157 GB, free: 15.06 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.518e-05/0.8287, allocations: 12 kB / 1.157 GB, free: 15.05 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.8289, allocations: 334 kB / 1.157 GB, free: 14.72 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001013/0.8299, allocations: 309.2 kB / 1.157 GB, free: 14.42 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00133/0.8313, allocations: 0.5892 MB / 1.158 GB, free: 13.77 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00114/0.8324, allocations: 354 kB / 1.158 GB, free: 13.43 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.137e-06/0.8324, allocations: 4 kB / 1.158 GB, free: 13.43 MB / 0.92 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.003209/0.8357, allocations: 0.9991 MB / 1.159 GB, free: 12.41 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001399/0.8358, allocations: 164.5 kB / 1.159 GB, free: 12.22 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.967e-05/0.8358, allocations: 4 kB / 1.159 GB, free: 12.21 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549/2.385, allocations: 193.5 MB / 1.348 GB, free: 204 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005757/2.385, allocations: 128 kB / 1.348 GB, free: 203.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001052/2.386, allocations: 1.294 MB / 1.35 GB, free: 202.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008611/2.387, allocations: 103.5 kB / 1.35 GB, free: 202.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-05/2.387, allocations: 29.86 kB / 1.35 GB, free: 202.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 8.255e-06/2.387, allocations: 8 kB / 1.35 GB, free: 202.5 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001566/2.389, allocations: 0.8689 MB / 1.351 GB, free: 201.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/2.389, allocations: 0 / 1.351 GB, free: 201.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037/3.426, allocations: 193.5 MB / 1.54 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005406/3.426, allocations: 129 kB / 1.54 GB, free: 8.129 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009853/3.427, allocations: 1.282 MB / 1.541 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008467/3.428, allocations: 98.89 kB / 1.541 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-05/3.428, allocations: 35.61 kB / 1.541 GB, free: 6.801 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.0004583/3.429, allocations: 373.6 kB / 1.541 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/3.429, allocations: 118.4 kB / 1.542 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001756/3.431, allocations: 0.9622 MB / 1.543 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/3.431, allocations: 8 kB / 1.543 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/3.431, allocations: 0 / 1.543 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001259/3.432, allocations: 0.9851 MB / 1.544 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003545/3.436, allocations: 2.136 MB / 1.546 GB, free: 2.191 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/3.436, allocations: 7 kB / 1.546 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003059/3.436, allocations: 87.84 kB / 1.546 GB, free: 2.102 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5397/3.976, allocations: 96.84 MB / 1.64 GB, free: 1.152 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001354/3.976, allocations: 19.92 kB / 1.64 GB, free: 1.137 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009541/3.977, allocations: 0.7478 MB / 1.641 GB, free: 376 kB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/3.977, allocations: 3.984 kB / 1.641 GB, free: 372 kB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003478/3.98, allocations: 1.506 MB / 1.642 GB, free: 14.84 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004588/3.981, allocations: 320.9 kB / 1.643 GB, free: 14.51 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001352/3.981, allocations: 12 kB / 1.643 GB, free: 14.5 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005976/3.981, allocations: 52.02 kB / 1.643 GB, free: 14.45 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8e-05/3.982, allocations: 39.95 kB / 1.643 GB, free: 14.41 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-05/3.982, allocations: 27.98 kB / 1.643 GB, free: 14.39 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001622/3.983, allocations: 1.536 MB / 1.644 GB, free: 12.84 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.8e-07/3.983, allocations: 0 / 1.644 GB, free: 12.84 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.00173/3.985, allocations: 0.7159 MB / 1.645 GB, free: 12.2 MB / 1.107 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.005545/3.991, allocations: 2.881 MB / 1.648 GB, free: 9.578 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.002333/3.993, allocations: 1.199 MB / 1.649 GB, free: 8.387 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/3.993, allocations: 0 / 1.649 GB, free: 8.387 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.000696/3.994, allocations: 378.8 kB / 1.649 GB, free: 8.016 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002077/3.996, allocations: 478 kB / 1.65 GB, free: 7.551 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01348/4.009, allocations: 9.529 MB / 1.659 GB, free: 13.78 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006543/4.01, allocations: 1.1 MB / 1.66 GB, free: 12.65 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0009595/4.011, allocations: 275.4 kB / 1.661 GB, free: 12.38 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005384/4.011, allocations: 439.3 kB / 1.661 GB, free: 11.95 MB / 1.123 GB Notification: Performance of SimCode: time 4.21e-07/4.011, allocations: 0 / 1.661 GB, free: 11.95 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4769/4.488, allocations: 37.3 MB / 1.697 GB, free: 403.3 MB / 1.123 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001441/4.488, allocations: 289.1 kB / 1.698 GB, free: 403 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.772/7.26, allocations: 7.75 kB / 1.698 GB, free: 403 MB / 1.123 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_CoolingTowers_Validation_MerkelEnergyPlus_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_CoolingTowers_Validation_MerkelEnergyPlus.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus_res.mat does not exist to compare? outputFormat=mat