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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.573/2.573, allocations: 393.5 MB / 408.4 MB, free: 10.98 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001898/0.001898, allocations: 190.9 kB / 0.4902 GB, free: 2.238 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.616/1.616, allocations: 223.1 MB / 0.7992 GB, free: 14.66 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 108.6 kB / 0.9396 GB, free: 1.809 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004399/0.0004399, allocations: 10.91 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3451/0.3455, allocations: 143 MB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.052/6.398, allocations: 2.167 GB / 3.396 GB, free: 223.4 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004094/6.398, allocations: 89.84 kB / 3.396 GB, free: 223.3 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.261/9.66, allocations: 0.7963 GB / 4.192 GB, free: 258.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 4.629e-06/9.66, allocations: 2.031 kB / 4.192 GB, free: 258.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000111/9.66, allocations: 32.06 kB / 4.192 GB, free: 258.4 MB / 1.167 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.005967/9.666, allocations: 1.74 MB / 4.194 GB, free: 257.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 7.138e-05/9.666, allocations: 13.81 kB / 4.194 GB, free: 257.6 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002513/9.666, allocations: 119.4 kB / 4.194 GB, free: 257.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002434/9.669, allocations: 435.2 kB / 4.194 GB, free: 257.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002679/9.672, allocations: 1.049 MB / 4.195 GB, free: 257.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005969/9.672, allocations: 191.9 kB / 4.196 GB, free: 257.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/9.672, allocations: 79.03 kB / 4.196 GB, free: 257.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002256/9.675, allocations: 1.124 MB / 4.197 GB, free: 257.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.017e-05/9.675, allocations: 6.531 kB / 4.197 GB, free: 257.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.43e-05/9.675, allocations: 22.25 kB / 4.197 GB, free: 257.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-05/9.675, allocations: 37.22 kB / 4.197 GB, free: 257.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0028/9.678, allocations: 1.202 MB / 4.198 GB, free: 257.1 MB / 1.167 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.006632/9.684, allocations: 4.228 MB / 4.202 GB, free: 255.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002349/9.687, allocations: 0.9418 MB / 4.203 GB, free: 255.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007182/9.687, allocations: 0.6404 MB / 4.204 GB, free: 254.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001434/9.689, allocations: 0.6349 MB / 4.204 GB, free: 254.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=57): time 2.475e-06/9.689, allocations: 0 / 4.204 GB, free: 254.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=57): time 0.004187/9.693, allocations: 1.545 MB / 4.206 GB, free: 254.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.615e-05/9.693, allocations: 87.27 kB / 4.206 GB, free: 254.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001015/9.694, allocations: 0.7303 MB / 4.207 GB, free: 254.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 9.957e-05/9.694, allocations: 40.73 kB / 4.207 GB, free: 254.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003318/9.694, allocations: 430.8 kB / 4.207 GB, free: 254.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001725/9.695, allocations: 192 kB / 4.207 GB, free: 254 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.296e-05/9.695, allocations: 14.03 kB / 4.207 GB, free: 254 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.422e-05/9.695, allocations: 332.3 kB / 4.208 GB, free: 253.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001124/9.696, allocations: 457.8 kB / 4.208 GB, free: 253.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001213/9.697, allocations: 0.6101 MB / 4.209 GB, free: 253.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/9.698, allocations: 0.4977 MB / 4.209 GB, free: 253.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/9.698, allocations: 0 / 4.209 GB, free: 253.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002807/9.701, allocations: 1.169 MB / 4.21 GB, free: 253.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002163/9.701, allocations: 0.7323 MB / 4.211 GB, free: 252.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/9.701, allocations: 2.25 kB / 4.211 GB, free: 252.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.793e-05/9.701, allocations: 6.875 kB / 4.211 GB, free: 252.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001323/9.703, allocations: 247.6 kB / 4.211 GB, free: 252.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005513/9.703, allocations: 1.196 MB / 4.212 GB, free: 251.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001382/9.705, allocations: 197.6 kB / 4.213 GB, free: 251.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.234e-05/9.705, allocations: 36.06 kB / 4.213 GB, free: 251.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/9.705, allocations: 3.156 kB / 4.213 GB, free: 251.4 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002623/9.707, allocations: 1.067 MB / 4.214 GB, free: 251.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/9.707, allocations: 10.88 kB / 4.214 GB, free: 251.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.273e-06/9.708, allocations: 2.188 kB / 4.214 GB, free: 251.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/9.709, allocations: 228.1 kB / 4.214 GB, free: 251.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/9.709, allocations: 8.938 kB / 4.214 GB, free: 251.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001261/9.71, allocations: 189 kB / 4.214 GB, free: 251.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.827e-05/9.71, allocations: 35.09 kB / 4.214 GB, free: 251.3 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (69): * Single equations (assignments): 66 * 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.0006803/9.711, allocations: 340.5 kB / 4.214 GB, free: 251.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001515/9.711, allocations: 96 kB / 4.215 GB, free: 251.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002971/9.714, allocations: 1.238 MB / 4.216 GB, free: 251 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.436e-05/9.714, allocations: 10.41 kB / 4.216 GB, free: 251 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/9.714, allocations: 0 / 4.216 GB, free: 251 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/9.714, allocations: 0 / 4.216 GB, free: 251 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004679/9.718, allocations: 2.41 MB / 4.218 GB, free: 250.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.896e-06/9.719, allocations: 3.906 kB / 4.218 GB, free: 250.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001107/9.72, allocations: 219.5 kB / 4.218 GB, free: 250.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.149e-05/9.72, allocations: 10.53 kB / 4.218 GB, free: 250.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.937e-05/9.72, allocations: 20.66 kB / 4.218 GB, free: 250.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005136/9.72, allocations: 1.195 MB / 4.22 GB, free: 249.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/9.72, allocations: 9.859 kB / 4.22 GB, free: 249.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00301/9.723, allocations: 1.442 MB / 4.221 GB, free: 248.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006661/9.724, allocations: 292.3 kB / 4.221 GB, free: 248.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001285/9.724, allocations: 16.56 kB / 4.221 GB, free: 248.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001194/9.725, allocations: 169.7 kB / 4.221 GB, free: 248.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/9.725, allocations: 63.06 kB / 4.221 GB, free: 248.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-05/9.726, allocations: 32.89 kB / 4.222 GB, free: 248.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0007671/9.726, allocations: 0.5802 MB / 4.222 GB, free: 248.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.81e-07/9.726, allocations: 0 / 4.222 GB, free: 248.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002041/9.728, allocations: 0.6242 MB / 4.223 GB, free: 248.6 MB / 1.167 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.005678/9.734, allocations: 4.332 MB / 4.227 GB, free: 246.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004411/9.738, allocations: 1.745 MB / 4.229 GB, free: 246.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/9.738, allocations: 0 / 4.229 GB, free: 246.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001536/9.74, allocations: 0.6093 MB / 4.229 GB, free: 246.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002321/9.742, allocations: 452.7 kB / 4.23 GB, free: 246.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005448/9.748, allocations: 3.865 MB / 4.233 GB, free: 243.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004944/9.748, allocations: 1.057 MB / 4.234 GB, free: 243.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001395/9.75, allocations: 294.5 kB / 4.235 GB, free: 243.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005166/9.75, allocations: 363.5 kB / 4.235 GB, free: 243.1 MB / 1.167 GB Notification: Performance of SimCode: time 1.754e-06/9.75, allocations: 0 / 4.235 GB, free: 243.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08242/9.833, allocations: 49.74 MB / 4.284 GB, free: 220.9 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001961/9.833, allocations: 265.7 kB / 4.284 GB, free: 220.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.956/13.79, allocations: 0 / 4.284 GB, free: 220.5 MB / 1.167 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) 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