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.01085/0.01085, allocations: 171.6 kB / 15.11 MB, free: 5.973 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.838/1.838, allocations: 205.4 MB / 221.3 MB, free: 13.81 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.001071/0.001071, allocations: 82.83 kB / 269.6 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.9941/0.9941, allocations: 90.59 MB / 408.4 MB, free: 14.97 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003873/0.0003879, allocations: 8 kB / 485.3 MB, free: 1.973 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.51/0.5104, allocations: 66.27 MB / 0.5387 GB, free: 45.75 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9419/1.452, allocations: 430.9 MB / 0.9595 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002952/1.453, allocations: 75.91 kB / 0.9596 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.5378/1.991, allocations: 64.96 MB / 1.023 GB, free: 195.9 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.803e-06/1.991, allocations: 0 / 1.023 GB, free: 195.9 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.178e-05/1.991, allocations: 8.578 kB / 1.023 GB, free: 195.9 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.0008734/1.992, allocations: 0.5301 MB / 1.024 GB, free: 195.4 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.382e-05/1.992, allocations: 7.75 kB / 1.024 GB, free: 195.4 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.243e-05/1.992, allocations: 54.36 kB / 1.024 GB, free: 195.3 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.505e-05/1.992, allocations: 27.31 kB / 1.024 GB, free: 195.3 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003209/1.992, allocations: 242.9 kB / 1.024 GB, free: 195.1 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/1.992, allocations: 15.75 kB / 1.024 GB, free: 195.1 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.596e-05/1.992, allocations: 16.61 kB / 1.024 GB, free: 195.1 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003548/1.992, allocations: 195 kB / 1.024 GB, free: 194.9 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/1.993, allocations: 7.891 kB / 1.024 GB, free: 194.9 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.186e-05/1.993, allocations: 7.938 kB / 1.024 GB, free: 194.9 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/1.993, allocations: 3.875 kB / 1.024 GB, free: 194.9 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002066/1.993, allocations: 129.5 kB / 1.024 GB, free: 194.9 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/1.994, allocations: 1.078 MB / 1.025 GB, free: 193.8 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003693/1.994, allocations: 189.4 kB / 1.025 GB, free: 193.7 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002026/1.994, allocations: 254.1 kB / 1.026 GB, free: 193.4 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/1.995, allocations: 38.5 kB / 1.026 GB, free: 193.4 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=17): time 1.372e-06/1.995, allocations: 0 / 1.026 GB, free: 193.4 MB / 0.5886 GB Notification: Performance of matching and sorting (n=18): time 0.001629/1.996, allocations: 1.045 MB / 1.027 GB, free: 192.4 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/1.996, allocations: 51.41 kB / 1.027 GB, free: 192.4 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/1.996, allocations: 157.4 kB / 1.027 GB, free: 192.3 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/1.996, allocations: 25.7 kB / 1.027 GB, free: 192.2 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.934e-05/1.996, allocations: 128.4 kB / 1.027 GB, free: 192.1 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.785e-05/1.996, allocations: 70.81 kB / 1.027 GB, free: 192 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.007e-06/1.997, allocations: 3.969 kB / 1.027 GB, free: 192 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.091e-05/1.997, allocations: 330.7 kB / 1.027 GB, free: 191.7 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/1.997, allocations: 79.31 kB / 1.028 GB, free: 191.7 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/1.997, allocations: 89.08 kB / 1.028 GB, free: 191.6 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/1.997, allocations: 94.61 kB / 1.028 GB, free: 191.6 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/1.997, allocations: 0 / 1.028 GB, free: 191.6 MB / 0.5886 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004985/1.997, allocations: 313.9 kB / 1.028 GB, free: 191.4 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/1.998, allocations: 5.625 kB / 1.028 GB, free: 191.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/1.998, allocations: 7.656 kB / 1.028 GB, free: 191.4 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003181/1.998, allocations: 90.55 kB / 1.028 GB, free: 191.3 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.386e-05/1.998, allocations: 19.45 kB / 1.028 GB, free: 191.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001766/2, allocations: 1.971 MB / 1.03 GB, free: 189.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/2, allocations: 17.41 kB / 1.03 GB, free: 189.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.558e-05/2, allocations: 7.422 kB / 1.03 GB, free: 189.6 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 () * Number of clocked 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.0001262/2, allocations: 146.2 kB / 1.03 GB, free: 189.4 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.267e-05/2, allocations: 20.52 kB / 1.03 GB, free: 189.4 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005041/2.001, allocations: 298.8 kB / 1.031 GB, free: 189.2 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/2.001, allocations: 3.984 kB / 1.031 GB, free: 189.2 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/2.001, allocations: 3.719 kB / 1.031 GB, free: 189.2 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/2.001, allocations: 0 / 1.031 GB, free: 189.2 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003005/2.001, allocations: 310.3 kB / 1.031 GB, free: 188.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/2.001, allocations: 4 kB / 1.031 GB, free: 188.9 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.035e-05/2.001, allocations: 23.61 kB / 1.031 GB, free: 188.9 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002657/2.001, allocations: 95.52 kB / 1.031 GB, free: 188.9 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.423e-05/2.001, allocations: 11.95 kB / 1.031 GB, free: 188.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001602/2.003, allocations: 1.956 MB / 1.033 GB, free: 187.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/2.003, allocations: 0 / 1.033 GB, free: 187.1 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005827/2.003, allocations: 464.2 kB / 1.033 GB, free: 186.8 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.012e-05/2.004, allocations: 100.5 kB / 1.033 GB, free: 186.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.961e-05/2.004, allocations: 6.438 kB / 1.033 GB, free: 186.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/2.004, allocations: 15.17 kB / 1.033 GB, free: 186.7 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.907e-05/2.004, allocations: 11.45 kB / 1.033 GB, free: 186.7 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/2.004, allocations: 11.7 kB / 1.033 GB, free: 186.7 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 9.017e-05/2.004, allocations: 133.4 kB / 1.034 GB, free: 186.6 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.3e-07/2.004, allocations: 0 / 1.034 GB, free: 186.6 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004311/2.004, allocations: 90.3 kB / 1.034 GB, free: 186.5 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 () * Number of clocked 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.001053/2.005, allocations: 1.141 MB / 1.035 GB, free: 185.6 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0008074/2.006, allocations: 384.4 kB / 1.035 GB, free: 185.4 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/2.006, allocations: 3.938 kB / 1.035 GB, free: 185.4 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0004537/2.007, allocations: 304.2 kB / 1.035 GB, free: 185.1 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003798/2.007, allocations: 29.27 kB / 1.035 GB, free: 185.1 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002138/2.009, allocations: 1.748 MB / 1.037 GB, free: 183.8 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002607/2.01, allocations: 0.7605 MB / 1.038 GB, free: 183.1 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 7.356e-05/2.01, allocations: 18.73 kB / 1.038 GB, free: 183.1 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.768e-05/2.01, allocations: 66.94 kB / 1.038 GB, free: 183 MB / 0.5886 GB Notification: Performance of SimCode: time 6.11e-07/2.01, allocations: 0 / 1.038 GB, free: 183 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02149/2.031, allocations: 7.948 MB / 1.046 GB, free: 176.7 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001864/2.031, allocations: 209.6 kB / 1.046 GB, free: 176.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.166/4.198, allocations: 0 / 1.046 GB, free: 176.5 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