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.001454/0.001454, allocations: 174.6 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.792/1.792, 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.0008655/0.0008655, allocations: 80.52 kB / 266.6 MB, free: 9.281 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.8977/0.8977, allocations: 90.34 MB / 405 MB, free: 8.637 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.807e-05/3.824e-05, allocations: 4 kB / 479.2 MB, free: 14.25 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4587/0.4587, allocations: 66.26 MB / 0.5327 GB, free: 28.57 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8367/1.295, allocations: 353.8 MB / 0.8782 GB, free: 9.637 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003153/1.296, allocations: 75.84 kB / 0.8783 GB, free: 9.605 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 0.5925/1.888, allocations: 97.37 MB / 0.9734 GB, free: 167.7 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.573e-06/1.888, allocations: 3.938 kB / 0.9734 GB, free: 167.7 MB / 0.573 GB Notification: Performance of Transformations before backend: time 3.123e-05/1.888, allocations: 16 kB / 0.9734 GB, free: 167.7 MB / 0.573 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.001355/1.89, allocations: 0.7867 MB / 0.9742 GB, free: 166.9 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/1.89, allocations: 8.031 kB / 0.9742 GB, free: 166.9 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.472e-05/1.89, allocations: 82.53 kB / 0.9743 GB, free: 166.8 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002007/1.89, allocations: 71.23 kB / 0.9743 GB, free: 166.7 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004199/1.891, allocations: 359.4 kB / 0.9747 GB, free: 166.3 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.999e-05/1.891, allocations: 29 kB / 0.9747 GB, free: 166.3 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.298e-05/1.891, allocations: 40 kB / 0.9747 GB, free: 166.3 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005968/1.891, allocations: 439.1 kB / 0.9752 GB, free: 165.8 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/1.891, allocations: 0 / 0.9752 GB, free: 165.8 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.657e-05/1.891, allocations: 23.95 kB / 0.9752 GB, free: 165.8 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.378e-05/1.891, allocations: 8 kB / 0.9752 GB, free: 165.8 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004943/1.892, allocations: 391.8 kB / 0.9756 GB, free: 165.4 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001958/1.894, allocations: 2.056 MB / 0.9776 GB, free: 163.1 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006154/1.895, allocations: 474.9 kB / 0.978 GB, free: 162.7 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002301/1.895, allocations: 195.4 kB / 0.9782 GB, free: 162.5 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003159/1.895, allocations: 437.3 kB / 0.9786 GB, free: 161.9 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/1.895, allocations: 38.56 kB / 0.9787 GB, free: 161.9 MB / 0.573 GB Notification: Performance of pre-optimization done (n=44): time 2.505e-06/1.895, allocations: 4 kB / 0.9787 GB, free: 161.9 MB / 0.573 GB Notification: Performance of matching and sorting (n=44): time 0.002499/1.898, allocations: 0.7408 MB / 0.9794 GB, free: 161.1 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/1.898, allocations: 85.09 kB / 0.9795 GB, free: 161 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002421/1.898, allocations: 271.7 kB / 0.9797 GB, free: 160.8 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 2.645e-05/1.898, allocations: 33.7 kB / 0.9798 GB, free: 160.7 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 9.789e-05/1.898, allocations: 240.3 kB / 0.98 GB, free: 160.5 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 7.082e-05/1.898, allocations: 145.8 kB / 0.9801 GB, free: 160.3 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.694e-05/1.898, allocations: 8 kB / 0.9801 GB, free: 160.3 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 8.677e-05/1.898, allocations: 354.8 kB / 0.9805 GB, free: 160 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001781/1.898, allocations: 128.9 kB / 0.9806 GB, free: 159.9 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002024/1.899, allocations: 185.1 kB / 0.9808 GB, free: 159.7 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002165/1.899, allocations: 161.6 kB / 0.9809 GB, free: 159.5 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/1.899, allocations: 0 / 0.9809 GB, free: 159.5 MB / 0.573 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.002459/1.901, allocations: 0.7975 MB / 0.9817 GB, free: 158.7 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/1.901, allocations: 7.953 kB / 0.9817 GB, free: 158.7 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/1.901, allocations: 0 / 0.9817 GB, free: 158.7 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002421/1.904, allocations: 485.3 kB / 0.9822 GB, free: 158.2 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002555/1.904, allocations: 59.91 kB / 0.9822 GB, free: 158.1 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001423/1.906, allocations: 2.087 MB / 0.9843 GB, free: 155.9 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003575/1.906, allocations: 43.64 kB / 0.9843 GB, free: 155.9 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.746e-05/1.906, allocations: 16 kB / 0.9843 GB, free: 155.8 MB / 0.573 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 () * 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.0001148/1.906, allocations: 124.9 kB / 0.9845 GB, free: 155.7 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001/1.906, allocations: 39.53 kB / 0.9845 GB, free: 155.7 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002669/1.909, allocations: 0.8419 MB / 0.9853 GB, free: 154.8 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/1.909, allocations: 4 kB / 0.9853 GB, free: 154.8 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/1.909, allocations: 8 kB / 0.9853 GB, free: 154.8 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/1.909, allocations: 0 / 0.9853 GB, free: 154.8 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003084/1.912, allocations: 1.394 MB / 0.9867 GB, free: 153.3 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/1.912, allocations: 4.016 kB / 0.9867 GB, free: 153.3 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002175/1.912, allocations: 59.91 kB / 0.9867 GB, free: 153.3 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002305/1.915, allocations: 481.2 kB / 0.9872 GB, free: 152.8 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.29e-05/1.915, allocations: 15.94 kB / 0.9872 GB, free: 152.8 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001204/1.916, allocations: 2.075 MB / 0.9892 GB, free: 150.6 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/1.916, allocations: 4.062 kB / 0.9893 GB, free: 150.6 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002665/1.919, allocations: 1.172 MB / 0.9904 GB, free: 149.3 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000137/1.919, allocations: 120.6 kB / 0.9905 GB, free: 149.2 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.602e-05/1.919, allocations: 16 kB / 0.9905 GB, free: 149.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002692/1.919, allocations: 27.89 kB / 0.9906 GB, free: 149.2 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.879e-05/1.919, allocations: 27.89 kB / 0.9906 GB, free: 149.1 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.774e-05/1.919, allocations: 16 kB / 0.9906 GB, free: 149.1 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0002164/1.919, allocations: 218.2 kB / 0.9908 GB, free: 148.9 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.5e-07/1.919, allocations: 4 kB / 0.9908 GB, free: 148.9 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0007791/1.92, allocations: 211.6 kB / 0.991 GB, free: 148.7 MB / 0.573 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 () * 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.003502/1.924, allocations: 2.122 MB / 0.9931 GB, free: 146.5 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0009261/1.925, allocations: 0.52 MB / 0.9936 GB, free: 146 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/1.925, allocations: 4.062 kB / 0.9936 GB, free: 146 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004272/1.925, allocations: 364.1 kB / 0.9939 GB, free: 145.6 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007201/1.926, allocations: 123.7 kB / 0.9941 GB, free: 145.5 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/1.927, allocations: 0.7972 MB / 0.9948 GB, free: 144.7 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002696/1.928, allocations: 0.8398 MB / 0.9957 GB, free: 143.8 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0002095/1.928, allocations: 55.06 kB / 0.9957 GB, free: 143.7 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001707/1.928, allocations: 163.4 kB / 0.9959 GB, free: 143.6 MB / 0.573 GB Notification: Performance of SimCode: time 7.61e-07/1.928, allocations: 0 / 0.9959 GB, free: 143.6 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02783/1.956, allocations: 15.77 MB / 1.011 GB, free: 127.9 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001766/1.956, allocations: 207.7 kB / 1.011 GB, free: 127.7 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.584/4.541, allocations: 0 / 1.011 GB, free: 127.7 MB / 0.573 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