Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.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.Topology.Tests.TestSplitter,fileNamePrefix="ThermofluidStream_ThermofluidStream_Topology_Tests_TestSplitter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestSplitter,fileNamePrefix="ThermofluidStream_ThermofluidStream_Topology_Tests_TestSplitter",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.001037/0.001037, 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 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 221.5 MB / 229.6 MB, free: 7.555 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.0009671/0.0009671, allocations: 93.7 kB / 280.5 MB, free: 5.309 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.008934/0.008934, allocations: 1.566 MB / 332.8 MB, free: 13.52 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.7736/0.7736, allocations: 90.04 MB / 474 MB, free: 13 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.082e-05/2.086e-05, allocations: 0 / 0.5376 GB, free: 33.26 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1585, allocations: 69.37 MB / 0.6053 GB, free: 15.99 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.312/1.47, allocations: 430.3 MB / 1.025 GB, free: 126.5 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/1.471, allocations: 83.02 kB / 1.026 GB, free: 126.5 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.1258/1.596, allocations: 65.71 MB / 1.09 GB, free: 72.79 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.064e-06/1.596, allocations: 0 / 1.09 GB, free: 72.79 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.426e-05/1.596, allocations: 4 kB / 1.09 GB, free: 72.79 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0008742/1.597, allocations: 0.5065 MB / 1.09 GB, free: 72.23 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/1.597, allocations: 8.031 kB / 1.09 GB, free: 72.23 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.502e-05/1.598, allocations: 23.72 kB / 1.09 GB, free: 72.2 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003117/1.598, allocations: 247.3 kB / 1.09 GB, free: 71.92 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/1.598, allocations: 8 kB / 1.09 GB, free: 71.91 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.541e-05/1.598, allocations: 8 kB / 1.091 GB, free: 71.9 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002476/1.598, allocations: 116.3 kB / 1.091 GB, free: 71.79 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002914/1.598, allocations: 174.4 kB / 1.091 GB, free: 71.61 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/1.599, allocations: 0 / 1.091 GB, free: 71.61 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.219e-05/1.599, allocations: 0 / 1.091 GB, free: 71.61 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/1.599, allocations: 4 kB / 1.091 GB, free: 71.61 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001077/1.6, allocations: 1.031 MB / 1.092 GB, free: 70.44 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003387/1.6, allocations: 178.5 kB / 1.092 GB, free: 70.25 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/1.6, allocations: 80.84 kB / 1.092 GB, free: 70.17 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002015/1.6, allocations: 255.4 kB / 1.092 GB, free: 69.87 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.817e-05/1.6, allocations: 38.5 kB / 1.092 GB, free: 69.82 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=17): time 1.262e-06/1.6, allocations: 0 / 1.092 GB, free: 69.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.001212/1.602, allocations: 0.5938 MB / 1.093 GB, free: 69.17 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.529e-05/1.602, allocations: 59.39 kB / 1.093 GB, free: 69.1 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/1.602, allocations: 135.2 kB / 1.093 GB, free: 68.96 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/1.602, allocations: 33.64 kB / 1.093 GB, free: 68.92 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.264e-05/1.602, allocations: 140.2 kB / 1.093 GB, free: 68.78 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.853e-05/1.602, allocations: 70.97 kB / 1.093 GB, free: 68.71 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.358e-06/1.602, allocations: 0 / 1.093 GB, free: 68.71 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.373e-05/1.602, allocations: 326.8 kB / 1.094 GB, free: 68.38 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/1.602, allocations: 68.16 kB / 1.094 GB, free: 68.32 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/1.602, allocations: 86.06 kB / 1.094 GB, free: 68.23 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001749/1.602, allocations: 93.8 kB / 1.094 GB, free: 68.14 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/1.602, allocations: 3.953 kB / 1.094 GB, free: 68.13 MB / 0.6042 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004966/1.603, allocations: 290 kB / 1.094 GB, free: 67.84 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/1.603, allocations: 4 kB / 1.094 GB, free: 67.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/1.603, allocations: 0 / 1.094 GB, free: 67.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000326/1.603, allocations: 92.8 kB / 1.094 GB, free: 67.74 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.822e-05/1.603, allocations: 19.98 kB / 1.094 GB, free: 67.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001782/1.605, allocations: 1.838 MB / 1.096 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/1.605, allocations: 12 kB / 1.096 GB, free: 65.76 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.913e-05/1.605, allocations: 8 kB / 1.096 GB, free: 65.75 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(3,77.8%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.897e-05/1.605, allocations: 108.9 kB / 1.096 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004204/1.606, allocations: 255.5 kB / 1.096 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.385e-05/1.606, allocations: 15.81 kB / 1.096 GB, free: 65.36 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004912/1.606, allocations: 277 kB / 1.097 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/1.606, allocations: 0 / 1.097 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/1.606, allocations: 4 kB / 1.097 GB, free: 65.08 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/1.606, allocations: 3.938 kB / 1.097 GB, free: 65.08 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002989/1.607, allocations: 270 kB / 1.097 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/1.607, allocations: 0 / 1.097 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.364e-05/1.607, allocations: 19.98 kB / 1.097 GB, free: 64.76 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000255/1.607, allocations: 92.67 kB / 1.097 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.463e-05/1.607, allocations: 11.98 kB / 1.097 GB, free: 64.65 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001435/1.609, allocations: 1.85 MB / 1.099 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/1.609, allocations: 3.938 kB / 1.099 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005367/1.609, allocations: 433.8 kB / 1.099 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.068e-05/1.609, allocations: 88.92 kB / 1.099 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.127e-05/1.609, allocations: 16.03 kB / 1.099 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/1.609, allocations: 4 kB / 1.099 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.337e-05/1.609, allocations: 15.97 kB / 1.099 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/1.609, allocations: 11.98 kB / 1.099 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.815e-05/1.61, allocations: 108 kB / 1.1 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.41e-07/1.61, allocations: 4 kB / 1.1 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004109/1.61, allocations: 80 kB / 1.1 GB, free: 61.91 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (splitterN.outlets[1].m_flow,splitterN.outlets[2].m_flow,splitterN.outlets[3].m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(3,77.8%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001042/1.611, allocations: 1.136 MB / 1.101 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006122/1.612, allocations: 363 kB / 1.101 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/1.612, allocations: 0 / 1.101 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004042/1.612, allocations: 295.2 kB / 1.101 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003305/1.612, allocations: 24.91 kB / 1.101 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009413/1.613, allocations: 0.5459 MB / 1.102 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/1.614, allocations: 0.7594 MB / 1.103 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.075e-05/1.614, allocations: 21.27 kB / 1.103 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.495e-05/1.614, allocations: 63.41 kB / 1.103 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of SimCode: time 9.52e-07/1.614, allocations: 0 / 1.103 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02895/1.643, allocations: 6.135 MB / 1.109 GB, free: 52.49 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000223/1.643, allocations: 140.9 kB / 1.109 GB, free: 52.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.81/3.453, allocations: 1.266 kB / 1.109 GB, free: 52.3 MB / 0.6042 GB (rm -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe >> ../files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Topology_Tests_TestSplitter_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Topology_Tests_TestSplitter.fmu > ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter_res.mat does not exist to compare? outputFormat=mat