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.001099/0.001099, allocations: 174.5 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.491/1.491, allocations: 221.5 MB / 229.6 MB, free: 7.562 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.001001/0.001002, allocations: 101.5 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.01211/0.01211, allocations: 1.572 MB / 332.8 MB, free: 13.53 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.7602/0.7602, allocations: 90.05 MB / 474 MB, free: 13.02 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.176e-05/2.131e-05, allocations: 0 / 0.5376 GB, free: 33.11 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.154, allocations: 69.38 MB / 0.6053 GB, free: 8 kB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.38/1.534, allocations: 431.1 MB / 1.026 GB, free: 125.6 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002615/1.534, allocations: 75.94 kB / 1.026 GB, free: 125.6 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.09056/1.625, allocations: 47.98 MB / 1.073 GB, free: 87.64 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.144e-06/1.625, allocations: 0 / 1.073 GB, free: 87.64 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.944e-05/1.625, allocations: 12 kB / 1.073 GB, free: 87.63 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.0008788/1.626, allocations: 0.5112 MB / 1.074 GB, free: 87.08 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/1.626, allocations: 12.03 kB / 1.074 GB, free: 87.07 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.013e-05/1.626, allocations: 15.81 kB / 1.074 GB, free: 87.05 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002696/1.626, allocations: 221.5 kB / 1.074 GB, free: 86.8 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/1.626, allocations: 8 kB / 1.074 GB, free: 86.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.313e-05/1.626, allocations: 4 kB / 1.074 GB, free: 86.79 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001647/1.627, allocations: 72.72 kB / 1.074 GB, free: 86.75 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001961/1.627, allocations: 121.1 kB / 1.074 GB, free: 86.64 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/1.627, allocations: 0 / 1.074 GB, free: 86.64 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.755e-05/1.627, allocations: 3.953 kB / 1.074 GB, free: 86.64 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/1.627, allocations: 7.375 kB / 1.074 GB, free: 86.63 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008532/1.628, allocations: 0.7528 MB / 1.075 GB, free: 85.86 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001339/1.628, allocations: 71.75 kB / 1.075 GB, free: 85.8 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.913e-05/1.628, allocations: 27.11 kB / 1.075 GB, free: 85.79 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001048/1.628, allocations: 88.61 kB / 1.075 GB, free: 85.68 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001457/1.628, allocations: 81.38 kB / 1.075 GB, free: 85.6 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 2.164e-06/1.628, allocations: 0 / 1.075 GB, free: 85.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0002662/1.628, allocations: 100.9 kB / 1.075 GB, free: 85.51 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.619e-05/1.628, allocations: 51.41 kB / 1.075 GB, free: 85.45 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/1.629, allocations: 157.8 kB / 1.076 GB, free: 85.31 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/1.629, allocations: 25.7 kB / 1.076 GB, free: 85.28 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.828e-05/1.629, allocations: 147 kB / 1.076 GB, free: 85.15 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.65e-05/1.629, allocations: 34.75 kB / 1.076 GB, free: 85.12 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.238e-06/1.629, allocations: 0 / 1.076 GB, free: 85.12 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.856e-05/1.629, allocations: 326.4 kB / 1.076 GB, free: 84.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.478e-05/1.629, allocations: 38.44 kB / 1.076 GB, free: 84.77 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.053e-05/1.629, allocations: 68.16 kB / 1.076 GB, free: 84.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.783e-05/1.629, allocations: 41.92 kB / 1.076 GB, free: 84.68 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/1.629, allocations: 0 / 1.076 GB, free: 84.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002448/1.629, allocations: 144.5 kB / 1.076 GB, free: 84.55 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.277e-05/1.629, allocations: 33.69 kB / 1.076 GB, free: 84.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/1.629, allocations: 7.938 kB / 1.076 GB, free: 84.51 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/1.629, allocations: 8.109 kB / 1.076 GB, free: 84.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/1.63, allocations: 31.11 kB / 1.076 GB, free: 84.47 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.284e-05/1.63, allocations: 4 kB / 1.076 GB, free: 84.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000162/1.63, allocations: 19.89 kB / 1.076 GB, free: 84.45 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/1.63, allocations: 7.938 kB / 1.076 GB, free: 84.44 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 6.942e-05/1.63, allocations: 114.6 kB / 1.077 GB, free: 84.32 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001528/1.63, allocations: 99.64 kB / 1.077 GB, free: 84.24 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.808e-05/1.63, allocations: 19.77 kB / 1.077 GB, free: 84.22 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002003/1.63, allocations: 108.8 kB / 1.077 GB, free: 84.13 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/1.63, allocations: 0 / 1.077 GB, free: 84.13 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/1.63, allocations: 4 kB / 1.077 GB, free: 84.12 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/1.63, allocations: 3.938 kB / 1.077 GB, free: 84.12 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/1.63, allocations: 195.6 kB / 1.077 GB, free: 83.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/1.631, allocations: 0 / 1.077 GB, free: 83.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/1.631, allocations: 23.98 kB / 1.077 GB, free: 83.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/1.631, allocations: 0 / 1.077 GB, free: 83.89 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/1.631, allocations: 3.984 kB / 1.077 GB, free: 83.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.089e-06/1.631, allocations: 7.953 kB / 1.077 GB, free: 83.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/1.631, allocations: 0 / 1.077 GB, free: 83.88 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002396/1.631, allocations: 152.6 kB / 1.077 GB, free: 83.75 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.928e-05/1.631, allocations: 88.95 kB / 1.077 GB, free: 83.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.895e-05/1.631, allocations: 0 / 1.077 GB, free: 83.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/1.631, allocations: 24.05 kB / 1.077 GB, free: 83.62 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.99e-05/1.631, allocations: 19.61 kB / 1.077 GB, free: 83.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-06/1.631, allocations: 0 / 1.077 GB, free: 83.6 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.853e-05/1.631, allocations: 130.1 kB / 1.077 GB, free: 83.49 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.41e-07/1.631, allocations: 0 / 1.077 GB, free: 83.49 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002981/1.632, allocations: 58.95 kB / 1.077 GB, free: 83.44 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.0006114/1.632, allocations: 0.8105 MB / 1.078 GB, free: 82.64 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002185/1.632, allocations: 139.2 kB / 1.078 GB, free: 82.52 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/1.632, allocations: 320 / 1.078 GB, free: 82.52 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 5.711e-05/1.633, allocations: 38.44 kB / 1.078 GB, free: 82.49 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003042/1.633, allocations: 27.92 kB / 1.078 GB, free: 82.46 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007738/1.634, allocations: 304 kB / 1.079 GB, free: 82.15 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001662/1.634, allocations: 0.724 MB / 1.079 GB, free: 81.4 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.028e-05/1.634, allocations: 13.75 kB / 1.079 GB, free: 81.39 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.678e-05/1.634, allocations: 48.11 kB / 1.079 GB, free: 81.37 MB / 0.6042 GB Notification: Performance of SimCode: time 3.51e-07/1.634, allocations: 0 / 1.079 GB, free: 81.37 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0263/1.66, allocations: 4.132 MB / 1.083 GB, free: 77.26 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001873/1.661, allocations: 155.2 kB / 1.084 GB, free: 77.06 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.949/3.609, allocations: 0 / 1.084 GB, free: 77.06 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