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.001012/0.001012, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 221.5 MB / 229.6 MB, free: 3.137 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009308/0.0009308, allocations: 89.91 kB / 280.5 MB, free: 1.16 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo): time 0.01079/0.01079, allocations: 1.564 MB / 332.8 MB, free: 12.77 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.582/0.582, allocations: 90.06 MB / 474 MB, free: 7.078 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.893e-05/1.888e-05, allocations: 4 kB / 0.5376 GB, free: 13.84 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.1792, allocations: 69.37 MB / 0.6053 GB, free: 8.391 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.113/1.293, allocations: 432.3 MB / 1.027 GB, free: 15.07 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002789/1.293, allocations: 84.31 kB / 1.028 GB, free: 15.03 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.5369/1.83, allocations: 88.59 MB / 1.114 GB, free: 199.3 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.643e-06/1.83, allocations: 0 / 1.114 GB, free: 199.3 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.564e-05/1.83, allocations: 13.33 kB / 1.114 GB, free: 199.3 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.001501/1.831, allocations: 0.671 MB / 1.115 GB, free: 198.7 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/1.832, allocations: 10.56 kB / 1.115 GB, free: 198.7 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001341/1.832, allocations: 38.78 kB / 1.115 GB, free: 198.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004203/1.832, allocations: 297.6 kB / 1.115 GB, free: 198.4 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.17e-05/1.832, allocations: 11.31 kB / 1.115 GB, free: 198.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.293e-05/1.832, allocations: 11.72 kB / 1.115 GB, free: 198.4 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002995/1.832, allocations: 156.1 kB / 1.115 GB, free: 198.4 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00036/1.833, allocations: 248.6 kB / 1.115 GB, free: 198.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/1.833, allocations: 11.86 kB / 1.115 GB, free: 198.2 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.294e-05/1.833, allocations: 0 / 1.115 GB, free: 198.2 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/1.833, allocations: 3.875 kB / 1.115 GB, free: 198.2 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001581/1.835, allocations: 1.523 MB / 1.117 GB, free: 196.7 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003938/1.835, allocations: 217 kB / 1.117 GB, free: 196.6 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/1.835, allocations: 85.12 kB / 1.117 GB, free: 196.5 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005135/1.836, allocations: 466.7 kB / 1.118 GB, free: 196 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/1.836, allocations: 34.44 kB / 1.118 GB, free: 196 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=23): time 1.714e-06/1.836, allocations: 0 / 1.118 GB, free: 196 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23): time 0.0008071/1.836, allocations: 292.5 kB / 1.118 GB, free: 195.8 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/1.836, allocations: 105.5 kB / 1.118 GB, free: 195.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001846/1.837, allocations: 221 kB / 1.118 GB, free: 195.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/1.837, allocations: 25.7 kB / 1.118 GB, free: 195.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.288e-05/1.837, allocations: 201.8 kB / 1.119 GB, free: 195.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.32e-05/1.837, allocations: 77.56 kB / 1.119 GB, free: 195.2 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.169e-05/1.837, allocations: 3.938 kB / 1.119 GB, free: 195.2 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.572e-05/1.837, allocations: 341.8 kB / 1.119 GB, free: 194.9 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.498e-05/1.837, allocations: 65.38 kB / 1.119 GB, free: 194.9 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001099/1.837, allocations: 121.2 kB / 1.119 GB, free: 194.8 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004084/1.838, allocations: 148.7 kB / 1.119 GB, free: 194.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/1.838, allocations: 0 / 1.119 GB, free: 194.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006674/1.838, allocations: 336.8 kB / 1.12 GB, free: 194.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/1.838, allocations: 7.625 kB / 1.12 GB, free: 194.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/1.838, allocations: 7.672 kB / 1.12 GB, free: 194.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001456/1.838, allocations: 27.98 kB / 1.12 GB, free: 194.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/1.839, allocations: 46.72 kB / 1.12 GB, free: 194.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000737/1.839, allocations: 1.254 MB / 1.121 GB, free: 193.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002249/1.84, allocations: 27.09 kB / 1.121 GB, free: 193.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.365e-05/1.84, allocations: 11.86 kB / 1.121 GB, free: 193.2 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 8.409e-05/1.84, allocations: 117.9 kB / 1.121 GB, free: 193.1 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000684/1.84, allocations: 289.7 kB / 1.121 GB, free: 192.8 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.593e-05/1.841, allocations: 23.72 kB / 1.121 GB, free: 192.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007326/1.841, allocations: 332.2 kB / 1.122 GB, free: 192.5 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/1.841, allocations: 4 kB / 1.122 GB, free: 192.5 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/1.841, allocations: 7.953 kB / 1.122 GB, free: 192.5 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/1.841, allocations: 7.984 kB / 1.122 GB, free: 192.4 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004584/1.842, allocations: 302.1 kB / 1.122 GB, free: 192.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/1.842, allocations: 0 / 1.122 GB, free: 192.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001678/1.842, allocations: 39.98 kB / 1.122 GB, free: 192.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.037e-05/1.842, allocations: 16.84 kB / 1.122 GB, free: 192.1 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/1.842, allocations: 11.98 kB / 1.122 GB, free: 192.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006047/1.843, allocations: 1.234 MB / 1.123 GB, free: 190.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/1.843, allocations: 0 / 1.123 GB, free: 190.7 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007682/1.843, allocations: 0.655 MB / 1.124 GB, free: 190 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.848e-05/1.844, allocations: 104.7 kB / 1.124 GB, free: 189.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.914e-05/1.844, allocations: 4 kB / 1.124 GB, free: 189.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002232/1.844, allocations: 12.03 kB / 1.124 GB, free: 189.9 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.637e-05/1.844, allocations: 19.97 kB / 1.124 GB, free: 189.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.66e-05/1.844, allocations: 8 kB / 1.124 GB, free: 189.9 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001208/1.844, allocations: 174 kB / 1.124 GB, free: 189.7 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.51e-07/1.844, allocations: 0 / 1.124 GB, free: 189.7 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005303/1.845, allocations: 123.7 kB / 1.124 GB, free: 189.6 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.001351/1.846, allocations: 1.536 MB / 1.126 GB, free: 188 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005179/1.847, allocations: 319.4 kB / 1.126 GB, free: 187.7 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.847, allocations: 0 / 1.126 GB, free: 187.7 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002789/1.847, allocations: 233.2 kB / 1.126 GB, free: 187.4 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005938/1.847, allocations: 65.09 kB / 1.126 GB, free: 187.4 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0016/1.849, allocations: 0.6553 MB / 1.127 GB, free: 186.7 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003699/1.849, allocations: 0.7875 MB / 1.128 GB, free: 185.9 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002447/1.85, allocations: 38.02 kB / 1.128 GB, free: 185.8 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/1.85, allocations: 107.4 kB / 1.128 GB, free: 185.7 MB / 0.6042 GB Notification: Performance of SimCode: time 1.393e-06/1.85, allocations: 0 / 1.128 GB, free: 185.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03222/1.882, allocations: 8.159 MB / 1.136 GB, free: 177.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000224/1.882, allocations: 162.1 kB / 1.136 GB, free: 177.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.285/4.168, allocations: 0 / 1.136 GB, free: 177.4 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