Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestSplitter.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.Topology.Tests.TestSplitter,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Topology_Tests_TestSplitter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestSplitter,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Topology_Tests_TestSplitter",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.001103/0.001103, allocations: 174.5 kB / 12.73 MB, free: 2.59 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.593/1.593, allocations: 205.2 MB / 218.5 MB, free: 9.215 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.0009423/0.0009423, allocations: 86.58 kB / 266.6 MB, free: 9.281 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.8677/0.8677, allocations: 90.34 MB / 405 MB, free: 8.648 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.816e-05/3.827e-05, allocations: 4 kB / 479.2 MB, free: 14.26 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4053/0.4054, allocations: 66.26 MB / 0.5327 GB, free: 28.55 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.256/1.661, allocations: 430.8 MB / 0.9535 GB, free: 159.3 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002751/1.661, allocations: 77.86 kB / 0.9535 GB, free: 159.3 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.1246/1.786, allocations: 64.72 MB / 1.017 GB, free: 132.5 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.933e-06/1.786, allocations: 0 / 1.017 GB, free: 132.5 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.703e-05/1.786, allocations: 4 kB / 1.017 GB, free: 132.5 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0007411/1.787, allocations: 0.5087 MB / 1.017 GB, free: 132 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/1.787, allocations: 8.031 kB / 1.017 GB, free: 132 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.571e-05/1.787, allocations: 55.23 kB / 1.017 GB, free: 131.9 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.686e-05/1.787, allocations: 31.66 kB / 1.017 GB, free: 131.9 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002762/1.787, allocations: 241.4 kB / 1.018 GB, free: 131.6 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/1.787, allocations: 7.375 kB / 1.018 GB, free: 131.6 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.491e-05/1.787, allocations: 26.36 kB / 1.018 GB, free: 131.6 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003373/1.788, allocations: 192.4 kB / 1.018 GB, free: 131.4 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/1.788, allocations: 0 / 1.018 GB, free: 131.4 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.106e-05/1.788, allocations: 8.75 kB / 1.018 GB, free: 131.4 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.315e-05/1.788, allocations: 7.5 kB / 1.018 GB, free: 131.4 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002143/1.788, allocations: 119.5 kB / 1.018 GB, free: 131.4 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001044/1.789, allocations: 1.084 MB / 1.019 GB, free: 130.3 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003733/1.789, allocations: 191.1 kB / 1.019 GB, free: 130.1 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001265/1.79, allocations: 86.64 kB / 1.019 GB, free: 130.1 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001891/1.79, allocations: 250.2 kB / 1.019 GB, free: 129.8 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.761e-05/1.79, allocations: 30.56 kB / 1.019 GB, free: 129.7 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=17): time 1.463e-06/1.79, allocations: 0 / 1.019 GB, free: 129.7 MB / 0.5886 GB Notification: Performance of matching and sorting (n=18): time 0.001125/1.791, allocations: 0.6437 MB / 1.02 GB, free: 129.1 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/1.791, allocations: 55.31 kB / 1.02 GB, free: 129 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/1.791, allocations: 150.4 kB / 1.02 GB, free: 128.8 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/1.791, allocations: 33.69 kB / 1.02 GB, free: 128.8 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.58e-05/1.791, allocations: 124.4 kB / 1.02 GB, free: 128.7 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.89e-05/1.791, allocations: 67 kB / 1.021 GB, free: 128.6 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.558e-06/1.791, allocations: 4 kB / 1.021 GB, free: 128.6 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.682e-05/1.791, allocations: 334.8 kB / 1.021 GB, free: 128.3 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/1.791, allocations: 76.16 kB / 1.021 GB, free: 128.2 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/1.792, allocations: 94.05 kB / 1.021 GB, free: 128.1 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001154/1.792, allocations: 83.95 kB / 1.021 GB, free: 128 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/1.792, allocations: 0 / 1.021 GB, free: 128 MB / 0.5886 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004904/1.792, allocations: 309.5 kB / 1.021 GB, free: 127.7 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/1.792, allocations: 11.94 kB / 1.021 GB, free: 127.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/1.792, allocations: 0 / 1.021 GB, free: 127.7 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003067/1.793, allocations: 96.73 kB / 1.021 GB, free: 127.6 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.154e-05/1.793, allocations: 23.98 kB / 1.022 GB, free: 127.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001668/1.794, allocations: 1.926 MB / 1.023 GB, free: 125.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.864e-05/1.794, allocations: 19.84 kB / 1.023 GB, free: 125.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.768e-05/1.795, allocations: 11.97 kB / 1.023 GB, free: 125.5 MB / 0.5886 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 6.766e-05/1.795, allocations: 120.8 kB / 1.024 GB, free: 125.4 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.945e-05/1.795, allocations: 19.81 kB / 1.024 GB, free: 125.3 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004828/1.795, allocations: 291.9 kB / 1.024 GB, free: 125 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/1.795, allocations: 3.953 kB / 1.024 GB, free: 125 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/1.795, allocations: 4 kB / 1.024 GB, free: 125 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/1.795, allocations: 4 kB / 1.024 GB, free: 125 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002787/1.795, allocations: 305.5 kB / 1.024 GB, free: 124.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/1.795, allocations: 0 / 1.024 GB, free: 124.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.94e-05/1.796, allocations: 15.98 kB / 1.024 GB, free: 124.7 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002505/1.796, allocations: 100.7 kB / 1.024 GB, free: 124.6 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.192e-05/1.796, allocations: 11.98 kB / 1.024 GB, free: 124.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001479/1.797, allocations: 1.925 MB / 1.026 GB, free: 122.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/1.797, allocations: 0 / 1.026 GB, free: 122.5 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005122/1.798, allocations: 452.1 kB / 1.027 GB, free: 122 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.699e-05/1.798, allocations: 88.92 kB / 1.027 GB, free: 121.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.996e-05/1.798, allocations: 16.03 kB / 1.027 GB, free: 121.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/1.798, allocations: 15.94 kB / 1.027 GB, free: 121.9 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.447e-05/1.798, allocations: 15.98 kB / 1.027 GB, free: 121.9 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/1.798, allocations: 7.984 kB / 1.027 GB, free: 121.9 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 7.194e-05/1.798, allocations: 128 kB / 1.027 GB, free: 121.8 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.2e-07/1.798, allocations: 4 kB / 1.027 GB, free: 121.7 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003904/1.799, allocations: 84 kB / 1.027 GB, free: 121.7 MB / 0.5886 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.0009269/1.799, allocations: 1.128 MB / 1.028 GB, free: 120.5 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0006151/1.8, allocations: 387.8 kB / 1.028 GB, free: 120.1 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/1.8, allocations: 0 / 1.028 GB, free: 120.1 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0003988/1.801, allocations: 296 kB / 1.029 GB, free: 119.8 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/1.801, allocations: 41.64 kB / 1.029 GB, free: 119.8 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008574/1.802, allocations: 0.5552 MB / 1.029 GB, free: 119.2 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001903/1.802, allocations: 0.7633 MB / 1.03 GB, free: 118.4 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 6.182e-05/1.802, allocations: 25.47 kB / 1.03 GB, free: 118.4 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.839e-05/1.802, allocations: 63.41 kB / 1.03 GB, free: 118.3 MB / 0.5886 GB Notification: Performance of SimCode: time 4.01e-07/1.802, allocations: 0 / 1.03 GB, free: 118.3 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02115/1.823, allocations: 8.26 MB / 1.038 GB, free: 110.1 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001782/1.823, allocations: 187.6 kB / 1.038 GB, free: 109.9 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.105/3.928, allocations: 0 / 1.038 GB, free: 109.9 MB / 0.5886 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestSplitter.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestSplitter.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestSplitter.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestSplitter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestSplitter_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_Topology_Tests_TestSplitter_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_Topology_Tests_TestSplitter.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestSplitter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestSplitter_res.mat does not exist to compare? outputFormat=mat