Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.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.Undirected.Boundaries.Tests.TestBoundaries,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries",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.001008/0.001008, allocations: 176.2 kB / 7.648 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.645/1.645, 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.0008505/0.0008505, allocations: 94.11 kB / 261.4 MB, free: 13.45 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.9184/0.9184, allocations: 90.36 MB / 399.7 MB, free: 12.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.327e-05/2.33e-05, allocations: 4 kB / 472.3 MB, free: 3.371 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4464/0.4464, allocations: 66.25 MB / 0.5259 GB, free: 28.91 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.273/1.72, allocations: 432.2 MB / 0.948 GB, free: 223.1 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003049/1.72, allocations: 83.95 kB / 0.9481 GB, free: 223 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.1616/1.882, allocations: 86.79 MB / 1.033 GB, free: 135.4 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.433e-06/1.882, allocations: 0 / 1.033 GB, free: 135.4 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.121e-05/1.882, allocations: 15.98 kB / 1.033 GB, free: 135.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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001408/1.883, allocations: 0.6658 MB / 1.033 GB, free: 134.6 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/1.883, allocations: 12.03 kB / 1.034 GB, free: 134.6 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001363/1.883, allocations: 39.53 kB / 1.034 GB, free: 134.6 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004396/1.884, allocations: 298.2 kB / 1.034 GB, free: 134.2 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/1.884, allocations: 8 kB / 1.034 GB, free: 134.2 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.608e-05/1.884, allocations: 16 kB / 1.034 GB, free: 134.2 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003163/1.884, allocations: 157.1 kB / 1.034 GB, free: 134.1 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003447/1.885, allocations: 252.3 kB / 1.034 GB, free: 133.8 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/1.885, allocations: 3.938 kB / 1.034 GB, free: 133.8 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.36e-05/1.885, allocations: 0 / 1.034 GB, free: 133.8 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/1.885, allocations: 8 kB / 1.034 GB, free: 133.8 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001566/1.886, allocations: 1.52 MB / 1.036 GB, free: 132.1 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004138/1.887, allocations: 219.9 kB / 1.036 GB, free: 131.9 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/1.887, allocations: 94.62 kB / 1.036 GB, free: 131.8 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005382/1.887, allocations: 457.4 kB / 1.036 GB, free: 131.2 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.982e-05/1.887, allocations: 38.56 kB / 1.037 GB, free: 131.2 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=23): time 2.204e-06/1.887, allocations: 0 / 1.037 GB, free: 131.2 MB / 0.5886 GB Notification: Performance of matching and sorting (n=23): time 0.0008322/1.888, allocations: 290 kB / 1.037 GB, free: 130.9 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/1.888, allocations: 106.8 kB / 1.037 GB, free: 130.8 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000184/1.888, allocations: 226.2 kB / 1.037 GB, free: 130.5 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/1.889, allocations: 25.7 kB / 1.037 GB, free: 130.5 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.558e-05/1.889, allocations: 196.1 kB / 1.037 GB, free: 130.3 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.893e-05/1.889, allocations: 78.75 kB / 1.037 GB, free: 130.2 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.182e-05/1.889, allocations: 0 / 1.037 GB, free: 130.2 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.982e-05/1.889, allocations: 346.8 kB / 1.038 GB, free: 129.9 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.61e-05/1.889, allocations: 60.23 kB / 1.038 GB, free: 129.8 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/1.889, allocations: 130.2 kB / 1.038 GB, free: 129.7 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004117/1.889, allocations: 139.9 kB / 1.038 GB, free: 129.5 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/1.889, allocations: 4 kB / 1.038 GB, free: 129.5 MB / 0.5886 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006712/1.89, allocations: 333.8 kB / 1.038 GB, free: 129.2 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/1.89, allocations: 9.062 kB / 1.038 GB, free: 129.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/1.89, allocations: 0 / 1.038 GB, free: 129.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001464/1.89, allocations: 20.86 kB / 1.038 GB, free: 129.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000179/1.89, allocations: 47.97 kB / 1.038 GB, free: 129.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006935/1.891, allocations: 1.24 MB / 1.04 GB, free: 127.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002093/1.891, allocations: 27.84 kB / 1.04 GB, free: 127.7 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.41e-05/1.891, allocations: 23.94 kB / 1.04 GB, free: 127.7 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.142e-05/1.892, allocations: 104.9 kB / 1.04 GB, free: 127.6 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006697/1.892, allocations: 290.2 kB / 1.04 GB, free: 127.3 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.668e-05/1.892, allocations: 31.91 kB / 1.04 GB, free: 127.3 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007517/1.893, allocations: 339.9 kB / 1.04 GB, free: 126.9 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.837e-06/1.893, allocations: 4.078 kB / 1.04 GB, free: 126.9 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/1.893, allocations: 7.938 kB / 1.04 GB, free: 126.9 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/1.893, allocations: 0 / 1.04 GB, free: 126.9 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004022/1.894, allocations: 301.9 kB / 1.041 GB, free: 126.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/1.894, allocations: 0 / 1.041 GB, free: 126.6 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001698/1.894, allocations: 39.98 kB / 1.041 GB, free: 126.5 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.851e-05/1.894, allocations: 24.78 kB / 1.041 GB, free: 126.5 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.502e-05/1.894, allocations: 16.19 kB / 1.041 GB, free: 126.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005905/1.894, allocations: 1.237 MB / 1.042 GB, free: 125.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/1.894, allocations: 0 / 1.042 GB, free: 125.1 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007961/1.895, allocations: 0.6503 MB / 1.043 GB, free: 124.5 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.592e-05/1.895, allocations: 104.7 kB / 1.043 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.842e-05/1.895, allocations: 4 kB / 1.043 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002302/1.896, allocations: 19.97 kB / 1.043 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.903e-05/1.896, allocations: 23.92 kB / 1.043 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/1.896, allocations: 8 kB / 1.043 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001191/1.896, allocations: 174 kB / 1.043 GB, free: 124.1 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.4e-07/1.896, allocations: 0 / 1.043 GB, free: 124.1 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0005866/1.896, allocations: 111.8 kB / 1.043 GB, free: 124 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (boundary_rear.fore.m_flow,terminal_rear.p,terminal_fore.p) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00133/1.898, allocations: 1.542 MB / 1.045 GB, free: 122.4 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004646/1.898, allocations: 315.4 kB / 1.045 GB, free: 122.1 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/1.898, allocations: 4.188 kB / 1.045 GB, free: 122.1 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002701/1.899, allocations: 235.4 kB / 1.045 GB, free: 121.9 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005309/1.899, allocations: 73.61 kB / 1.045 GB, free: 121.8 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/1.9, allocations: 0.6346 MB / 1.046 GB, free: 121.1 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000208/1.901, allocations: 0.7914 MB / 1.047 GB, free: 120.3 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001512/1.901, allocations: 30.02 kB / 1.047 GB, free: 120.3 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/1.901, allocations: 107.4 kB / 1.047 GB, free: 120.2 MB / 0.5886 GB Notification: Performance of SimCode: time 4.3e-07/1.901, allocations: 4 kB / 1.047 GB, free: 120.2 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02795/1.929, allocations: 8.164 MB / 1.055 GB, free: 112 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001561/1.929, allocations: 169.8 kB / 1.055 GB, free: 111.8 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.259/4.188, allocations: 4.031 kB / 1.055 GB, free: 111.8 MB / 0.5886 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries_fmu --startTime=0 --stopTime=10 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.mat does not exist to compare? outputFormat=mat