Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo) Using package ObsoleteModelica4 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 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) 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) Running command: "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConvectivePipe,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConvectivePipe,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 221.5 MB / 229.6 MB, free: 7.582 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009394/0.0009394, allocations: 91.62 kB / 280.5 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo): time 0.009692/0.009692, allocations: 1.559 MB / 332.8 MB, free: 13.55 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.7342/0.7342, allocations: 90.04 MB / 474 MB, free: 13.03 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2e-05/2.002e-05, allocations: 3 kB / 0.5376 GB, free: 33.16 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.1674, allocations: 69.37 MB / 0.6053 GB, free: 16 kB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.111/1.279, allocations: 353.2 MB / 0.9502 GB, free: 229 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002961/1.279, allocations: 78.88 kB / 0.9503 GB, free: 228.9 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.1831/1.462, allocations: 99 MB / 1.047 GB, free: 130.9 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.154e-06/1.462, allocations: 0 / 1.047 GB, free: 130.9 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.599e-05/1.462, allocations: 15.98 kB / 1.047 GB, free: 130.9 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001903/1.464, allocations: 0.7917 MB / 1.048 GB, free: 130 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/1.464, allocations: 8.031 kB / 1.048 GB, free: 130 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003505/1.464, allocations: 63.3 kB / 1.048 GB, free: 129.9 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005559/1.465, allocations: 371.4 kB / 1.048 GB, free: 129.5 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/1.465, allocations: 12 kB / 1.048 GB, free: 129.5 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.094e-05/1.465, allocations: 24 kB / 1.048 GB, free: 129.5 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005494/1.466, allocations: 362.5 kB / 1.049 GB, free: 129.2 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005287/1.466, allocations: 385.1 kB / 1.049 GB, free: 128.8 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/1.466, allocations: 0 / 1.049 GB, free: 128.8 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.893e-05/1.466, allocations: 0 / 1.049 GB, free: 128.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/1.466, allocations: 19.89 kB / 1.049 GB, free: 128.7 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001929/1.468, allocations: 1.973 MB / 1.051 GB, free: 126.6 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005452/1.469, allocations: 441.5 kB / 1.051 GB, free: 126.1 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000194/1.469, allocations: 181.7 kB / 1.051 GB, free: 125.9 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00027/1.469, allocations: 434.5 kB / 1.052 GB, free: 125.4 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.555e-05/1.469, allocations: 42.56 kB / 1.052 GB, free: 125.4 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=44): time 1.904e-06/1.469, allocations: 0 / 1.052 GB, free: 125.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=44): time 0.002654/1.472, allocations: 0.7132 MB / 1.053 GB, free: 124.7 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.172e-05/1.472, allocations: 81.11 kB / 1.053 GB, free: 124.6 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002126/1.472, allocations: 262.3 kB / 1.053 GB, free: 124.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/1.472, allocations: 25.7 kB / 1.053 GB, free: 124.3 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.91e-05/1.472, allocations: 240.3 kB / 1.053 GB, free: 124 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.978e-05/1.472, allocations: 145.8 kB / 1.053 GB, free: 123.9 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.689e-05/1.473, allocations: 0 / 1.053 GB, free: 123.9 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.562e-05/1.473, allocations: 346.8 kB / 1.054 GB, free: 123.5 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000159/1.473, allocations: 124.9 kB / 1.054 GB, free: 123.4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001755/1.473, allocations: 176.2 kB / 1.054 GB, free: 123.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004604/1.473, allocations: 148.7 kB / 1.054 GB, free: 123.1 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/1.473, allocations: 0 / 1.054 GB, free: 123.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.002493/1.476, allocations: 0.743 MB / 1.055 GB, free: 122.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/1.476, allocations: 4 kB / 1.055 GB, free: 122.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/1.476, allocations: 4 kB / 1.055 GB, free: 122.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002328/1.478, allocations: 477.3 kB / 1.055 GB, free: 121.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002326/1.479, allocations: 67.89 kB / 1.055 GB, free: 121.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001334/1.48, allocations: 2.043 MB / 1.057 GB, free: 119.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002783/1.48, allocations: 35.8 kB / 1.057 GB, free: 119.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.273e-05/1.48, allocations: 19.98 kB / 1.057 GB, free: 119.5 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (thermalConvection.turb_flag) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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: 1 {(1,100.0%) 3} * Non-linear torn systems: 1 {1 11} Notification: Performance of prepare postOptimizeDAE: time 9.719e-05/1.48, allocations: 113.2 kB / 1.057 GB, free: 119.4 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002541/1.483, allocations: 0.7206 MB / 1.058 GB, free: 118.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.087e-05/1.483, allocations: 39.53 kB / 1.058 GB, free: 118.6 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002663/1.486, allocations: 0.7952 MB / 1.059 GB, free: 117.8 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.455e-06/1.486, allocations: 4 kB / 1.059 GB, free: 117.8 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/1.486, allocations: 4.141 kB / 1.059 GB, free: 117.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/1.486, allocations: 3.984 kB / 1.059 GB, free: 117.8 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003205/1.489, allocations: 1.297 MB / 1.06 GB, free: 116.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/1.489, allocations: 3.984 kB / 1.06 GB, free: 116.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002145/1.489, allocations: 55.97 kB / 1.06 GB, free: 116.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002297/1.491, allocations: 473.3 kB / 1.061 GB, free: 115.9 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.988e-05/1.491, allocations: 11.98 kB / 1.061 GB, free: 115.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001245/1.493, allocations: 2.043 MB / 1.063 GB, free: 113.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/1.493, allocations: 3.984 kB / 1.063 GB, free: 113.7 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002804/1.496, allocations: 1.118 MB / 1.064 GB, free: 112.6 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/1.496, allocations: 124.5 kB / 1.064 GB, free: 112.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.262e-05/1.496, allocations: 4 kB / 1.064 GB, free: 112.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002664/1.496, allocations: 23.83 kB / 1.064 GB, free: 112.4 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.83e-05/1.496, allocations: 39.97 kB / 1.064 GB, free: 112.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.732e-05/1.496, allocations: 12 kB / 1.064 GB, free: 112.4 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001752/1.496, allocations: 196.6 kB / 1.064 GB, free: 112.2 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.1e-07/1.496, allocations: 0 / 1.064 GB, free: 112.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006543/1.497, allocations: 195.6 kB / 1.064 GB, free: 112 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (flowResistance.inlet.m_flow,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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: 1 {(1,100.0%) 3} * Non-linear torn systems: 1 {1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.003349/1.5, allocations: 2.09 MB / 1.067 GB, free: 109.9 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007211/1.501, allocations: 0.4987 MB / 1.067 GB, free: 109.3 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/1.501, allocations: 0 / 1.067 GB, free: 109.3 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004097/1.502, allocations: 343.3 kB / 1.067 GB, free: 109 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006457/1.502, allocations: 110.6 kB / 1.067 GB, free: 108.9 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/1.504, allocations: 0.7519 MB / 1.068 GB, free: 108.1 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002342/1.504, allocations: 0.8434 MB / 1.069 GB, free: 107.2 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002036/1.504, allocations: 59.06 kB / 1.069 GB, free: 107.2 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001538/1.504, allocations: 159.4 kB / 1.069 GB, free: 107 MB / 0.6042 GB Notification: Performance of SimCode: time 3.31e-07/1.504, allocations: 0 / 1.069 GB, free: 107 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03417/1.538, allocations: 13.12 MB / 1.082 GB, free: 93.96 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001602/1.539, allocations: 139 kB / 1.082 GB, free: 93.77 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.386/3.925, allocations: 0 / 1.082 GB, free: 93.77 MB / 0.6042 GB (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe_fmu --startTime=0 --stopTime=1000 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe.fmu > ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_res.mat does not exist to compare? outputFormat=mat