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.001178/0.001178, allocations: 174.3 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.497/1.497, allocations: 221.4 MB / 234.6 MB, free: 14.44 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.001316/0.001316, allocations: 86.17 kB / 285.6 MB, free: 12.98 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.01174/0.01174, allocations: 1.555 MB / 338.1 MB, free: 8.473 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.6141/0.6141, allocations: 90.04 MB / 479.3 MB, free: 2.977 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.928e-05/3.931e-05, allocations: 4 kB / 0.5446 GB, free: 7.891 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1848/0.1848, allocations: 69.35 MB / 0.6123 GB, free: 2.449 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.213/1.397, allocations: 430.9 MB / 1.033 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000271/1.398, allocations: 70.03 kB / 1.033 GB, free: 3.312 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.5631/1.961, allocations: 66.05 MB / 1.098 GB, free: 205.6 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.256e-06/1.961, allocations: 0 / 1.098 GB, free: 205.6 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.629e-05/1.961, allocations: 7.75 kB / 1.098 GB, free: 205.6 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.001167/1.962, allocations: 0.5104 MB / 1.098 GB, free: 205.1 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 7.121e-05/1.962, allocations: 19.77 kB / 1.098 GB, free: 205.1 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.543e-05/1.962, allocations: 54.55 kB / 1.098 GB, free: 205 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.703e-05/1.962, allocations: 31.38 kB / 1.098 GB, free: 205 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003888/1.963, allocations: 237.9 kB / 1.099 GB, free: 204.8 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.623e-05/1.963, allocations: 11.81 kB / 1.099 GB, free: 204.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.893e-05/1.963, allocations: 19.69 kB / 1.099 GB, free: 204.7 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005429/1.964, allocations: 194.3 kB / 1.099 GB, free: 204.6 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/1.964, allocations: 0 / 1.099 GB, free: 204.6 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.381e-05/1.964, allocations: 8 kB / 1.099 GB, free: 204.6 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/1.964, allocations: 7.891 kB / 1.099 GB, free: 204.6 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003556/1.964, allocations: 119.6 kB / 1.099 GB, free: 204.6 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001642/1.966, allocations: 1.08 MB / 1.1 GB, free: 203.5 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006336/1.966, allocations: 188.2 kB / 1.1 GB, free: 203.4 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002134/1.967, allocations: 89.59 kB / 1.1 GB, free: 203.4 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002765/1.967, allocations: 249.7 kB / 1.1 GB, free: 203.1 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/1.967, allocations: 38.19 kB / 1.1 GB, free: 203 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=17): time 2.455e-06/1.967, allocations: 0 / 1.1 GB, free: 203 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.001874/1.969, allocations: 0.641 MB / 1.101 GB, free: 202.5 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/1.969, allocations: 55.31 kB / 1.101 GB, free: 202.5 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002004/1.969, allocations: 154.5 kB / 1.101 GB, free: 202.4 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/1.969, allocations: 25.7 kB / 1.101 GB, free: 202.3 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.348e-05/1.969, allocations: 143.1 kB / 1.101 GB, free: 202.2 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.063e-05/1.969, allocations: 62.55 kB / 1.102 GB, free: 202.1 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.498e-05/1.969, allocations: 8 kB / 1.102 GB, free: 202.1 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.505e-05/1.969, allocations: 326.4 kB / 1.102 GB, free: 201.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001862/1.97, allocations: 71.92 kB / 1.102 GB, free: 201.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002158/1.97, allocations: 98.8 kB / 1.102 GB, free: 201.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002302/1.97, allocations: 84.91 kB / 1.102 GB, free: 201.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/1.97, allocations: 1.625 kB / 1.102 GB, free: 201.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008322/1.971, allocations: 319.7 kB / 1.102 GB, free: 201.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.787e-05/1.971, allocations: 7.438 kB / 1.102 GB, free: 201.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/1.971, allocations: 0 / 1.102 GB, free: 201.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005639/1.972, allocations: 94.95 kB / 1.102 GB, free: 201.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/1.972, allocations: 23.73 kB / 1.103 GB, free: 201.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002929/1.975, allocations: 1.924 MB / 1.104 GB, free: 199.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001889/1.975, allocations: 15.59 kB / 1.104 GB, free: 199.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.978e-05/1.975, allocations: 7.781 kB / 1.104 GB, free: 199.7 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 0.0001155/1.975, allocations: 116.2 kB / 1.105 GB, free: 199.6 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.058e-05/1.975, allocations: 15 kB / 1.105 GB, free: 199.6 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008753/1.976, allocations: 292.8 kB / 1.105 GB, free: 199.4 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/1.976, allocations: 3.375 kB / 1.105 GB, free: 199.4 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/1.976, allocations: 0 / 1.105 GB, free: 199.4 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/1.976, allocations: 6.812 kB / 1.105 GB, free: 199.4 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000499/1.977, allocations: 314.1 kB / 1.105 GB, free: 199.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/1.977, allocations: 0 / 1.105 GB, free: 199.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/1.977, allocations: 10.88 kB / 1.105 GB, free: 199.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005213/1.977, allocations: 99.02 kB / 1.105 GB, free: 199.1 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.188e-05/1.977, allocations: 11.83 kB / 1.105 GB, free: 199 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002766/1.98, allocations: 1.921 MB / 1.107 GB, free: 197.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/1.98, allocations: 0 / 1.107 GB, free: 197.3 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009902/1.981, allocations: 453.8 kB / 1.108 GB, free: 197 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.573e-05/1.981, allocations: 92.77 kB / 1.108 GB, free: 196.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.722e-05/1.981, allocations: 11.84 kB / 1.108 GB, free: 196.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002281/1.982, allocations: 11.92 kB / 1.108 GB, free: 196.9 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.659e-05/1.982, allocations: 11.86 kB / 1.108 GB, free: 196.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.512e-05/1.982, allocations: 11.86 kB / 1.108 GB, free: 196.9 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001843/1.982, allocations: 128.1 kB / 1.108 GB, free: 196.8 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.585e-06/1.982, allocations: 4 kB / 1.108 GB, free: 196.8 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000721/1.983, allocations: 95.42 kB / 1.108 GB, free: 196.8 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.001656/1.984, allocations: 1.135 MB / 1.109 GB, free: 195.9 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008847/1.985, allocations: 377.9 kB / 1.109 GB, free: 195.6 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/1.985, allocations: 0 / 1.109 GB, free: 195.6 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006076/1.986, allocations: 300.8 kB / 1.11 GB, free: 195.4 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004766/1.986, allocations: 32.41 kB / 1.11 GB, free: 195.4 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001494/1.988, allocations: 0.5613 MB / 1.11 GB, free: 194.9 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002571/1.988, allocations: 0.7603 MB / 1.111 GB, free: 194.2 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 9.918e-05/1.988, allocations: 26.78 kB / 1.111 GB, free: 194.2 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.574e-05/1.988, allocations: 61.44 kB / 1.111 GB, free: 194.1 MB / 0.6042 GB Notification: Performance of SimCode: time 4.51e-07/1.988, allocations: 0 / 1.111 GB, free: 194.1 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02195/2.01, allocations: 8.244 MB / 1.119 GB, free: 186.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001786/2.011, allocations: 177.4 kB / 1.119 GB, free: 186 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.096/4.107, allocations: 0 / 1.119 GB, free: 186 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