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.0009759/0.0009762, allocations: 172.4 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.587/1.587, allocations: 205.3 MB / 213.4 MB, free: 13.76 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.0009591/0.0009591, allocations: 85.42 kB / 261.4 MB, free: 13.46 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.7699/0.7699, allocations: 90.37 MB / 399.7 MB, free: 12.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.11e-05/2.112e-05, allocations: 4 kB / 472.3 MB, free: 3.383 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3819/0.382, allocations: 66.26 MB / 0.5259 GB, free: 29.02 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.742/1.124, allocations: 353.3 MB / 0.871 GB, free: 15.24 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002101/1.124, allocations: 77.03 kB / 0.8711 GB, free: 15.2 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 0.5623/1.687, allocations: 131.1 MB / 0.9991 GB, free: 143.2 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.583e-06/1.687, allocations: 0 / 0.9991 GB, free: 143.2 MB / 0.573 GB Notification: Performance of Transformations before backend: time 4.197e-05/1.687, allocations: 20 kB / 0.9991 GB, free: 143.2 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: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.001763/1.688, allocations: 1.025 MB / 1 GB, free: 142.1 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/1.689, allocations: 8.031 kB / 1 GB, free: 142.1 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002618/1.689, allocations: 94.95 kB / 1 GB, free: 142 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005491/1.689, allocations: 446.7 kB / 1.001 GB, free: 141.6 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.635e-05/1.689, allocations: 20 kB / 1.001 GB, free: 141.5 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.054e-05/1.689, allocations: 40 kB / 1.001 GB, free: 141.5 MB / 0.573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007562/1.69, allocations: 0.5648 MB / 1.001 GB, free: 140.9 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007935/1.691, allocations: 0.5642 MB / 1.002 GB, free: 140.3 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/1.691, allocations: 0 / 1.002 GB, free: 140.3 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.374e-05/1.691, allocations: 0 / 1.002 GB, free: 140.3 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.573e-05/1.691, allocations: 16 kB / 1.002 GB, free: 140.3 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002705/1.694, allocations: 2.902 MB / 1.005 GB, free: 137.2 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008222/1.695, allocations: 0.6768 MB / 1.005 GB, free: 136.5 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002953/1.695, allocations: 275.3 kB / 1.006 GB, free: 136.2 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004526/1.695, allocations: 0.6732 MB / 1.006 GB, free: 135.4 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/1.695, allocations: 43.12 kB / 1.006 GB, free: 135.3 MB / 0.573 GB Notification: Performance of pre-optimization done (n=69): time 1.984e-06/1.695, allocations: 0 / 1.006 GB, free: 135.3 MB / 0.573 GB Notification: Performance of matching and sorting (n=69): time 0.004839/1.7, allocations: 1.23 MB / 1.007 GB, free: 134.1 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.598e-05/1.7, allocations: 85.67 kB / 1.008 GB, free: 134 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003043/1.701, allocations: 337.3 kB / 1.008 GB, free: 133.6 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 3.291e-05/1.701, allocations: 25.7 kB / 1.008 GB, free: 133.6 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/1.701, allocations: 312.3 kB / 1.008 GB, free: 133.3 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/1.701, allocations: 228.5 kB / 1.008 GB, free: 133.1 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-05/1.701, allocations: 0 / 1.008 GB, free: 133.1 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 8.572e-05/1.701, allocations: 370.8 kB / 1.009 GB, free: 132.7 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000246/1.701, allocations: 193.5 kB / 1.009 GB, free: 132.5 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002769/1.702, allocations: 281.8 kB / 1.009 GB, free: 132.2 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006995/1.702, allocations: 228.4 kB / 1.009 GB, free: 132 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/1.702, allocations: 4 kB / 1.009 GB, free: 132 MB / 0.573 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.004729/1.707, allocations: 1.302 MB / 1.011 GB, free: 130.7 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/1.707, allocations: 15.89 kB / 1.011 GB, free: 130.7 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/1.707, allocations: 0 / 1.011 GB, free: 130.7 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004645/1.712, allocations: 0.9002 MB / 1.012 GB, free: 129.7 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004181/1.712, allocations: 95.89 kB / 1.012 GB, free: 129.7 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002075/1.714, allocations: 2.802 MB / 1.014 GB, free: 126.7 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005918/1.715, allocations: 63.3 kB / 1.015 GB, free: 126.6 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.181e-05/1.715, allocations: 20 kB / 1.015 GB, free: 126.6 MB / 0.573 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.0001377/1.715, allocations: 116.9 kB / 1.015 GB, free: 126.5 MB / 0.573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004794/1.72, allocations: 1.226 MB / 1.016 GB, free: 125.2 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/1.72, allocations: 55.34 kB / 1.016 GB, free: 125.2 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005044/1.725, allocations: 1.378 MB / 1.017 GB, free: 123.8 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.968e-06/1.725, allocations: 8 kB / 1.017 GB, free: 123.8 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/1.725, allocations: 7.984 kB / 1.017 GB, free: 123.8 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/1.725, allocations: 0 / 1.017 GB, free: 123.8 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006008/1.731, allocations: 2.011 MB / 1.019 GB, free: 121.7 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/1.731, allocations: 4 kB / 1.019 GB, free: 121.7 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003377/1.732, allocations: 79.89 kB / 1.019 GB, free: 121.6 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00454/1.736, allocations: 0.9041 MB / 1.02 GB, free: 120.7 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.406e-05/1.736, allocations: 7.984 kB / 1.02 GB, free: 120.7 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002029/1.738, allocations: 2.81 MB / 1.023 GB, free: 117.7 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.656e-06/1.738, allocations: 128 / 1.023 GB, free: 117.7 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005339/1.744, allocations: 1.762 MB / 1.025 GB, free: 115.9 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002317/1.744, allocations: 140.3 kB / 1.025 GB, free: 115.8 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.333e-05/1.744, allocations: 4 kB / 1.025 GB, free: 115.8 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003649/1.744, allocations: 23.92 kB / 1.025 GB, free: 115.7 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/1.744, allocations: 52.42 kB / 1.025 GB, free: 115.7 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-05/1.744, allocations: 20 kB / 1.025 GB, free: 115.7 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.000261/1.745, allocations: 255 kB / 1.025 GB, free: 115.4 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.31e-07/1.745, allocations: 4 kB / 1.025 GB, free: 115.4 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0009609/1.746, allocations: 287.4 kB / 1.025 GB, free: 115.1 MB / 0.573 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.006057/1.752, allocations: 2.87 MB / 1.028 GB, free: 112.2 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001202/1.753, allocations: 0.6996 MB / 1.029 GB, free: 111.5 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/1.753, allocations: 0 / 1.029 GB, free: 111.5 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005746/1.754, allocations: 466.1 kB / 1.029 GB, free: 111 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009863/1.755, allocations: 164.1 kB / 1.029 GB, free: 110.9 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002023/1.757, allocations: 1.096 MB / 1.031 GB, free: 109.7 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/1.757, allocations: 0.927 MB / 1.031 GB, free: 108.8 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0003234/1.757, allocations: 84.44 kB / 1.032 GB, free: 108.7 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002543/1.758, allocations: 247.3 kB / 1.032 GB, free: 108.4 MB / 0.573 GB Notification: Performance of SimCode: time 5.21e-07/1.758, allocations: 0 / 1.032 GB, free: 108.4 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03909/1.797, allocations: 19.55 MB / 1.051 GB, free: 89.02 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001482/1.797, allocations: 167.5 kB / 1.051 GB, free: 88.82 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.674/4.471, allocations: 0 / 1.051 GB, free: 88.82 MB / 0.573 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