Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.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.Validation.ConstantEffectiveness,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness",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.001401/0.001401, allocations: 99.08 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.001641/0.001641, 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 4.0.0+maint.om/package.mo): time 1.266/1.266, allocations: 223.2 MB / 239.9 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.437/2.437, allocations: 409.2 MB / 0.6838 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003819/0.0003819, allocations: 15.98 kB / 0.8375 GB, free: 6.477 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7432/0.7436, allocations: 146.8 MB / 0.9809 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.1854/0.929, allocations: 166.8 MB / 1.144 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01363/0.9427, allocations: 7.048 MB / 1.151 GB, free: 7.957 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001635/0.9444, allocations: 35.75 kB / 1.151 GB, free: 7.922 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002148/0.9466, allocations: 0.6182 MB / 1.151 GB, free: 7.301 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.005705/0.9523, allocations: 1.857 MB / 1.153 GB, free: 5.441 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003263/0.9556, allocations: 1.089 MB / 1.154 GB, free: 4.371 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003184/0.9588, allocations: 1.557 MB / 1.156 GB, free: 2.809 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001171/0.96, allocations: 0.7426 MB / 1.156 GB, free: 2.051 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002507/0.9625, allocations: 1.09 MB / 1.157 GB, free: 0.957 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008062/0.9633, allocations: 0.5562 MB / 1.158 GB, free: 408 kB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 9.275e-05/0.9634, allocations: 40 kB / 1.158 GB, free: 368 kB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002514/0.9659, allocations: 1.104 MB / 1.159 GB, free: 15.25 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002536/0.9662, allocations: 247 kB / 1.159 GB, free: 15.01 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002823/0.9665, allocations: 237.1 kB / 1.16 GB, free: 14.77 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00162/0.9681, allocations: 1.403 MB / 1.161 GB, free: 13.37 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.9681, allocations: 0 / 1.161 GB, free: 13.37 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.234e-06/0.9681, allocations: 0 / 1.161 GB, free: 13.37 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.021e-05/0.9681, allocations: 0 / 1.161 GB, free: 13.37 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.003284/0.9714, allocations: 1.453 MB / 1.162 GB, free: 11.86 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.9715, allocations: 12.03 kB / 1.162 GB, free: 11.85 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001474/0.9716, allocations: 114.5 kB / 1.162 GB, free: 11.73 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00233/0.974, allocations: 478 kB / 1.163 GB, free: 11.26 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00155/0.9755, allocations: 0.8597 MB / 1.164 GB, free: 10.36 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006264/0.9762, allocations: 185.9 kB / 1.164 GB, free: 10.17 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.9763, allocations: 72 kB / 1.164 GB, free: 10.1 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002352/0.9787, allocations: 1.122 MB / 1.165 GB, free: 8.961 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.9787, allocations: 0 / 1.165 GB, free: 8.961 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.752e-05/0.9788, allocations: 31.98 kB / 1.165 GB, free: 8.93 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-05/0.9788, allocations: 33.98 kB / 1.165 GB, free: 8.895 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003128/0.982, allocations: 1.265 MB / 1.166 GB, free: 7.633 MB / 0.92 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.006555/0.9885, allocations: 4.181 MB / 1.17 GB, free: 3.156 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002721/0.9913, allocations: 0.9435 MB / 1.171 GB, free: 2.207 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006843/0.992, allocations: 490.1 kB / 1.172 GB, free: 1.637 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001563/0.9936, allocations: 0.6303 MB / 1.172 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of pre-optimization done (n=57): time 2.554e-06/0.9936, allocations: 0 / 1.172 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of matching and sorting (n=57): time 0.004311/0.9979, allocations: 1.513 MB / 1.174 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.76e-05/0.998, allocations: 97.61 kB / 1.174 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/0.999, allocations: 0.8354 MB / 1.175 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 9.665e-05/0.9992, allocations: 41.69 kB / 1.175 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003315/0.9995, allocations: 428.3 kB / 1.175 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001747/0.9997, allocations: 189.2 kB / 1.176 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-05/0.9997, allocations: 12 kB / 1.176 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.9999, allocations: 330 kB / 1.176 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001253/1.001, allocations: 452.7 kB / 1.176 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001324/1.002, allocations: 0.5626 MB / 1.177 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001253/1.004, allocations: 495.6 kB / 1.177 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/1.004, allocations: 0 / 1.177 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002988/1.007, allocations: 1.136 MB / 1.178 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002799/1.007, allocations: 0.6397 MB / 1.179 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/1.007, allocations: 12.03 kB / 1.179 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/1.007, allocations: 7.938 kB / 1.179 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001405/1.008, allocations: 247.7 kB / 1.179 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007343/1.009, allocations: 1.188 MB / 1.18 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001286/1.011, allocations: 191.3 kB / 1.181 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-05/1.011, allocations: 31.98 kB / 1.181 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/1.011, allocations: 9.719 kB / 1.181 GB, free: 8.406 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002697/1.013, allocations: 1.034 MB / 1.182 GB, free: 7.363 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/1.013, allocations: 8.141 kB / 1.182 GB, free: 7.355 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.187e-06/1.013, allocations: 4 kB / 1.182 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009578/1.014, allocations: 215.8 kB / 1.182 GB, free: 7.141 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/1.014, allocations: 4 kB / 1.182 GB, free: 7.137 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001197/1.016, allocations: 187.2 kB / 1.182 GB, free: 6.953 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.526e-05/1.016, allocations: 27.98 kB / 1.182 GB, free: 6.926 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005914/1.016, allocations: 337 kB / 1.182 GB, free: 6.586 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001574/1.016, allocations: 98.83 kB / 1.183 GB, free: 6.488 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003098/1.02, allocations: 1.21 MB / 1.184 GB, free: 5.277 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.375e-05/1.02, allocations: 8 kB / 1.184 GB, free: 5.27 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/1.02, allocations: 3.984 kB / 1.184 GB, free: 5.266 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/1.02, allocations: 3.984 kB / 1.184 GB, free: 5.262 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004724/1.024, allocations: 2.407 MB / 1.186 GB, free: 2.758 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.277e-06/1.024, allocations: 4 kB / 1.186 GB, free: 2.754 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001043/1.025, allocations: 228 kB / 1.186 GB, free: 2.531 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.021e-05/1.025, allocations: 4 kB / 1.186 GB, free: 2.527 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.329e-05/1.025, allocations: 23.94 kB / 1.186 GB, free: 2.504 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005875/1.026, allocations: 1.188 MB / 1.187 GB, free: 1.27 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/1.026, allocations: 0 / 1.187 GB, free: 1.27 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003047/1.029, allocations: 1.427 MB / 1.189 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005257/1.03, allocations: 291.5 kB / 1.189 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001316/1.03, allocations: 16 kB / 1.189 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/1.031, allocations: 159.8 kB / 1.189 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001426/1.031, allocations: 60.25 kB / 1.189 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.455e-05/1.031, allocations: 35.97 kB / 1.189 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007572/1.032, allocations: 0.5781 MB / 1.19 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/1.032, allocations: 0 / 1.19 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001305/1.033, allocations: 491 kB / 1.19 GB, free: 14.09 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004016/1.037, allocations: 2.905 MB / 1.193 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.004714/1.042, allocations: 1.723 MB / 1.195 GB, free: 9.34 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/1.042, allocations: 0 / 1.195 GB, free: 9.34 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001671/1.044, allocations: 0.6003 MB / 1.196 GB, free: 8.742 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002397/1.046, allocations: 468 kB / 1.196 GB, free: 8.285 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01326/1.059, allocations: 7.152 MB / 1.203 GB, free: 0.8984 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006588/1.06, allocations: 1.062 MB / 1.204 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001416/1.061, allocations: 286.3 kB / 1.204 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005223/1.062, allocations: 363.3 kB / 1.205 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of SimCode: time 1.383e-06/1.062, allocations: 0 / 1.205 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4167/1.479, allocations: 27.3 MB / 1.231 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002398/1.479, allocations: 264.9 kB / 1.232 GB, free: 3.996 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.789/4.268, allocations: 0 / 1.232 GB, free: 3.996 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness_res.mat does not exist to compare? outputFormat=mat