Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.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.Boundaries.Tests.TerminalSourceSink,fileNamePrefix="ThermofluidStream_ThermofluidStream_Boundaries_Tests_TerminalSourceSink",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Boundaries.Tests.TerminalSourceSink,fileNamePrefix="ThermofluidStream_ThermofluidStream_Boundaries_Tests_TerminalSourceSink",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.001615/0.001615, allocations: 174.6 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.568/1.568, allocations: 221.4 MB / 234.6 MB, free: 14.46 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.001221/0.001221, allocations: 96.19 kB / 285.6 MB, free: 13.02 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.01401/0.01401, allocations: 1.553 MB / 338.1 MB, free: 8.5 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.6665/0.6665, allocations: 90.04 MB / 479.4 MB, free: 2.996 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 6.032e-05/6.075e-05, allocations: 8 kB / 0.5446 GB, free: 7.91 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.2116, allocations: 69.35 MB / 0.6123 GB, free: 2.473 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.523/1.734, allocations: 431.8 MB / 1.034 GB, free: 2.562 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000383/1.735, allocations: 73.97 kB / 1.034 GB, free: 2.527 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.6281/2.363, allocations: 48.22 MB / 1.081 GB, free: 214.6 MB / 0.6042 GB Notification: Performance of FrontEnd: time 4.128e-06/2.363, allocations: 0 / 1.081 GB, free: 214.6 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.268e-05/2.363, allocations: 8.828 kB / 1.081 GB, free: 214.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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001393/2.364, allocations: 0.5001 MB / 1.082 GB, free: 214.2 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 7.39e-05/2.364, allocations: 17.17 kB / 1.082 GB, free: 214.2 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001024/2.365, allocations: 50.5 kB / 1.082 GB, free: 214.1 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001037/2.365, allocations: 21.3 kB / 1.082 GB, free: 214.1 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004151/2.365, allocations: 225.4 kB / 1.082 GB, free: 213.9 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.743e-05/2.365, allocations: 13.72 kB / 1.082 GB, free: 213.9 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.432e-05/2.365, allocations: 12.88 kB / 1.082 GB, free: 213.9 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003872/2.366, allocations: 144.8 kB / 1.082 GB, free: 213.8 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/2.366, allocations: 0 / 1.082 GB, free: 213.8 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.457e-05/2.366, allocations: 1.312 kB / 1.082 GB, free: 213.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.64e-05/2.366, allocations: 10.47 kB / 1.082 GB, free: 213.8 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002196/2.366, allocations: 77.42 kB / 1.082 GB, free: 213.7 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001327/2.367, allocations: 0.7682 MB / 1.083 GB, free: 213 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002029/2.368, allocations: 83.28 kB / 1.083 GB, free: 213 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.903e-05/2.368, allocations: 32.69 kB / 1.083 GB, free: 213 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001288/2.368, allocations: 84.94 kB / 1.083 GB, free: 212.9 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001982/2.368, allocations: 79.91 kB / 1.083 GB, free: 212.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.754e-06/2.368, allocations: 0 / 1.083 GB, free: 212.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.000338/2.368, allocations: 114.3 kB / 1.083 GB, free: 212.7 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/2.368, allocations: 54.16 kB / 1.083 GB, free: 212.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002182/2.369, allocations: 170.5 kB / 1.084 GB, free: 212.6 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/2.369, allocations: 27.08 kB / 1.084 GB, free: 212.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.291e-05/2.369, allocations: 141.8 kB / 1.084 GB, free: 212.4 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.036e-05/2.369, allocations: 38.77 kB / 1.084 GB, free: 212.4 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.033e-05/2.369, allocations: 1.375 kB / 1.084 GB, free: 212.4 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001052/2.369, allocations: 329.3 kB / 1.084 GB, free: 212 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.027e-05/2.369, allocations: 35.25 kB / 1.084 GB, free: 212 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/2.369, allocations: 74.98 kB / 1.084 GB, free: 212 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/2.369, allocations: 69.78 kB / 1.084 GB, free: 211.9 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/2.369, allocations: 5.375 kB / 1.084 GB, free: 211.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003832/2.37, allocations: 187.6 kB / 1.084 GB, free: 211.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.312e-05/2.37, allocations: 33.83 kB / 1.084 GB, free: 211.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/2.37, allocations: 1.375 kB / 1.084 GB, free: 211.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.689e-05/2.37, allocations: 10.36 kB / 1.084 GB, free: 211.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000198/2.37, allocations: 32.36 kB / 1.084 GB, free: 211.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.631e-05/2.37, allocations: 5.469 kB / 1.085 GB, free: 211.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002214/2.37, allocations: 32.08 kB / 1.085 GB, free: 211.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.626e-05/2.37, allocations: 8.281 kB / 1.085 GB, free: 211.7 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001128/2.37, allocations: 117.1 kB / 1.085 GB, free: 211.6 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.886e-05/2.37, allocations: 14.62 kB / 1.085 GB, free: 211.6 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003017/2.371, allocations: 111.6 kB / 1.085 GB, free: 211.6 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.154e-06/2.371, allocations: 2.031 kB / 1.085 GB, free: 211.6 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/2.371, allocations: 7.953 kB / 1.085 GB, free: 211.5 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/2.371, allocations: 0 / 1.085 GB, free: 211.5 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003038/2.371, allocations: 226.2 kB / 1.085 GB, free: 211.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/2.371, allocations: 1.281 kB / 1.085 GB, free: 211.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001457/2.371, allocations: 21.31 kB / 1.085 GB, free: 211.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/2.371, allocations: 0 / 1.085 GB, free: 211.3 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.028e-05/2.371, allocations: 1.219 kB / 1.085 GB, free: 211.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/2.371, allocations: 5.125 kB / 1.085 GB, free: 211.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/2.371, allocations: 3.938 kB / 1.085 GB, free: 211.3 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003569/2.372, allocations: 167.6 kB / 1.085 GB, free: 211.2 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.482e-05/2.372, allocations: 94.94 kB / 1.085 GB, free: 211.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.192e-05/2.372, allocations: 6.281 kB / 1.085 GB, free: 211.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/2.372, allocations: 11.61 kB / 1.085 GB, free: 211.1 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.095e-05/2.372, allocations: 20.91 kB / 1.085 GB, free: 211.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/2.372, allocations: 2.406 kB / 1.085 GB, free: 211.1 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001444/2.372, allocations: 148.2 kB / 1.085 GB, free: 211 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/2.372, allocations: 0 / 1.085 GB, free: 211 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003952/2.373, allocations: 52.94 kB / 1.086 GB, free: 211 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (terminalSource.p) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000918/2.374, allocations: 0.8082 MB / 1.086 GB, free: 210.3 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00032/2.374, allocations: 139.8 kB / 1.086 GB, free: 210.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/2.374, allocations: 0 / 1.086 GB, free: 210.2 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.113e-05/2.374, allocations: 40.5 kB / 1.086 GB, free: 210.2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003414/2.374, allocations: 40.59 kB / 1.087 GB, free: 210.2 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009447/2.375, allocations: 293.3 kB / 1.087 GB, free: 210 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002356/2.376, allocations: 0.7255 MB / 1.088 GB, free: 209.3 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001022/2.376, allocations: 16.11 kB / 1.088 GB, free: 209.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.891e-05/2.376, allocations: 53.86 kB / 1.088 GB, free: 209.2 MB / 0.6042 GB Notification: Performance of SimCode: time 3.4e-07/2.376, allocations: 0 / 1.088 GB, free: 209.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02655/2.402, allocations: 5.7 MB / 1.093 GB, free: 206.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001815/2.403, allocations: 166 kB / 1.093 GB, free: 206.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.03/4.432, allocations: 0 / 1.093 GB, free: 206.6 MB / 0.6042 GB (rm -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe >> ../files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Boundaries_Tests_TerminalSourceSink_fmu --startTime=0 --stopTime=10 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Boundaries_Tests_TerminalSourceSink.fmu > ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink_res.mat does not exist to compare? outputFormat=mat