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.01444/0.01444, allocations: 171.7 kB / 15.11 MB, free: 5.578 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.825/1.825, 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.001079/0.001079, allocations: 98.78 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.8661/0.8661, allocations: 90.59 MB / 408.4 MB, free: 14.99 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003703/0.0003704, allocations: 12 kB / 485.3 MB, free: 2 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4639/0.4643, allocations: 66.27 MB / 0.5387 GB, free: 45.66 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7292/1.194, allocations: 354.1 MB / 0.8845 GB, free: 56.95 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002643/1.194, allocations: 86.16 kB / 0.8845 GB, free: 56.91 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 0.5487/1.743, allocations: 132.3 MB / 1.014 GB, free: 164.3 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.395e-06/1.743, allocations: 0 / 1.014 GB, free: 164.3 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.172e-05/1.743, allocations: 22.25 kB / 1.014 GB, free: 164.3 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.002132/1.745, allocations: 1.09 MB / 1.015 GB, free: 163.7 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/1.745, allocations: 9.531 kB / 1.015 GB, free: 163.7 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001226/1.745, allocations: 107.7 kB / 1.015 GB, free: 163.6 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002738/1.745, allocations: 93.73 kB / 1.015 GB, free: 163.6 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000689/1.746, allocations: 451.3 kB / 1.015 GB, free: 163.3 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.822e-05/1.746, allocations: 43.72 kB / 1.016 GB, free: 163.3 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/1.746, allocations: 65.86 kB / 1.016 GB, free: 163.3 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0011/1.747, allocations: 0.6538 MB / 1.016 GB, free: 163.3 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.205e-05/1.747, allocations: 12.95 kB / 1.016 GB, free: 163.2 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.426e-05/1.747, allocations: 24.5 kB / 1.016 GB, free: 163.2 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.066e-05/1.747, allocations: 15.5 kB / 1.016 GB, free: 163.2 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001008/1.748, allocations: 0.6249 MB / 1.017 GB, free: 163.2 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003461/1.752, allocations: 3.006 MB / 1.02 GB, free: 161.5 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001214/1.753, allocations: 0.7294 MB / 1.021 GB, free: 161.5 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004909/1.754, allocations: 0.676 MB / 1.021 GB, free: 160.7 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/1.754, allocations: 50.83 kB / 1.021 GB, free: 160.7 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=69): time 2.925e-06/1.754, allocations: 0 / 1.021 GB, free: 160.7 MB / 0.5886 GB Notification: Performance of matching and sorting (n=69): time 0.012/1.766, allocations: 2.846 MB / 1.024 GB, free: 160.2 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.978e-05/1.766, allocations: 84.52 kB / 1.024 GB, free: 160.1 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006221/1.766, allocations: 364.6 kB / 1.024 GB, free: 160 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.912e-05/1.766, allocations: 37.48 kB / 1.024 GB, free: 160 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002297/1.767, allocations: 311.2 kB / 1.025 GB, free: 159.8 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002045/1.767, allocations: 233.6 kB / 1.025 GB, free: 159.7 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.12e-05/1.767, allocations: 14.16 kB / 1.025 GB, free: 159.7 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001131/1.767, allocations: 375 kB / 1.025 GB, free: 159.3 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000412/1.767, allocations: 223.4 kB / 1.026 GB, free: 159.3 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004802/1.768, allocations: 307.8 kB / 1.026 GB, free: 159.3 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004789/1.768, allocations: 260.1 kB / 1.026 GB, free: 159.3 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/1.768, allocations: 0.9062 kB / 1.026 GB, free: 159.3 MB / 0.5886 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.005212/1.774, allocations: 1.392 MB / 1.027 GB, free: 159.1 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/1.774, allocations: 9.844 kB / 1.028 GB, free: 159.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/1.774, allocations: 1.375 kB / 1.028 GB, free: 159.1 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005129/1.779, allocations: 0.9138 MB / 1.028 GB, free: 159.1 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000416/1.779, allocations: 98.5 kB / 1.028 GB, free: 159.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002291/1.782, allocations: 2.841 MB / 1.031 GB, free: 156.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006352/1.782, allocations: 66.42 kB / 1.031 GB, free: 156.8 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.756e-05/1.782, allocations: 29.42 kB / 1.031 GB, free: 156.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 () * Number of clocked 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.0004333/1.783, allocations: 188.2 kB / 1.032 GB, free: 156.7 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001496/1.783, allocations: 65.47 kB / 1.032 GB, free: 156.6 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005123/1.788, allocations: 1.443 MB / 1.033 GB, free: 156.5 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/1.788, allocations: 11.22 kB / 1.033 GB, free: 156.5 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/1.788, allocations: 3.562 kB / 1.033 GB, free: 156.5 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/1.788, allocations: 3.516 kB / 1.033 GB, free: 156.5 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006366/1.795, allocations: 2.16 MB / 1.035 GB, free: 156 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/1.795, allocations: 0 / 1.035 GB, free: 156 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004003/1.795, allocations: 77.77 kB / 1.035 GB, free: 156 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004821/1.8, allocations: 0.9156 MB / 1.036 GB, free: 155.8 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.126e-05/1.8, allocations: 27.42 kB / 1.036 GB, free: 155.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002016/1.802, allocations: 2.832 MB / 1.039 GB, free: 153.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/1.802, allocations: 3.656 kB / 1.039 GB, free: 153.2 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005322/1.807, allocations: 1.861 MB / 1.041 GB, free: 152.4 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002516/1.807, allocations: 148.5 kB / 1.041 GB, free: 152.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.101e-05/1.808, allocations: 11.19 kB / 1.041 GB, free: 152.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003863/1.808, allocations: 30.38 kB / 1.041 GB, free: 152.3 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/1.808, allocations: 51.45 kB / 1.041 GB, free: 152.3 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-05/1.808, allocations: 23.56 kB / 1.041 GB, free: 152.3 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.000317/1.808, allocations: 285.4 kB / 1.041 GB, free: 152.1 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.9e-07/1.808, allocations: 0 / 1.041 GB, free: 152.1 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001091/1.81, allocations: 325.6 kB / 1.042 GB, free: 152 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 () * Number of clocked 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.006122/1.816, allocations: 2.962 MB / 1.044 GB, free: 150.5 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001398/1.817, allocations: 0.7771 MB / 1.045 GB, free: 150.1 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/1.817, allocations: 0 / 1.045 GB, free: 150.1 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0006823/1.818, allocations: 494.1 kB / 1.046 GB, free: 149.8 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/1.819, allocations: 176.5 kB / 1.046 GB, free: 149.8 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009465/1.828, allocations: 5.6 MB / 1.051 GB, free: 146.5 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003875/1.829, allocations: 0.9328 MB / 1.052 GB, free: 145.8 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0004024/1.829, allocations: 85.62 kB / 1.052 GB, free: 145.8 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002723/1.829, allocations: 250.4 kB / 1.053 GB, free: 145.6 MB / 0.5886 GB Notification: Performance of SimCode: time 1.603e-06/1.829, allocations: 0 / 1.053 GB, free: 145.6 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04343/1.873, allocations: 22.37 MB / 1.074 GB, free: 140.4 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001714/1.873, allocations: 243.7 kB / 1.075 GB, free: 140.2 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.934/4.808, allocations: 0 / 1.075 GB, free: 140.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