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.001239/0.00124, allocations: 172.8 kB / 12.73 MB, free: 2.586 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.492/1.492, allocations: 205.2 MB / 218.5 MB, free: 9.211 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.001018/0.001018, allocations: 83.62 kB / 266.6 MB, free: 9.27 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.817/0.817, allocations: 90.35 MB / 405 MB, free: 8.609 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.427e-05/3.429e-05, allocations: 8 kB / 479.3 MB, free: 14.21 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3816/0.3817, allocations: 66.26 MB / 0.5327 GB, free: 28.58 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.219/1.601, allocations: 432.8 MB / 0.9554 GB, free: 158.4 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002801/1.601, allocations: 86.86 kB / 0.9555 GB, free: 158.4 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.1695/1.77, allocations: 87.25 MB / 1.041 GB, free: 107.9 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.134e-06/1.77, allocations: 0 / 1.041 GB, free: 107.9 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.723e-05/1.77, allocations: 8 kB / 1.041 GB, free: 107.9 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.001465/1.772, allocations: 0.662 MB / 1.041 GB, free: 107.2 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/1.772, allocations: 8.031 kB / 1.041 GB, free: 107.2 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001062/1.772, allocations: 66.53 kB / 1.041 GB, free: 107.1 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.464e-05/1.772, allocations: 39.53 kB / 1.041 GB, free: 107.1 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004223/1.773, allocations: 298.2 kB / 1.042 GB, free: 106.7 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.894e-05/1.773, allocations: 24.5 kB / 1.042 GB, free: 106.7 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.852e-05/1.773, allocations: 24 kB / 1.042 GB, free: 106.7 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004627/1.773, allocations: 280.2 kB / 1.042 GB, free: 106.4 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/1.773, allocations: 0 / 1.042 GB, free: 106.4 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.668e-05/1.773, allocations: 12 kB / 1.042 GB, free: 106.4 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/1.773, allocations: 12 kB / 1.042 GB, free: 106.4 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002847/1.774, allocations: 172.3 kB / 1.042 GB, free: 106.2 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00169/1.775, allocations: 1.578 MB / 1.044 GB, free: 104.4 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004509/1.776, allocations: 235.8 kB / 1.044 GB, free: 104.2 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/1.776, allocations: 94.69 kB / 1.044 GB, free: 104.1 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005269/1.776, allocations: 461.4 kB / 1.045 GB, free: 103.5 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/1.776, allocations: 38.56 kB / 1.045 GB, free: 103.5 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=23): time 1.703e-06/1.776, allocations: 0 / 1.045 GB, free: 103.5 MB / 0.5886 GB Notification: Performance of matching and sorting (n=23): time 0.0005655/1.777, allocations: 246 kB / 1.045 GB, free: 103.2 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/1.777, allocations: 110.8 kB / 1.045 GB, free: 103.1 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000225/1.777, allocations: 254.8 kB / 1.045 GB, free: 102.9 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/1.777, allocations: 25.7 kB / 1.045 GB, free: 102.8 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.595e-05/1.777, allocations: 196.1 kB / 1.045 GB, free: 102.6 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.557e-05/1.777, allocations: 78.84 kB / 1.045 GB, free: 102.6 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.156e-05/1.778, allocations: 4 kB / 1.045 GB, free: 102.5 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.704e-05/1.778, allocations: 346.8 kB / 1.046 GB, free: 102.2 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/1.778, allocations: 68.23 kB / 1.046 GB, free: 102.1 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/1.778, allocations: 134.4 kB / 1.046 GB, free: 102 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000133/1.778, allocations: 87.91 kB / 1.046 GB, free: 101.9 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/1.778, allocations: 0 / 1.046 GB, free: 101.9 MB / 0.5886 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004293/1.778, allocations: 281.9 kB / 1.046 GB, free: 101.6 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/1.778, allocations: 8 kB / 1.046 GB, free: 101.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/1.778, allocations: 0 / 1.046 GB, free: 101.6 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001577/1.779, allocations: 24.84 kB / 1.046 GB, free: 101.6 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001827/1.779, allocations: 56.03 kB / 1.046 GB, free: 101.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007494/1.78, allocations: 1.296 MB / 1.048 GB, free: 100.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002369/1.78, allocations: 39.8 kB / 1.048 GB, free: 100.1 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.256e-05/1.78, allocations: 8 kB / 1.048 GB, free: 100 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.008e-05/1.78, allocations: 124.7 kB / 1.048 GB, free: 99.91 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.684e-05/1.78, allocations: 35.72 kB / 1.048 GB, free: 99.88 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005158/1.781, allocations: 281 kB / 1.048 GB, free: 99.59 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/1.781, allocations: 0 / 1.048 GB, free: 99.59 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/1.781, allocations: 4 kB / 1.048 GB, free: 99.59 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/1.781, allocations: 8.266 kB / 1.048 GB, free: 99.58 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004722/1.781, allocations: 353.3 kB / 1.049 GB, free: 99.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/1.781, allocations: 0 / 1.049 GB, free: 99.18 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001684/1.781, allocations: 43.91 kB / 1.049 GB, free: 99.14 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.991e-05/1.781, allocations: 20.84 kB / 1.049 GB, free: 99.12 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.327e-05/1.781, allocations: 11.94 kB / 1.049 GB, free: 99.11 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006048/1.782, allocations: 1.292 MB / 1.05 GB, free: 97.68 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/1.782, allocations: 0 / 1.05 GB, free: 97.68 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000514/1.783, allocations: 0.5982 MB / 1.05 GB, free: 97.05 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.025e-05/1.783, allocations: 112.6 kB / 1.051 GB, free: 96.93 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/1.783, allocations: 4 kB / 1.051 GB, free: 96.92 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002276/1.783, allocations: 20.03 kB / 1.051 GB, free: 96.9 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.349e-05/1.783, allocations: 19.97 kB / 1.051 GB, free: 96.88 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/1.783, allocations: 8 kB / 1.051 GB, free: 96.88 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001526/1.783, allocations: 206.2 kB / 1.051 GB, free: 96.68 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8.82e-07/1.783, allocations: 0 / 1.051 GB, free: 96.68 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0005375/1.784, allocations: 119.7 kB / 1.051 GB, free: 96.56 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.0009993/1.785, allocations: 1.484 MB / 1.052 GB, free: 95.04 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0005109/1.785, allocations: 340.3 kB / 1.053 GB, free: 94.69 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/1.785, allocations: 0 / 1.053 GB, free: 94.69 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002691/1.786, allocations: 248.2 kB / 1.053 GB, free: 94.43 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005327/1.786, allocations: 69.48 kB / 1.053 GB, free: 94.36 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/1.787, allocations: 0.6636 MB / 1.054 GB, free: 93.65 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001899/1.788, allocations: 0.7953 MB / 1.054 GB, free: 92.83 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001417/1.788, allocations: 38 kB / 1.054 GB, free: 92.8 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/1.788, allocations: 107.4 kB / 1.055 GB, free: 92.69 MB / 0.5886 GB Notification: Performance of SimCode: time 6.72e-07/1.788, allocations: 4 kB / 1.055 GB, free: 92.69 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02182/1.81, allocations: 10.79 MB / 1.065 GB, free: 82.02 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001538/1.81, allocations: 200 kB / 1.065 GB, free: 81.8 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.332/4.142, allocations: 4 kB / 1.065 GB, free: 81.79 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