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.001118/0.001117, 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.368/1.368, 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.001081/0.001081, allocations: 96.03 kB / 280.5 MB, free: 5.336 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.01096/0.01096, allocations: 1.571 MB / 332.8 MB, free: 13.54 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.7416/0.7416, allocations: 90.03 MB / 474 MB, free: 13.04 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.927e-05/1.929e-05, allocations: 2.938 kB / 0.5376 GB, free: 33.14 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.1742, allocations: 69.37 MB / 0.6053 GB, free: 8 kB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.109/1.283, allocations: 353.4 MB / 0.9504 GB, free: 229.3 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002643/1.284, allocations: 80.14 kB / 0.9505 GB, free: 229.3 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.2522/1.536, allocations: 134 MB / 1.081 GB, free: 95.68 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.653e-06/1.536, allocations: 0 / 1.081 GB, free: 95.68 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.853e-05/1.536, allocations: 16 kB / 1.081 GB, free: 95.66 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.002388/1.539, allocations: 1.017 MB / 1.082 GB, free: 94.59 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/1.539, allocations: 8.031 kB / 1.082 GB, free: 94.59 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004164/1.539, allocations: 98.91 kB / 1.082 GB, free: 94.49 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008017/1.54, allocations: 446.7 kB / 1.083 GB, free: 94.01 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.039e-05/1.54, allocations: 20 kB / 1.083 GB, free: 93.99 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/1.54, allocations: 43.91 kB / 1.083 GB, free: 93.95 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008655/1.541, allocations: 0.5649 MB / 1.083 GB, free: 93.39 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008671/1.542, allocations: 0.5526 MB / 1.084 GB, free: 92.81 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.721e-05/1.542, allocations: 3.938 kB / 1.084 GB, free: 92.81 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.506e-05/1.542, allocations: 3.984 kB / 1.084 GB, free: 92.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.756e-05/1.542, allocations: 19.95 kB / 1.084 GB, free: 92.79 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003188/1.545, allocations: 2.887 MB / 1.087 GB, free: 89.63 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008819/1.546, allocations: 0.6867 MB / 1.087 GB, free: 88.93 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003165/1.546, allocations: 267.4 kB / 1.088 GB, free: 88.66 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004564/1.547, allocations: 0.6732 MB / 1.088 GB, free: 87.84 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/1.547, allocations: 39.12 kB / 1.088 GB, free: 87.79 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=69): time 2.886e-06/1.547, allocations: 0 / 1.088 GB, free: 87.79 MB / 0.6042 GB Notification: Performance of matching and sorting (n=69): time 0.004966/1.552, allocations: 1.234 MB / 1.09 GB, free: 86.54 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/1.552, allocations: 85.67 kB / 1.09 GB, free: 86.44 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003724/1.552, allocations: 341.1 kB / 1.09 GB, free: 86.1 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.29e-05/1.552, allocations: 25.7 kB / 1.09 GB, free: 86.07 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/1.552, allocations: 308.3 kB / 1.09 GB, free: 85.76 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001391/1.553, allocations: 232.5 kB / 1.091 GB, free: 85.53 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-05/1.553, allocations: 0 / 1.091 GB, free: 85.53 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.27e-05/1.553, allocations: 374.8 kB / 1.091 GB, free: 85.16 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002671/1.553, allocations: 193.5 kB / 1.091 GB, free: 84.97 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003022/1.553, allocations: 273.8 kB / 1.091 GB, free: 84.68 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007512/1.554, allocations: 232.5 kB / 1.092 GB, free: 84.45 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/1.554, allocations: 4 kB / 1.092 GB, free: 84.45 MB / 0.6042 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.004963/1.559, allocations: 1.298 MB / 1.093 GB, free: 83.13 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.642e-05/1.559, allocations: 8 kB / 1.093 GB, free: 83.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/1.559, allocations: 0 / 1.093 GB, free: 83.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004699/1.564, allocations: 0.9041 MB / 1.094 GB, free: 82.21 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004548/1.564, allocations: 107.8 kB / 1.094 GB, free: 82.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002272/1.567, allocations: 2.802 MB / 1.097 GB, free: 79.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005795/1.567, allocations: 51.48 kB / 1.097 GB, free: 79.08 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.314e-05/1.567, allocations: 31.98 kB / 1.097 GB, free: 79.05 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 () * 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.0001518/1.567, allocations: 116.8 kB / 1.097 GB, free: 78.93 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004839/1.572, allocations: 1.226 MB / 1.098 GB, free: 77.68 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001599/1.572, allocations: 59.25 kB / 1.098 GB, free: 77.62 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005025/1.577, allocations: 1.355 MB / 1.099 GB, free: 76.26 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/1.578, allocations: 11.95 kB / 1.099 GB, free: 76.25 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/1.578, allocations: 4 kB / 1.099 GB, free: 76.24 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/1.578, allocations: 11.92 kB / 1.099 GB, free: 76.23 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005775/1.583, allocations: 2.003 MB / 1.101 GB, free: 74.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.702e-06/1.583, allocations: 4 kB / 1.101 GB, free: 74.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003232/1.584, allocations: 79.89 kB / 1.101 GB, free: 74.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004519/1.588, allocations: 0.904 MB / 1.102 GB, free: 73.17 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.644e-05/1.588, allocations: 11.98 kB / 1.102 GB, free: 73.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002009/1.59, allocations: 2.813 MB / 1.105 GB, free: 70.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/1.59, allocations: 0 / 1.105 GB, free: 70.18 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005219/1.596, allocations: 1.762 MB / 1.107 GB, free: 68.38 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000208/1.596, allocations: 136.3 kB / 1.107 GB, free: 68.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/1.596, allocations: 8.031 kB / 1.107 GB, free: 68.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004041/1.596, allocations: 19.89 kB / 1.107 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.555e-05/1.596, allocations: 44.5 kB / 1.107 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.899e-05/1.596, allocations: 23.98 kB / 1.107 GB, free: 68.14 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002433/1.597, allocations: 251 kB / 1.107 GB, free: 67.89 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.71e-07/1.597, allocations: 7.938 kB / 1.107 GB, free: 67.89 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0009395/1.598, allocations: 295.4 kB / 1.108 GB, free: 67.6 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 () * 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.005898/1.604, allocations: 2.866 MB / 1.11 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001085/1.605, allocations: 0.6997 MB / 1.111 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/1.605, allocations: 0 / 1.111 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005912/1.605, allocations: 469.6 kB / 1.111 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009062/1.606, allocations: 150.7 kB / 1.112 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002025/1.608, allocations: 1.104 MB / 1.113 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/1.609, allocations: 0.9231 MB / 1.114 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003144/1.609, allocations: 76.45 kB / 1.114 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002522/1.609, allocations: 247.3 kB / 1.114 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of SimCode: time 5.41e-07/1.609, allocations: 0 / 1.114 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04638/1.656, allocations: 19.58 MB / 1.133 GB, free: 41.47 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001986/1.656, allocations: 151.4 kB / 1.133 GB, free: 41.28 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.567/4.223, allocations: 4 kB / 1.133 GB, free: 41.27 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