Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.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_serial,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe_serial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConvectivePipe_serial,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe_serial",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.01043/0.01043, allocations: 171.3 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.661/1.661, allocations: 223.2 MB / 239 MB, free: 84 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 96.16 kB / 290.2 MB, free: 4.613 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.0119/0.0119, allocations: 1.557 MB / 342.9 MB, free: 11.39 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.9768/0.9768, allocations: 90.31 MB / 484.6 MB, free: 38.25 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005341/0.0005342, allocations: 20 kB / 0.5527 GB, free: 4.844 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4429/0.4434, allocations: 69.35 MB / 0.6204 GB, free: 20.55 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8799/1.323, allocations: 354.1 MB / 0.9662 GB, free: 4.957 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000274/1.324, allocations: 95.08 kB / 0.9663 GB, free: 4.902 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.6601/1.984, allocations: 135.2 MB / 1.098 GB, free: 119.8 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.206e-06/1.984, allocations: 0 / 1.098 GB, free: 119.8 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001019/1.984, allocations: 19.98 kB / 1.098 GB, free: 119.8 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: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.003321/1.987, allocations: 1.087 MB / 1.099 GB, free: 118.7 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.217e-05/1.987, allocations: 11.98 kB / 1.099 GB, free: 118.7 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003191/1.988, allocations: 106.5 kB / 1.099 GB, free: 118.5 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000457/1.988, allocations: 98.92 kB / 1.1 GB, free: 118.4 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/1.989, allocations: 452.5 kB / 1.1 GB, free: 118 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.838e-05/1.989, allocations: 45.31 kB / 1.1 GB, free: 117.9 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/1.99, allocations: 63.91 kB / 1.1 GB, free: 117.9 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001232/1.991, allocations: 0.6615 MB / 1.101 GB, free: 117.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.122e-05/1.991, allocations: 0 / 1.101 GB, free: 117.2 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.117e-05/1.991, allocations: 28 kB / 1.101 GB, free: 117.1 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.698e-05/1.991, allocations: 19.95 kB / 1.101 GB, free: 117.1 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009899/1.992, allocations: 0.6219 MB / 1.101 GB, free: 116.5 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003677/1.996, allocations: 2.998 MB / 1.104 GB, free: 113.2 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001267/1.997, allocations: 0.7448 MB / 1.105 GB, free: 112.5 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005839/1.997, allocations: 0.6732 MB / 1.106 GB, free: 111.7 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/1.998, allocations: 43.12 kB / 1.106 GB, free: 111.6 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=69): time 5.31e-06/1.998, allocations: 0 / 1.106 GB, free: 111.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=69): time 0.01138/2.009, allocations: 2.845 MB / 1.109 GB, free: 108.7 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/2.009, allocations: 89.67 kB / 1.109 GB, free: 108.6 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005237/2.01, allocations: 365.1 kB / 1.109 GB, free: 108.2 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.103e-05/2.01, allocations: 37.7 kB / 1.109 GB, free: 108.2 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001815/2.01, allocations: 320.2 kB / 1.109 GB, free: 107.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002103/2.01, allocations: 240.5 kB / 1.11 GB, free: 107.6 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.273e-05/2.01, allocations: 8 kB / 1.11 GB, free: 107.6 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001135/2.01, allocations: 374.8 kB / 1.11 GB, free: 107.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004088/2.011, allocations: 225.9 kB / 1.11 GB, free: 107 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003887/2.011, allocations: 305.4 kB / 1.11 GB, free: 106.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004197/2.011, allocations: 263.2 kB / 1.111 GB, free: 106.4 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/2.011, allocations: 0 / 1.111 GB, free: 106.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.004758/2.016, allocations: 1.393 MB / 1.112 GB, free: 105 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.074e-05/2.016, allocations: 12 kB / 1.112 GB, free: 105 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/2.016, allocations: 3.953 kB / 1.112 GB, free: 105 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004721/2.021, allocations: 0.9118 MB / 1.113 GB, free: 104.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004615/2.022, allocations: 91.89 kB / 1.113 GB, free: 104 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002068/2.024, allocations: 2.838 MB / 1.116 GB, free: 100.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006852/2.024, allocations: 67.55 kB / 1.116 GB, free: 100.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.203e-05/2.024, allocations: 23.98 kB / 1.116 GB, free: 100.9 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 2 (thermalConvection1.turb_flag,thermalConvection.turb_flag) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 53 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 2 {1 11,1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0004086/2.025, allocations: 192.1 kB / 1.116 GB, free: 100.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001881/2.025, allocations: 63.25 kB / 1.116 GB, free: 100.6 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005139/2.03, allocations: 1.431 MB / 1.118 GB, free: 99.15 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.857e-05/2.03, allocations: 12 kB / 1.118 GB, free: 99.14 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/2.03, allocations: 3.953 kB / 1.118 GB, free: 99.13 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/2.03, allocations: 7.984 kB / 1.118 GB, free: 99.12 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00615/2.036, allocations: 2.148 MB / 1.12 GB, free: 96.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-05/2.037, allocations: 0 / 1.12 GB, free: 96.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003802/2.037, allocations: 87.83 kB / 1.12 GB, free: 96.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004656/2.042, allocations: 0.9276 MB / 1.121 GB, free: 95.88 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001003/2.042, allocations: 12 kB / 1.121 GB, free: 95.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002014/2.044, allocations: 2.838 MB / 1.123 GB, free: 92.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/2.044, allocations: 11.83 kB / 1.123 GB, free: 92.84 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005597/2.049, allocations: 1.855 MB / 1.125 GB, free: 90.94 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002984/2.05, allocations: 140.2 kB / 1.125 GB, free: 90.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001266/2.05, allocations: 16 kB / 1.125 GB, free: 90.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004991/2.05, allocations: 31.98 kB / 1.125 GB, free: 90.74 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001642/2.051, allocations: 44.48 kB / 1.125 GB, free: 90.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.466e-05/2.051, allocations: 27.98 kB / 1.125 GB, free: 90.67 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003503/2.051, allocations: 282.9 kB / 1.126 GB, free: 90.39 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.31e-07/2.051, allocations: 0 / 1.126 GB, free: 90.39 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001184/2.052, allocations: 319.4 kB / 1.126 GB, free: 90.08 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (heatCapacitor.T,thermalConvection1.inlet.m_flow,heatCapacitor1.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 (46): * Single equations (assignments): 42 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 2 {1 11,1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.006436/2.059, allocations: 2.967 MB / 1.129 GB, free: 87.07 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001594/2.06, allocations: 0.767 MB / 1.13 GB, free: 86.29 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/2.06, allocations: 0 / 1.13 GB, free: 86.29 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0008031/2.061, allocations: 0.496 MB / 1.13 GB, free: 85.77 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/2.062, allocations: 174.3 kB / 1.13 GB, free: 85.6 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009986/2.072, allocations: 5.6 MB / 1.136 GB, free: 79.9 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004212/2.073, allocations: 0.9306 MB / 1.137 GB, free: 78.94 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0004068/2.073, allocations: 84.5 kB / 1.137 GB, free: 78.86 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002971/2.074, allocations: 247.3 kB / 1.137 GB, free: 78.62 MB / 0.6042 GB Notification: Performance of SimCode: time 2.224e-06/2.074, allocations: 0 / 1.137 GB, free: 78.62 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05025/2.124, allocations: 22.37 MB / 1.159 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002244/2.124, allocations: 229.1 kB / 1.159 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.959/5.083, allocations: 0 / 1.159 GB, free: 56.32 MB / 0.6042 GB (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe_serial_fmu --startTime=0 --stopTime=1000 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe_serial.fmu > ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial_res.mat does not exist to compare? outputFormat=mat