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.001138/0.001138, allocations: 175 kB / 12.73 MB, free: 2.59 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.478/1.478, allocations: 221.4 MB / 234.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 103.2 kB / 285.6 MB, free: 12.98 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.01235/0.01235, allocations: 1.554 MB / 338 MB, free: 8.488 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.6283/0.6283, allocations: 90.04 MB / 479.4 MB, free: 2.992 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 5.373e-05/5.451e-05, allocations: 4 kB / 0.5446 GB, free: 7.91 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.2112, allocations: 69.36 MB / 0.6123 GB, free: 2.465 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.303/1.515, allocations: 354 MB / 0.958 GB, free: 62.86 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003831/1.515, allocations: 74.34 kB / 0.9581 GB, free: 62.83 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.7146/2.23, allocations: 134.6 MB / 1.09 GB, free: 174.1 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.134e-06/2.23, allocations: 0 / 1.09 GB, free: 174.1 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.387e-05/2.23, allocations: 22.98 kB / 1.09 GB, free: 174.1 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.002973/2.233, allocations: 1.021 MB / 1.091 GB, free: 173.6 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.833e-05/2.233, allocations: 17.36 kB / 1.091 GB, free: 173.6 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002668/2.233, allocations: 103.7 kB / 1.091 GB, free: 173.5 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004222/2.234, allocations: 93.42 kB / 1.091 GB, free: 173.5 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008408/2.235, allocations: 451.9 kB / 1.091 GB, free: 173.2 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.641e-05/2.235, allocations: 46.34 kB / 1.091 GB, free: 173.2 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/2.235, allocations: 67.81 kB / 1.091 GB, free: 173.2 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001152/2.236, allocations: 0.6337 MB / 1.092 GB, free: 173.1 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.365e-05/2.236, allocations: 4.703 kB / 1.092 GB, free: 173.1 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.815e-05/2.236, allocations: 24.69 kB / 1.092 GB, free: 173.1 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.671e-05/2.236, allocations: 26.5 kB / 1.092 GB, free: 173.1 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001058/2.237, allocations: 0.5947 MB / 1.093 GB, free: 173.1 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003207/2.24, allocations: 3.008 MB / 1.096 GB, free: 171.4 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000951/2.241, allocations: 0.7219 MB / 1.096 GB, free: 171.4 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003639/2.242, allocations: 285.5 kB / 1.097 GB, free: 171.4 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005048/2.242, allocations: 0.6779 MB / 1.097 GB, free: 170.6 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/2.242, allocations: 37.81 kB / 1.097 GB, free: 170.6 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=69): time 3.356e-06/2.242, allocations: 0 / 1.097 GB, free: 170.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=69): time 0.004657/2.247, allocations: 1.286 MB / 1.098 GB, free: 170.5 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/2.247, allocations: 85.27 kB / 1.099 GB, free: 170.4 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003704/2.247, allocations: 361.1 kB / 1.099 GB, free: 170.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.88e-05/2.247, allocations: 39.52 kB / 1.099 GB, free: 170.2 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/2.248, allocations: 314.4 kB / 1.099 GB, free: 170.1 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/2.248, allocations: 237.7 kB / 1.099 GB, free: 169.9 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.871e-05/2.248, allocations: 20.81 kB / 1.099 GB, free: 169.9 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001009/2.248, allocations: 369.5 kB / 1.1 GB, free: 169.6 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003024/2.248, allocations: 208.4 kB / 1.1 GB, free: 169.6 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003345/2.248, allocations: 291.6 kB / 1.1 GB, free: 169.5 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003476/2.249, allocations: 252 kB / 1.101 GB, free: 169.5 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/2.249, allocations: 0 / 1.101 GB, free: 169.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00466/2.254, allocations: 1.372 MB / 1.102 GB, free: 169.4 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/2.254, allocations: 7.266 kB / 1.102 GB, free: 169.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/2.254, allocations: 3.625 kB / 1.102 GB, free: 169.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004702/2.258, allocations: 0.9141 MB / 1.103 GB, free: 169.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003854/2.259, allocations: 96.14 kB / 1.103 GB, free: 169.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002003/2.261, allocations: 2.828 MB / 1.106 GB, free: 167 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006282/2.261, allocations: 63.25 kB / 1.106 GB, free: 167 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.123e-05/2.261, allocations: 18.66 kB / 1.106 GB, free: 167 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.0001401/2.262, allocations: 143.7 kB / 1.106 GB, free: 166.9 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/2.262, allocations: 59.72 kB / 1.106 GB, free: 166.9 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004937/2.267, allocations: 1.429 MB / 1.107 GB, free: 166.8 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/2.267, allocations: 7.406 kB / 1.107 GB, free: 166.8 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/2.267, allocations: 3.953 kB / 1.107 GB, free: 166.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/2.267, allocations: 7.906 kB / 1.107 GB, free: 166.8 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005672/2.272, allocations: 2.146 MB / 1.109 GB, free: 166.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/2.272, allocations: 0 / 1.109 GB, free: 166.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003202/2.273, allocations: 83.39 kB / 1.11 GB, free: 166.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004553/2.277, allocations: 0.913 MB / 1.11 GB, free: 166.3 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.812e-05/2.277, allocations: 20.92 kB / 1.11 GB, free: 166.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001847/2.279, allocations: 2.818 MB / 1.113 GB, free: 163.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/2.279, allocations: 0 / 1.113 GB, free: 163.9 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005139/2.284, allocations: 1.821 MB / 1.115 GB, free: 163.1 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002463/2.285, allocations: 150.3 kB / 1.115 GB, free: 163 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.742e-05/2.285, allocations: 11.75 kB / 1.115 GB, free: 163 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003782/2.285, allocations: 36.62 kB / 1.115 GB, free: 163 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/2.285, allocations: 44.27 kB / 1.115 GB, free: 163 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.083e-05/2.285, allocations: 18.66 kB / 1.115 GB, free: 163 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003161/2.286, allocations: 289.7 kB / 1.115 GB, free: 162.8 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/2.286, allocations: 0 / 1.115 GB, free: 162.8 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001078/2.287, allocations: 319.3 kB / 1.116 GB, free: 162.7 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.005859/2.293, allocations: 2.942 MB / 1.119 GB, free: 161.2 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00122/2.294, allocations: 0.7387 MB / 1.119 GB, free: 160.8 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/2.294, allocations: 4.125 kB / 1.119 GB, free: 160.8 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005981/2.294, allocations: 483.6 kB / 1.12 GB, free: 160.5 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008738/2.295, allocations: 171.2 kB / 1.12 GB, free: 160.5 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001982/2.297, allocations: 1.161 MB / 1.121 GB, free: 159.9 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/2.298, allocations: 0.927 MB / 1.122 GB, free: 159.2 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002906/2.298, allocations: 85.23 kB / 1.122 GB, free: 159.1 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002447/2.298, allocations: 245.9 kB / 1.122 GB, free: 158.9 MB / 0.6042 GB Notification: Performance of SimCode: time 4.91e-07/2.298, allocations: 4 kB / 1.122 GB, free: 158.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03794/2.336, allocations: 22.96 MB / 1.145 GB, free: 153.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001649/2.336, allocations: 202.1 kB / 1.145 GB, free: 153.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.991/5.328, allocations: 0 / 1.145 GB, free: 153.2 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