Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConvectivePipe_serial,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_ConvectivePipe_serial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConvectivePipe_serial,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_ConvectivePipe_serial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002081/0.002081, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.786/1.786, allocations: 205.2 MB / 218.5 MB, free: 9.223 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008919/0.0008921, allocations: 92.83 kB / 266.6 MB, free: 9.285 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.9294/0.9294, allocations: 90.34 MB / 405 MB, free: 8.629 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.529e-05/3.539e-05, allocations: 4 kB / 479.2 MB, free: 14.23 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4385/0.4386, allocations: 66.25 MB / 0.5327 GB, free: 28.62 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8323/1.271, allocations: 354 MB / 0.8784 GB, free: 7.008 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002742/1.271, allocations: 79.77 kB / 0.8785 GB, free: 6.969 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 0.7125/1.984, allocations: 131.8 MB / 1.007 GB, free: 162.2 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.535e-06/1.984, allocations: 0 / 1.007 GB, free: 162.2 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 9.312e-05/1.984, allocations: 20 kB / 1.007 GB, free: 162.2 MB / 0.5886 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.003057/1.987, allocations: 1.017 MB / 1.008 GB, free: 161.1 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.928e-05/1.987, allocations: 8.031 kB / 1.008 GB, free: 161.1 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002616/1.987, allocations: 102.5 kB / 1.008 GB, free: 161 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004036/1.988, allocations: 94.95 kB / 1.008 GB, free: 160.9 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009319/1.989, allocations: 448.5 kB / 1.009 GB, free: 160.4 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.65e-05/1.989, allocations: 49.31 kB / 1.009 GB, free: 160.4 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/1.989, allocations: 63.98 kB / 1.009 GB, free: 160.3 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/1.99, allocations: 0.6411 MB / 1.01 GB, free: 159.7 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.789e-05/1.99, allocations: 3.953 kB / 1.01 GB, free: 159.7 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.403e-05/1.99, allocations: 28 kB / 1.01 GB, free: 159.6 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.786e-05/1.99, allocations: 16 kB / 1.01 GB, free: 159.6 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009107/1.991, allocations: 0.5986 MB / 1.01 GB, free: 159 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003875/1.995, allocations: 3.006 MB / 1.013 GB, free: 155.7 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/1.996, allocations: 0.7195 MB / 1.014 GB, free: 155 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004267/1.997, allocations: 296.4 kB / 1.014 GB, free: 154.7 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005285/1.997, allocations: 0.6732 MB / 1.015 GB, free: 153.9 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/1.997, allocations: 47.11 kB / 1.015 GB, free: 153.8 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=69): time 4.619e-06/1.997, allocations: 0 / 1.015 GB, free: 153.8 MB / 0.5886 GB Notification: Performance of matching and sorting (n=69): time 0.004766/2.002, allocations: 1.277 MB / 1.016 GB, free: 152.5 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/2.002, allocations: 89.67 kB / 1.016 GB, free: 152.4 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004742/2.002, allocations: 363.8 kB / 1.016 GB, free: 152.1 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 5.206e-05/2.003, allocations: 41.69 kB / 1.017 GB, free: 152 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.000181/2.003, allocations: 304.4 kB / 1.017 GB, free: 151.7 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001618/2.003, allocations: 240.5 kB / 1.017 GB, free: 151.5 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.007e-05/2.003, allocations: 20 kB / 1.017 GB, free: 151.5 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001226/2.003, allocations: 366.8 kB / 1.017 GB, free: 151.1 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003323/2.003, allocations: 209.5 kB / 1.018 GB, free: 150.9 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000354/2.004, allocations: 295.4 kB / 1.018 GB, free: 150.6 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003736/2.004, allocations: 246.1 kB / 1.018 GB, free: 150.3 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/2.004, allocations: 0 / 1.018 GB, free: 150.3 MB / 0.5886 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.004682/2.009, allocations: 1.38 MB / 1.019 GB, free: 148.9 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.012e-05/2.009, allocations: 4 kB / 1.019 GB, free: 148.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/2.009, allocations: 4 kB / 1.019 GB, free: 148.9 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004774/2.014, allocations: 0.9079 MB / 1.02 GB, free: 148 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005091/2.014, allocations: 95.89 kB / 1.02 GB, free: 147.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002954/2.017, allocations: 2.823 MB / 1.023 GB, free: 144.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008773/2.018, allocations: 67.55 kB / 1.023 GB, free: 144.9 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001184/2.018, allocations: 27.98 kB / 1.023 GB, free: 144.8 MB / 0.5886 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.0002565/2.019, allocations: 136.6 kB / 1.023 GB, free: 144.7 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002556/2.019, allocations: 71.23 kB / 1.024 GB, free: 144.6 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005369/2.024, allocations: 1.425 MB / 1.025 GB, free: 143.2 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-05/2.024, allocations: 8 kB / 1.025 GB, free: 143.2 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/2.024, allocations: 8 kB / 1.025 GB, free: 143.2 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/2.024, allocations: 3.984 kB / 1.025 GB, free: 143.1 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005864/2.03, allocations: 2.147 MB / 1.027 GB, free: 140.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/2.03, allocations: 4 kB / 1.027 GB, free: 140.9 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003415/2.03, allocations: 79.89 kB / 1.027 GB, free: 140.9 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004493/2.035, allocations: 0.9117 MB / 1.028 GB, free: 139.9 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.656e-05/2.035, allocations: 23.98 kB / 1.028 GB, free: 139.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002091/2.037, allocations: 2.814 MB / 1.031 GB, free: 136.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/2.037, allocations: 0 / 1.031 GB, free: 136.9 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005185/2.042, allocations: 1.828 MB / 1.033 GB, free: 135 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002908/2.043, allocations: 148.2 kB / 1.033 GB, free: 134.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.506e-05/2.043, allocations: 12 kB / 1.033 GB, free: 134.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004272/2.043, allocations: 31.92 kB / 1.033 GB, free: 134.8 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/2.043, allocations: 52.48 kB / 1.033 GB, free: 134.8 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.671e-05/2.043, allocations: 16 kB / 1.033 GB, free: 134.8 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0003686/2.044, allocations: 285.6 kB / 1.033 GB, free: 134.5 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.5e-07/2.044, allocations: 0 / 1.033 GB, free: 134.5 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001474/2.045, allocations: 323.4 kB / 1.033 GB, free: 134.2 MB / 0.5886 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.00658/2.052, allocations: 2.928 MB / 1.036 GB, free: 131.2 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001533/2.053, allocations: 0.7574 MB / 1.037 GB, free: 130.4 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/2.053, allocations: 0 / 1.037 GB, free: 130.4 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0007411/2.054, allocations: 488 kB / 1.037 GB, free: 129.9 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/2.055, allocations: 166.8 kB / 1.038 GB, free: 129.8 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003017/2.058, allocations: 1.155 MB / 1.039 GB, free: 128.6 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004272/2.059, allocations: 0.9228 MB / 1.04 GB, free: 127.6 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0003987/2.059, allocations: 84.52 kB / 1.04 GB, free: 127.5 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003087/2.06, allocations: 255.3 kB / 1.04 GB, free: 127.3 MB / 0.5886 GB Notification: Performance of SimCode: time 7.02e-07/2.06, allocations: 0 / 1.04 GB, free: 127.3 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04499/2.105, allocations: 22.98 MB / 1.062 GB, free: 104.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001938/2.105, allocations: 212.8 kB / 1.063 GB, free: 104.2 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.907/5.012, allocations: 0 / 1.063 GB, free: 104.2 MB / 0.5886 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_serial_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_ConvectivePipe_serial_fmu --startTime=0 --stopTime=1000 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_ConvectivePipe_serial.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_serial_res.mat does not exist to compare? outputFormat=mat