Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Fluid_HeatExchangers_CoolingTowers_Validation_MerkelEnergyPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,fileNamePrefix="Buildings_latest_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.001821/0.001821, allocations: 99.86 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.002065/0.002065, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.579/2.579, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.229/4.229, allocations: 409.2 MB / 0.6838 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006579/0.0006582, allocations: 12 kB / 0.8375 GB, free: 6.559 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.442/1.443, allocations: 146.8 MB / 0.9809 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus): time 0.2668/1.71, allocations: 153.1 MB / 1.13 GB, free: 12.84 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01897/1.729, allocations: 11.35 MB / 1.141 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00208/1.731, allocations: 31.81 kB / 1.141 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002118/1.733, allocations: 473.6 kB / 1.142 GB, free: 0.9648 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.007842/1.741, allocations: 1.887 MB / 1.144 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004632/1.745, allocations: 1.187 MB / 1.145 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003867/1.749, allocations: 1.475 MB / 1.146 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001747/1.751, allocations: 0.614 MB / 1.147 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002165/1.753, allocations: 0.6538 MB / 1.148 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001118/1.754, allocations: 0.49 MB / 1.148 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001162/1.754, allocations: 40 kB / 1.148 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004582/1.759, allocations: 1.619 MB / 1.15 GB, free: 9 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003258/1.759, allocations: 267 kB / 1.15 GB, free: 8.738 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003957/1.76, allocations: 245.1 kB / 1.15 GB, free: 8.492 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003119/1.763, allocations: 1.878 MB / 1.152 GB, free: 6.613 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/1.763, allocations: 3.938 kB / 1.152 GB, free: 6.609 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.763e-06/1.763, allocations: 3.938 kB / 1.152 GB, free: 6.605 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.57e-05/1.763, allocations: 0 / 1.152 GB, free: 6.605 MB / 0.9044 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.003084/1.766, allocations: 1.596 MB / 1.154 GB, free: 4.949 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/1.766, allocations: 12.03 kB / 1.154 GB, free: 4.938 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001639/1.766, allocations: 98.52 kB / 1.154 GB, free: 4.832 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008749/1.767, allocations: 230.2 kB / 1.154 GB, free: 4.605 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002499/1.77, allocations: 1.794 MB / 1.156 GB, free: 2.758 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.34e-05/1.77, allocations: 49.31 kB / 1.156 GB, free: 2.707 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/1.77, allocations: 64 kB / 1.156 GB, free: 2.645 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001452/1.771, allocations: 0.7518 MB / 1.157 GB, free: 1.867 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.564e-05/1.771, allocations: 4 kB / 1.157 GB, free: 1.863 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.064e-05/1.772, allocations: 20 kB / 1.157 GB, free: 1.844 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.917e-05/1.772, allocations: 16 kB / 1.157 GB, free: 1.828 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002147/1.774, allocations: 0.7156 MB / 1.157 GB, free: 1.113 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.008018/1.782, allocations: 3.203 MB / 1.16 GB, free: 13.77 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002796/1.785, allocations: 0.7228 MB / 1.161 GB, free: 13.04 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00765/1.792, allocations: 3.597 MB / 1.165 GB, free: 8.879 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001351/1.794, allocations: 369.2 kB / 1.165 GB, free: 8.504 MB / 0.92 GB Notification: Performance of pre-optimization done (n=52): time 4.388e-06/1.794, allocations: 4 kB / 1.165 GB, free: 8.5 MB / 0.92 GB Notification: Performance of matching and sorting (n=52): time 0.009911/1.804, allocations: 1.456 MB / 1.166 GB, free: 7.02 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.432e-05/1.804, allocations: 81.55 kB / 1.166 GB, free: 6.922 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004028/1.808, allocations: 2.071 MB / 1.168 GB, free: 4.836 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002115/1.808, allocations: 37.7 kB / 1.169 GB, free: 4.793 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005451/1.809, allocations: 0.5124 MB / 1.169 GB, free: 4.277 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002393/1.809, allocations: 185.4 kB / 1.169 GB, free: 4.094 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.906e-05/1.809, allocations: 16 kB / 1.169 GB, free: 4.078 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001582/1.809, allocations: 334 kB / 1.17 GB, free: 3.746 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000696/1.81, allocations: 285.2 kB / 1.17 GB, free: 3.469 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001193/1.811, allocations: 0.5717 MB / 1.17 GB, free: 2.844 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001011/1.812, allocations: 342 kB / 1.171 GB, free: 2.512 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.264e-05/1.812, allocations: 0 / 1.171 GB, free: 2.512 MB / 0.92 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.004586/1.817, allocations: 0.9679 MB / 1.172 GB, free: 1.531 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008822/1.818, allocations: 0.9679 MB / 1.173 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.245e-05/1.818, allocations: 4 kB / 1.173 GB, free: 500 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826/3.643, allocations: 193.5 MB / 1.362 GB, free: 168.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000614/3.644, allocations: 128.2 kB / 1.362 GB, free: 168.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001206/3.645, allocations: 1.286 MB / 1.363 GB, free: 167.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001067/3.646, allocations: 100.2 kB / 1.363 GB, free: 167.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.772e-05/3.647, allocations: 33.67 kB / 1.363 GB, free: 167.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/3.647, allocations: 4 kB / 1.363 GB, free: 167.3 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001627/3.648, allocations: 0.8441 MB / 1.364 GB, free: 166.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/3.648, allocations: 3.938 kB / 1.364 GB, free: 166.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118/4.767, allocations: 193.5 MB / 1.553 GB, free: 5.105 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006038/4.767, allocations: 131.3 kB / 1.553 GB, free: 4.984 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001396/4.769, allocations: 1.275 MB / 1.554 GB, free: 3.742 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/4.77, allocations: 93.3 kB / 1.554 GB, free: 3.684 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001257/4.77, allocations: 35.17 kB / 1.554 GB, free: 3.656 MB / 1.029 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.0007004/4.771, allocations: 385.2 kB / 1.555 GB, free: 3.32 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002677/4.771, allocations: 112.5 kB / 1.555 GB, free: 3.27 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002155/4.773, allocations: 0.9375 MB / 1.556 GB, free: 2.344 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.314e-05/4.773, allocations: 8 kB / 1.556 GB, free: 2.336 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/4.773, allocations: 0 / 1.556 GB, free: 2.336 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001525/4.775, allocations: 0.9616 MB / 1.557 GB, free: 1.305 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004416/4.779, allocations: 2.081 MB / 1.559 GB, free: 15.2 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/4.779, allocations: 0 / 1.559 GB, free: 15.2 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003411/4.779, allocations: 83.89 kB / 1.559 GB, free: 15.11 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.6284/5.408, allocations: 96.84 MB / 1.653 GB, free: 14.17 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001472/5.408, allocations: 19.98 kB / 1.653 GB, free: 14.15 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009968/5.409, allocations: 0.7389 MB / 1.654 GB, free: 13.39 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/5.409, allocations: 4.062 kB / 1.654 GB, free: 13.39 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003549/5.413, allocations: 1.476 MB / 1.656 GB, free: 11.87 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005926/5.413, allocations: 314.7 kB / 1.656 GB, free: 11.55 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002108/5.413, allocations: 20.06 kB / 1.656 GB, free: 11.53 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000671/5.414, allocations: 48.56 kB / 1.656 GB, free: 11.48 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.761e-05/5.414, allocations: 40.33 kB / 1.656 GB, free: 11.45 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.821e-05/5.414, allocations: 41.45 kB / 1.656 GB, free: 11.41 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001704/5.416, allocations: 1.54 MB / 1.658 GB, free: 9.859 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.71e-07/5.416, allocations: 0 / 1.658 GB, free: 9.859 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.002118/5.418, allocations: 0.7259 MB / 1.658 GB, free: 9.207 MB / 1.139 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.006448/5.425, allocations: 3.079 MB / 1.661 GB, free: 6.387 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002784/5.427, allocations: 1.147 MB / 1.662 GB, free: 5.246 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/5.427, allocations: 0 / 1.662 GB, free: 5.246 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0007359/5.428, allocations: 358.9 kB / 1.663 GB, free: 4.898 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002826/5.431, allocations: 465.7 kB / 1.663 GB, free: 4.445 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005989/5.437, allocations: 4.519 MB / 1.668 GB, free: 15.86 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007604/5.438, allocations: 1.124 MB / 1.669 GB, free: 14.71 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001352/5.439, allocations: 285.7 kB / 1.669 GB, free: 14.43 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005308/5.44, allocations: 439.3 kB / 1.669 GB, free: 14 MB / 1.154 GB Notification: Performance of SimCode: time 2.034e-06/5.44, allocations: 0 / 1.669 GB, free: 14 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.861/9.301, allocations: 36.98 MB / 1.705 GB, free: 417.6 MB / 1.154 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001957/9.301, allocations: 289.5 kB / 1.706 GB, free: 417.2 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.711/12.01, allocations: 0 / 1.706 GB, free: 417.2 MB / 1.154 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_CoolingTowers_Validation_MerkelEnergyPlus_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_CoolingTowers_Validation_MerkelEnergyPlus.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus_res.mat does not exist to compare? outputFormat=mat