Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.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,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_ConvectivePipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConvectivePipe,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_ConvectivePipe",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.006401/0.006401, allocations: 169.5 kB / 15.11 MB, free: 5.973 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.804/1.804, allocations: 205.4 MB / 221.3 MB, free: 13.83 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.0009063/0.000906, allocations: 98.83 kB / 269.6 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.9227/0.9227, allocations: 90.59 MB / 408.5 MB, free: 14.99 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004112/0.0004112, allocations: 8 kB / 485.3 MB, free: 1.996 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4496/0.45, allocations: 66.28 MB / 0.5387 GB, free: 45.54 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7379/1.188, allocations: 353.9 MB / 0.8843 GB, free: 57.2 MB / 0.5574 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002564/1.188, allocations: 80.64 kB / 0.8843 GB, free: 57.16 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 0.1938/1.382, allocations: 97.81 MB / 0.9799 GB, free: 0.9141 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.054e-06/1.382, allocations: 0 / 0.9799 GB, free: 0.9141 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.638e-05/1.382, allocations: 12 kB / 0.9799 GB, free: 0.9023 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001676/1.384, allocations: 0.8423 MB / 0.9807 GB, free: 16 kB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/1.384, allocations: 12.03 kB / 0.9807 GB, free: 4 kB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.3264/1.71, allocations: 78.86 kB / 0.9808 GB, free: 165.3 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003781/1.711, allocations: 64.27 kB / 0.9808 GB, free: 165.3 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000614/1.711, allocations: 355.5 kB / 0.9812 GB, free: 165.1 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.757e-05/1.712, allocations: 30.48 kB / 0.9812 GB, free: 165.1 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.259e-05/1.712, allocations: 40.39 kB / 0.9812 GB, free: 165.1 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007437/1.712, allocations: 450.4 kB / 0.9817 GB, free: 165 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/1.712, allocations: 0 / 0.9817 GB, free: 165 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.331e-05/1.712, allocations: 25.52 kB / 0.9817 GB, free: 165 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.443e-05/1.712, allocations: 11.66 kB / 0.9817 GB, free: 165 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005895/1.713, allocations: 406 kB / 0.9821 GB, free: 165 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002052/1.715, allocations: 2.056 MB / 0.9841 GB, free: 163.8 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006752/1.716, allocations: 488.4 kB / 0.9846 GB, free: 163.8 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000281/1.716, allocations: 426.1 kB / 0.985 GB, free: 163.3 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.562e-05/1.716, allocations: 42.42 kB / 0.985 GB, free: 163.2 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=44): time 2.845e-06/1.716, allocations: 0 / 0.985 GB, free: 163.2 MB / 0.5886 GB Notification: Performance of matching and sorting (n=44): time 0.005907/1.722, allocations: 1.659 MB / 0.9866 GB, free: 162.9 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/1.722, allocations: 85.47 kB / 0.9867 GB, free: 162.8 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003131/1.722, allocations: 279.4 kB / 0.987 GB, free: 162.7 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.994e-05/1.722, allocations: 33.83 kB / 0.987 GB, free: 162.7 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/1.723, allocations: 232.7 kB / 0.9872 GB, free: 162.5 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/1.723, allocations: 155.9 kB / 0.9874 GB, free: 162.5 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.774e-05/1.723, allocations: 7.406 kB / 0.9874 GB, free: 162.5 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.767e-05/1.723, allocations: 353 kB / 0.9877 GB, free: 162.1 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000217/1.723, allocations: 142.1 kB / 0.9879 GB, free: 162.1 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002368/1.723, allocations: 200.1 kB / 0.9881 GB, free: 162.1 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002483/1.724, allocations: 160.7 kB / 0.9882 GB, free: 162.1 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/1.724, allocations: 6.734 kB / 0.9882 GB, free: 162.1 MB / 0.5886 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.002643/1.726, allocations: 0.8119 MB / 0.989 GB, free: 162 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/1.726, allocations: 5.25 kB / 0.989 GB, free: 162 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/1.726, allocations: 6.578 kB / 0.989 GB, free: 162 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002611/1.729, allocations: 485.5 kB / 0.9895 GB, free: 162 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003556/1.729, allocations: 62.06 kB / 0.9895 GB, free: 162 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001552/1.731, allocations: 2.101 MB / 0.9916 GB, free: 160.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003771/1.731, allocations: 39.02 kB / 0.9916 GB, free: 160.2 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.863e-05/1.731, allocations: 19.78 kB / 0.9916 GB, free: 160.2 MB / 0.5886 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.0002541/1.732, allocations: 164.1 kB / 0.9918 GB, free: 160.1 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.732e-05/1.732, allocations: 44.56 kB / 0.9918 GB, free: 160.1 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002814/1.734, allocations: 0.8403 MB / 0.9927 GB, free: 160 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/1.734, allocations: 8.859 kB / 0.9927 GB, free: 160 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/1.734, allocations: 2.281 kB / 0.9927 GB, free: 160 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/1.734, allocations: 3.141 kB / 0.9927 GB, free: 160 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003278/1.738, allocations: 1.398 MB / 0.994 GB, free: 159.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/1.738, allocations: 0 / 0.994 GB, free: 159.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002314/1.738, allocations: 57.59 kB / 0.9941 GB, free: 159.7 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002456/1.741, allocations: 487.3 kB / 0.9946 GB, free: 159.6 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.254e-05/1.741, allocations: 11.94 kB / 0.9946 GB, free: 159.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001291/1.742, allocations: 2.1 MB / 0.9966 GB, free: 157.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.742, allocations: 4.312 kB / 0.9966 GB, free: 157.9 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002924/1.745, allocations: 1.197 MB / 0.9978 GB, free: 157.6 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001389/1.745, allocations: 121.7 kB / 0.9979 GB, free: 157.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.778e-05/1.745, allocations: 6.625 kB / 0.9979 GB, free: 157.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002734/1.745, allocations: 28.64 kB / 0.9979 GB, free: 157.4 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.434e-05/1.745, allocations: 34.88 kB / 0.998 GB, free: 157.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.051e-05/1.745, allocations: 12.97 kB / 0.998 GB, free: 157.4 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0002165/1.746, allocations: 231.7 kB / 0.9982 GB, free: 157.3 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.5e-07/1.746, allocations: 0 / 0.9982 GB, free: 157.3 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0007479/1.746, allocations: 197.9 kB / 0.9984 GB, free: 157.3 MB / 0.5886 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.003736/1.75, allocations: 2.169 MB / 1.001 GB, free: 156.4 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001006/1.751, allocations: 0.5452 MB / 1.001 GB, free: 156.2 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/1.751, allocations: 1.281 kB / 1.001 GB, free: 156.2 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.00054/1.752, allocations: 379.4 kB / 1.001 GB, free: 156.1 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007144/1.752, allocations: 108.2 kB / 1.002 GB, free: 156.1 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006003/1.758, allocations: 3.653 MB / 1.005 GB, free: 154.5 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/1.759, allocations: 0.8475 MB / 1.006 GB, free: 153.8 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0002801/1.759, allocations: 59.19 kB / 1.006 GB, free: 153.8 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001928/1.759, allocations: 154.6 kB / 1.006 GB, free: 153.8 MB / 0.5886 GB Notification: Performance of SimCode: time 7.033e-06/1.759, allocations: 0 / 1.006 GB, free: 153.8 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04209/1.801, allocations: 15.38 MB / 1.021 GB, free: 153 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000199/1.802, allocations: 221.8 kB / 1.021 GB, free: 152.8 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.669/4.471, allocations: 2.953 kB / 1.021 GB, free: 152.8 MB / 0.5886 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_ConvectivePipe_fmu --startTime=0 --stopTime=1000 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_ConvectivePipe.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_res.mat does not exist to compare? outputFormat=mat