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.009653/0.009653, allocations: 172 kB / 15.11 MB, free: 5.969 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.721/1.721, allocations: 223.2 MB / 239 MB, free: 1.805 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.0009643/0.0009645, allocations: 103.4 kB / 290.2 MB, free: 13.94 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.0111/0.0111, allocations: 1.557 MB / 342.9 MB, free: 9.266 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.8178/0.8178, allocations: 90.31 MB / 484.7 MB, free: 21.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004795/0.0004795, allocations: 15.78 kB / 0.5527 GB, free: 30.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1728, allocations: 69.35 MB / 0.6204 GB, free: 5.547 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.369/1.542, allocations: 431.9 MB / 1.042 GB, free: 109.3 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003046/1.542, allocations: 75.66 kB / 1.042 GB, free: 109.3 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.09166/1.634, allocations: 48.42 MB / 1.089 GB, free: 70.45 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.404e-06/1.634, allocations: 0 / 1.089 GB, free: 70.45 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.163e-05/1.634, allocations: 4 kB / 1.089 GB, free: 70.45 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.001194/1.635, allocations: 0.5341 MB / 1.09 GB, free: 69.87 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.34e-05/1.635, allocations: 15.98 kB / 1.09 GB, free: 69.86 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.284e-05/1.636, allocations: 42.5 kB / 1.09 GB, free: 69.81 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.51e-05/1.636, allocations: 23.7 kB / 1.09 GB, free: 69.79 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003471/1.636, allocations: 212.6 kB / 1.09 GB, free: 69.55 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.747e-05/1.636, allocations: 13.98 kB / 1.09 GB, free: 69.54 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.125e-05/1.636, allocations: 10.31 kB / 1.09 GB, free: 69.54 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004125/1.636, allocations: 170.9 kB / 1.09 GB, free: 69.36 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/1.637, allocations: 0 / 1.09 GB, free: 69.36 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.554e-05/1.637, allocations: 11.95 kB / 1.09 GB, free: 69.35 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/1.637, allocations: 4 kB / 1.091 GB, free: 69.35 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000321/1.637, allocations: 103.9 kB / 1.091 GB, free: 69.25 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00101/1.638, allocations: 0.7882 MB / 1.091 GB, free: 68.36 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003108/1.638, allocations: 118.5 kB / 1.091 GB, free: 68.23 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001143/1.638, allocations: 77.11 kB / 1.092 GB, free: 68.14 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002412/1.639, allocations: 111.2 kB / 1.092 GB, free: 68.02 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 3.096e-06/1.639, allocations: 4 kB / 1.092 GB, free: 68.01 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0005697/1.639, allocations: 270.3 kB / 1.092 GB, free: 67.72 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/1.639, allocations: 59.41 kB / 1.092 GB, free: 67.65 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/1.639, allocations: 169.5 kB / 1.092 GB, free: 67.48 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/1.639, allocations: 25.7 kB / 1.092 GB, free: 67.45 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.147e-05/1.64, allocations: 139.9 kB / 1.092 GB, free: 67.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.669e-05/1.64, allocations: 31.78 kB / 1.092 GB, free: 67.27 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.005e-05/1.64, allocations: 8 kB / 1.092 GB, free: 67.26 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.556e-05/1.64, allocations: 326.8 kB / 1.093 GB, free: 66.93 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/1.64, allocations: 55.95 kB / 1.093 GB, free: 66.88 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001601/1.64, allocations: 89.12 kB / 1.093 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001766/1.64, allocations: 93.61 kB / 1.093 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/1.64, allocations: 0 / 1.093 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004566/1.641, allocations: 227 kB / 1.093 GB, free: 66.44 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.917e-05/1.641, allocations: 39.84 kB / 1.093 GB, free: 66.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/1.641, allocations: 0 / 1.093 GB, free: 66.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.464e-05/1.641, allocations: 7.984 kB / 1.093 GB, free: 66.39 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/1.641, allocations: 36.14 kB / 1.093 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/1.641, allocations: 4 kB / 1.093 GB, free: 66.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001725/1.641, allocations: 23.83 kB / 1.093 GB, free: 66.33 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/1.641, allocations: 8 kB / 1.093 GB, free: 66.32 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 () * Number of clocked 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.0001158/1.641, allocations: 130.8 kB / 1.093 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.187e-05/1.641, allocations: 15.81 kB / 1.093 GB, free: 66.17 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000371/1.642, allocations: 163.1 kB / 1.094 GB, free: 66 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/1.642, allocations: 0 / 1.094 GB, free: 66 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/1.642, allocations: 0 / 1.094 GB, free: 66 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/1.642, allocations: 3.938 kB / 1.094 GB, free: 66 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001728/1.642, allocations: 229.4 kB / 1.094 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/1.642, allocations: 0 / 1.094 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/1.642, allocations: 23.98 kB / 1.094 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/1.642, allocations: 0 / 1.094 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/1.642, allocations: 4 kB / 1.094 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.227e-06/1.642, allocations: 3.953 kB / 1.094 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.642, allocations: 4 kB / 1.094 GB, free: 65.69 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004901/1.643, allocations: 220.8 kB / 1.094 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.814e-05/1.643, allocations: 85.05 kB / 1.094 GB, free: 65.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.161e-05/1.643, allocations: 7.984 kB / 1.094 GB, free: 65.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/1.643, allocations: 19.95 kB / 1.094 GB, free: 65.33 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.824e-05/1.643, allocations: 19.94 kB / 1.094 GB, free: 65.31 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-06/1.643, allocations: 0 / 1.094 GB, free: 65.31 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 9.512e-05/1.643, allocations: 140.2 kB / 1.094 GB, free: 65.17 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/1.643, allocations: 0 / 1.094 GB, free: 65.17 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003025/1.643, allocations: 55.92 kB / 1.094 GB, free: 65.12 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) * Number of clocked states: 0 () * 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.0008719/1.644, allocations: 0.8689 MB / 1.095 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004287/1.645, allocations: 187.4 kB / 1.095 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/1.645, allocations: 8.062 kB / 1.095 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001465/1.645, allocations: 51.97 kB / 1.095 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003039/1.645, allocations: 35.92 kB / 1.095 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001898/1.647, allocations: 1.859 MB / 1.097 GB, free: 62 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001549/1.647, allocations: 0.7282 MB / 1.098 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.83e-05/1.647, allocations: 17.38 kB / 1.098 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.799e-05/1.647, allocations: 47.41 kB / 1.098 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of SimCode: time 5.91e-07/1.647, allocations: 4 kB / 1.098 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01912/1.667, allocations: 5.461 MB / 1.103 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002049/1.667, allocations: 189.5 kB / 1.104 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.049/3.716, allocations: 3.938 kB / 1.104 GB, free: 55.61 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