Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo) Using package ObsoleteModelica4 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001767/0.001768, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.528/1.528, allocations: 221.4 MB / 234.6 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 94.64 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo): time 0.01009/0.01009, allocations: 1.554 MB / 338 MB, free: 8.484 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.5957/0.5957, allocations: 90.04 MB / 479.4 MB, free: 2.973 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.978e-05/3.981e-05, allocations: 4 kB / 0.5446 GB, free: 7.895 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.1767, allocations: 69.37 MB / 0.6123 GB, free: 2.438 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.303/1.48, allocations: 432.9 MB / 1.035 GB, free: 1.379 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005403/1.481, allocations: 83.58 kB / 1.035 GB, free: 1.336 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.5926/2.073, allocations: 89.06 MB / 1.122 GB, free: 183.7 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.074e-06/2.073, allocations: 0 / 1.122 GB, free: 183.7 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.288e-05/2.073, allocations: 4 kB / 1.122 GB, free: 183.7 MB / 0.6042 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.001443/2.075, allocations: 0.6805 MB / 1.123 GB, free: 183 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.737e-05/2.075, allocations: 19.92 kB / 1.123 GB, free: 182.9 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.561e-05/2.075, allocations: 58.55 kB / 1.123 GB, free: 182.9 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.406e-05/2.075, allocations: 47.48 kB / 1.123 GB, free: 182.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003835/2.076, allocations: 298.2 kB / 1.123 GB, free: 182.5 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.691e-05/2.076, allocations: 20.56 kB / 1.123 GB, free: 182.5 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.34e-05/2.076, allocations: 27.91 kB / 1.123 GB, free: 182.5 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000445/2.076, allocations: 271.8 kB / 1.124 GB, free: 182.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/2.076, allocations: 3.938 kB / 1.124 GB, free: 182.2 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.526e-05/2.076, allocations: 19.95 kB / 1.124 GB, free: 182.2 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.331e-05/2.076, allocations: 15.98 kB / 1.124 GB, free: 182.1 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002716/2.076, allocations: 165.2 kB / 1.124 GB, free: 182 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001605/2.078, allocations: 1.573 MB / 1.125 GB, free: 180.2 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004744/2.079, allocations: 243.8 kB / 1.126 GB, free: 180 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001162/2.079, allocations: 86.64 kB / 1.126 GB, free: 179.9 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005267/2.079, allocations: 461 kB / 1.126 GB, free: 179.3 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.914e-05/2.079, allocations: 38.56 kB / 1.126 GB, free: 179.3 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=23): time 2.534e-06/2.079, allocations: 0 / 1.126 GB, free: 179.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23): time 0.0005665/2.08, allocations: 242 kB / 1.126 GB, free: 179 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/2.08, allocations: 110.8 kB / 1.126 GB, free: 178.9 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002089/2.08, allocations: 254.8 kB / 1.127 GB, free: 178.6 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/2.08, allocations: 29.7 kB / 1.127 GB, free: 178.6 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.937e-05/2.08, allocations: 192.1 kB / 1.127 GB, free: 178.4 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.414e-05/2.08, allocations: 84.95 kB / 1.127 GB, free: 178.3 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.012e-05/2.08, allocations: 0 / 1.127 GB, free: 178.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.406e-05/2.08, allocations: 350.8 kB / 1.127 GB, free: 178 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/2.081, allocations: 68.23 kB / 1.127 GB, free: 177.9 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001293/2.081, allocations: 118.5 kB / 1.127 GB, free: 177.8 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/2.081, allocations: 99.34 kB / 1.128 GB, free: 177.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/2.081, allocations: 4 kB / 1.128 GB, free: 177.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003967/2.081, allocations: 277.9 kB / 1.128 GB, free: 177.4 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/2.081, allocations: 8 kB / 1.128 GB, free: 177.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/2.081, allocations: 0 / 1.128 GB, free: 177.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001773/2.081, allocations: 29.09 kB / 1.128 GB, free: 177.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001809/2.082, allocations: 51.94 kB / 1.128 GB, free: 177.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007786/2.082, allocations: 1.292 MB / 1.129 GB, free: 175.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002245/2.083, allocations: 27.75 kB / 1.129 GB, free: 175.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.45e-05/2.083, allocations: 15.98 kB / 1.129 GB, free: 175.8 MB / 0.6042 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 9.055e-05/2.083, allocations: 121 kB / 1.129 GB, free: 175.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.104e-05/2.083, allocations: 31.62 kB / 1.129 GB, free: 175.7 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005087/2.083, allocations: 285.1 kB / 1.13 GB, free: 175.4 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/2.083, allocations: 8 kB / 1.13 GB, free: 175.4 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/2.083, allocations: 4 kB / 1.13 GB, free: 175.4 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/2.083, allocations: 0 / 1.13 GB, free: 175.4 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000426/2.084, allocations: 351.9 kB / 1.13 GB, free: 175 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/2.084, allocations: 0 / 1.13 GB, free: 175 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001602/2.084, allocations: 39.97 kB / 1.13 GB, free: 175 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.937e-05/2.084, allocations: 24.78 kB / 1.13 GB, free: 174.9 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.279e-05/2.084, allocations: 11.95 kB / 1.13 GB, free: 174.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006304/2.085, allocations: 1.284 MB / 1.131 GB, free: 173.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/2.085, allocations: 4.141 kB / 1.131 GB, free: 173.5 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005326/2.085, allocations: 0.6011 MB / 1.132 GB, free: 172.9 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.543e-05/2.085, allocations: 108.8 kB / 1.132 GB, free: 172.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.391e-05/2.085, allocations: 12 kB / 1.132 GB, free: 172.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002291/2.086, allocations: 15.98 kB / 1.132 GB, free: 172.7 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.204e-05/2.086, allocations: 23.88 kB / 1.132 GB, free: 172.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.029e-05/2.086, allocations: 11.98 kB / 1.132 GB, free: 172.7 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001689/2.086, allocations: 206.1 kB / 1.132 GB, free: 172.5 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/2.086, allocations: 4 kB / 1.132 GB, free: 172.5 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000629/2.087, allocations: 119.8 kB / 1.132 GB, free: 172.4 MB / 0.6042 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.001449/2.088, allocations: 1.457 MB / 1.134 GB, free: 170.9 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006147/2.089, allocations: 350.1 kB / 1.134 GB, free: 170.5 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/2.089, allocations: 0 / 1.134 GB, free: 170.5 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003068/2.089, allocations: 244.2 kB / 1.134 GB, free: 170.3 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006072/2.09, allocations: 75.03 kB / 1.134 GB, free: 170.2 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001333/2.091, allocations: 0.6637 MB / 1.135 GB, free: 169.5 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000246/2.091, allocations: 0.7914 MB / 1.136 GB, free: 168.7 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000157/2.091, allocations: 45.88 kB / 1.136 GB, free: 168.6 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/2.092, allocations: 111.4 kB / 1.136 GB, free: 168.5 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/2.092, allocations: 0 / 1.136 GB, free: 168.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02785/2.119, allocations: 10.78 MB / 1.147 GB, free: 158 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001724/2.12, allocations: 186.8 kB / 1.147 GB, free: 157.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.408/4.528, allocations: 0 / 1.147 GB, free: 157.7 MB / 0.6042 GB (rm -f ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries_fmu --startTime=0 --stopTime=10 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries.fmu > ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.mat does not exist to compare? outputFormat=mat