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.007871/0.007871, allocations: 170.8 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.545/1.545, allocations: 223.2 MB / 239 MB, free: 1.789 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.001023/0.001023, allocations: 101.5 kB / 290.2 MB, free: 13.94 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.012/0.012, allocations: 1.552 MB / 342.9 MB, free: 9.281 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.9404/0.9404, allocations: 90.3 MB / 484.7 MB, free: 21.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005438/0.0005439, allocations: 15.34 kB / 0.5527 GB, free: 30.41 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.1758, allocations: 69.36 MB / 0.6204 GB, free: 5.527 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.382/1.558, allocations: 353.9 MB / 0.966 GB, free: 164 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003056/1.558, allocations: 82.95 kB / 0.9661 GB, free: 164 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.1772/1.735, allocations: 99.93 MB / 1.064 GB, free: 97 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.036e-06/1.735, allocations: 0 / 1.064 GB, free: 97 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.083e-05/1.735, allocations: 12 kB / 1.064 GB, free: 96.99 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.00148/1.737, allocations: 0.8378 MB / 1.064 GB, free: 96.1 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/1.737, allocations: 15.92 kB / 1.064 GB, free: 96.09 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.279e-05/1.737, allocations: 78.53 kB / 1.065 GB, free: 96 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001884/1.737, allocations: 75.19 kB / 1.065 GB, free: 95.93 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004071/1.737, allocations: 358.6 kB / 1.065 GB, free: 95.53 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.468e-05/1.737, allocations: 33 kB / 1.065 GB, free: 95.5 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.431e-05/1.737, allocations: 40 kB / 1.065 GB, free: 95.46 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005977/1.738, allocations: 451 kB / 1.065 GB, free: 95 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/1.738, allocations: 0 / 1.065 GB, free: 95 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.438e-05/1.738, allocations: 20 kB / 1.066 GB, free: 94.98 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.998e-06/1.738, allocations: 8 kB / 1.066 GB, free: 94.98 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005674/1.739, allocations: 419.7 kB / 1.066 GB, free: 94.57 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001962/1.741, allocations: 2.055 MB / 1.068 GB, free: 92.31 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006458/1.741, allocations: 482 kB / 1.068 GB, free: 91.82 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00029/1.742, allocations: 429.5 kB / 1.069 GB, free: 91.31 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.757e-05/1.742, allocations: 38.89 kB / 1.069 GB, free: 91.27 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=44): time 1.593e-06/1.742, allocations: 0 / 1.069 GB, free: 91.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=44): time 0.005859/1.748, allocations: 1.65 MB / 1.07 GB, free: 89.55 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.736e-05/1.748, allocations: 89.11 kB / 1.071 GB, free: 89.44 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002847/1.748, allocations: 280.9 kB / 1.071 GB, free: 89.16 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.969e-05/1.748, allocations: 29.7 kB / 1.071 GB, free: 89.13 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/1.748, allocations: 240.3 kB / 1.071 GB, free: 88.89 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.081e-05/1.748, allocations: 149.9 kB / 1.071 GB, free: 88.74 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.741e-05/1.748, allocations: 4 kB / 1.071 GB, free: 88.74 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001032/1.748, allocations: 354.8 kB / 1.072 GB, free: 88.38 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002121/1.749, allocations: 144.8 kB / 1.072 GB, free: 88.24 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002353/1.749, allocations: 193 kB / 1.072 GB, free: 88.04 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002329/1.749, allocations: 165.6 kB / 1.072 GB, free: 87.87 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/1.749, allocations: 4 kB / 1.072 GB, free: 87.87 MB / 0.6042 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0025/1.752, allocations: 0.8093 MB / 1.073 GB, free: 87.05 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/1.752, allocations: 6.5 kB / 1.073 GB, free: 87.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/1.752, allocations: 4 kB / 1.073 GB, free: 87.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002475/1.754, allocations: 485.2 kB / 1.073 GB, free: 86.56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000237/1.754, allocations: 59.91 kB / 1.073 GB, free: 86.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001481/1.756, allocations: 2.106 MB / 1.075 GB, free: 84.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003158/1.756, allocations: 47.77 kB / 1.075 GB, free: 84.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.169e-05/1.756, allocations: 16 kB / 1.075 GB, free: 84.17 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 () * Number of clocked 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 0.0002085/1.756, allocations: 153.8 kB / 1.076 GB, free: 84.01 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.275e-05/1.757, allocations: 51.61 kB / 1.076 GB, free: 83.96 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002636/1.759, allocations: 0.846 MB / 1.076 GB, free: 83.1 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/1.759, allocations: 11.94 kB / 1.076 GB, free: 83.09 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/1.759, allocations: 0 / 1.076 GB, free: 83.09 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/1.759, allocations: 11.88 kB / 1.077 GB, free: 83.07 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003089/1.762, allocations: 1.386 MB / 1.078 GB, free: 81.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/1.762, allocations: 8.031 kB / 1.078 GB, free: 81.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002211/1.763, allocations: 55.91 kB / 1.078 GB, free: 81.56 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002267/1.765, allocations: 489.1 kB / 1.078 GB, free: 81.07 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.257e-05/1.765, allocations: 12 kB / 1.078 GB, free: 81.06 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001289/1.766, allocations: 2.106 MB / 1.08 GB, free: 78.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.766, allocations: 0 / 1.08 GB, free: 78.8 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002801/1.769, allocations: 1.196 MB / 1.082 GB, free: 77.56 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001265/1.769, allocations: 120.5 kB / 1.082 GB, free: 77.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.421e-05/1.769, allocations: 4 kB / 1.082 GB, free: 77.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002718/1.769, allocations: 27.89 kB / 1.082 GB, free: 77.39 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.53e-05/1.77, allocations: 39.95 kB / 1.082 GB, free: 77.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.101e-05/1.77, allocations: 12.27 kB / 1.082 GB, free: 77.34 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002088/1.77, allocations: 227.2 kB / 1.082 GB, free: 77.12 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.41e-07/1.77, allocations: 0 / 1.082 GB, free: 77.12 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007813/1.771, allocations: 207.6 kB / 1.082 GB, free: 76.92 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 () * Number of clocked 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.003517/1.774, allocations: 2.167 MB / 1.084 GB, free: 74.71 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009827/1.775, allocations: 0.5389 MB / 1.085 GB, free: 74.16 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.775, allocations: 0 / 1.085 GB, free: 74.16 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004672/1.776, allocations: 376.4 kB / 1.085 GB, free: 73.77 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007114/1.776, allocations: 113.6 kB / 1.085 GB, free: 73.66 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005381/1.782, allocations: 3.656 MB / 1.089 GB, free: 69.92 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/1.782, allocations: 0.8475 MB / 1.09 GB, free: 69.04 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002373/1.782, allocations: 55.08 kB / 1.09 GB, free: 68.99 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002132/1.783, allocations: 167.4 kB / 1.09 GB, free: 68.83 MB / 0.6042 GB Notification: Performance of SimCode: time 3.076e-06/1.783, allocations: 4 kB / 1.09 GB, free: 68.82 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0303/1.813, allocations: 15.35 MB / 1.105 GB, free: 53.73 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001918/1.813, allocations: 228.2 kB / 1.105 GB, free: 53.47 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.752/4.565, allocations: 0 / 1.105 GB, free: 53.47 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