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.008954/0.008954, allocations: 172.4 kB / 15.12 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.788/1.788, allocations: 205.4 MB / 221.2 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.0009653/0.0009654, allocations: 90.84 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.9595/0.9595, allocations: 90.59 MB / 408.4 MB, free: 14.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003214/0.0003217, allocations: 8 kB / 485.3 MB, free: 1.988 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4694/0.4697, allocations: 66.27 MB / 0.5387 GB, free: 45.17 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8176/1.287, allocations: 432.9 MB / 0.9615 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003385/1.288, allocations: 84.08 kB / 0.9615 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.5205/1.808, allocations: 87.57 MB / 1.047 GB, free: 175.8 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.154e-06/1.808, allocations: 0 / 1.047 GB, free: 175.8 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.742e-05/1.808, allocations: 11.91 kB / 1.047 GB, free: 175.8 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.00169/1.81, allocations: 0.7144 MB / 1.048 GB, free: 175 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 7.857e-05/1.81, allocations: 8.031 kB / 1.048 GB, free: 175 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.488e-05/1.81, allocations: 62.53 kB / 1.048 GB, free: 175 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.076e-05/1.81, allocations: 39.53 kB / 1.048 GB, free: 174.9 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004613/1.811, allocations: 299.6 kB / 1.048 GB, free: 174.6 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.349e-05/1.811, allocations: 20.56 kB / 1.048 GB, free: 174.6 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.077e-05/1.811, allocations: 24.56 kB / 1.048 GB, free: 174.5 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005522/1.812, allocations: 308.6 kB / 1.048 GB, free: 174.2 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/1.812, allocations: 0 / 1.048 GB, free: 174.2 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.085e-05/1.812, allocations: 12 kB / 1.048 GB, free: 174.2 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.975e-05/1.812, allocations: 4 kB / 1.049 GB, free: 174.2 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004072/1.812, allocations: 220.1 kB / 1.049 GB, free: 174 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001852/1.814, allocations: 1.584 MB / 1.05 GB, free: 172.2 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000564/1.815, allocations: 251.7 kB / 1.051 GB, free: 172 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006236/1.815, allocations: 465.5 kB / 1.051 GB, free: 171.4 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/1.815, allocations: 38.5 kB / 1.051 GB, free: 171.4 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=23): time 2.555e-06/1.815, allocations: 4 kB / 1.051 GB, free: 171.4 MB / 0.5886 GB Notification: Performance of matching and sorting (n=23): time 0.001178/1.816, allocations: 0.769 MB / 1.052 GB, free: 170.5 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.927e-05/1.816, allocations: 102.8 kB / 1.052 GB, free: 170.4 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002655/1.817, allocations: 255.8 kB / 1.052 GB, free: 170.1 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/1.817, allocations: 33.64 kB / 1.052 GB, free: 170.1 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/1.817, allocations: 196 kB / 1.052 GB, free: 169.9 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 6.229e-05/1.817, allocations: 78.69 kB / 1.052 GB, free: 169.8 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.374e-05/1.817, allocations: 8 kB / 1.052 GB, free: 169.8 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.000111/1.817, allocations: 342.8 kB / 1.053 GB, free: 169.5 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001977/1.817, allocations: 88.3 kB / 1.053 GB, free: 169.4 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001907/1.818, allocations: 150.3 kB / 1.053 GB, free: 169.2 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001817/1.818, allocations: 113.2 kB / 1.053 GB, free: 169.1 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/1.818, allocations: 4 kB / 1.053 GB, free: 169.1 MB / 0.5886 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005282/1.818, allocations: 323.2 kB / 1.053 GB, free: 168.8 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/1.818, allocations: 4 kB / 1.053 GB, free: 168.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/1.818, allocations: 7.953 kB / 1.053 GB, free: 168.8 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001858/1.819, allocations: 24.78 kB / 1.053 GB, free: 168.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001843/1.819, allocations: 51.97 kB / 1.053 GB, free: 168.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000801/1.82, allocations: 1.292 MB / 1.055 GB, free: 167.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002303/1.82, allocations: 39.97 kB / 1.055 GB, free: 167.2 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.182e-05/1.82, allocations: 12 kB / 1.055 GB, free: 167.2 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 () * Number of clocked 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 0.0001514/1.82, allocations: 145.5 kB / 1.055 GB, free: 167 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.81e-05/1.82, allocations: 31.62 kB / 1.055 GB, free: 167 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006074/1.821, allocations: 333 kB / 1.055 GB, free: 166.7 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/1.821, allocations: 4 kB / 1.055 GB, free: 166.7 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/1.821, allocations: 4 kB / 1.055 GB, free: 166.7 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/1.821, allocations: 3.984 kB / 1.055 GB, free: 166.7 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004291/1.821, allocations: 341.2 kB / 1.056 GB, free: 166.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/1.821, allocations: 3.984 kB / 1.056 GB, free: 166.3 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000184/1.821, allocations: 43.97 kB / 1.056 GB, free: 166.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.869e-05/1.821, allocations: 28.64 kB / 1.056 GB, free: 166.2 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.126e-05/1.821, allocations: 11.98 kB / 1.056 GB, free: 166.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006472/1.822, allocations: 1.288 MB / 1.057 GB, free: 164.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/1.822, allocations: 4.25 kB / 1.057 GB, free: 164.8 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006891/1.823, allocations: 0.6472 MB / 1.058 GB, free: 164.1 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.976e-05/1.823, allocations: 108.7 kB / 1.058 GB, free: 164 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.377e-05/1.823, allocations: 11.89 kB / 1.058 GB, free: 164 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002249/1.823, allocations: 20.03 kB / 1.058 GB, free: 163.9 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.647e-05/1.823, allocations: 19.97 kB / 1.058 GB, free: 163.9 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/1.823, allocations: 8 kB / 1.058 GB, free: 163.9 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001533/1.823, allocations: 207.1 kB / 1.058 GB, free: 163.7 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1e-07/1.823, allocations: 0 / 1.058 GB, free: 163.7 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0005983/1.824, allocations: 115.8 kB / 1.058 GB, free: 163.6 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 () * Number of clocked 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.00135/1.825, allocations: 1.545 MB / 1.06 GB, free: 162.1 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0006872/1.826, allocations: 391.7 kB / 1.06 GB, free: 161.7 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/1.826, allocations: 0 / 1.06 GB, free: 161.7 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0003595/1.826, allocations: 267.4 kB / 1.06 GB, free: 161.4 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005537/1.827, allocations: 72.97 kB / 1.06 GB, free: 161.3 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002837/1.83, allocations: 2.951 MB / 1.063 GB, free: 158.3 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000228/1.83, allocations: 0.7995 MB / 1.064 GB, free: 157.4 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0002286/1.83, allocations: 42.22 kB / 1.064 GB, free: 157.4 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001643/1.831, allocations: 107.4 kB / 1.064 GB, free: 157.3 MB / 0.5886 GB Notification: Performance of SimCode: time 4.51e-07/1.831, allocations: 0 / 1.064 GB, free: 157.3 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02532/1.856, allocations: 10.5 MB / 1.074 GB, free: 147 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002096/1.856, allocations: 230.3 kB / 1.075 GB, free: 146.7 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.603/4.459, allocations: 0 / 1.075 GB, free: 146.7 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