Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.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.Undirected.Boundaries.Tests.Reservoir,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Boundaries_Tests_Reservoir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Boundaries.Tests.Reservoir,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Boundaries_Tests_Reservoir",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.00939/0.00939, allocations: 171.5 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.553/1.553, allocations: 223.2 MB / 239 MB, free: 1.762 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.001385/0.001384, allocations: 93.33 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.02105/0.02105, allocations: 1.553 MB / 342.9 MB, free: 9.262 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.7921/0.7921, allocations: 90.31 MB / 484.7 MB, free: 21.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000491/0.000491, allocations: 20.14 kB / 0.5527 GB, free: 30.34 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1776/0.1781, allocations: 69.36 MB / 0.6204 GB, free: 5.512 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.325/1.503, allocations: 457.4 MB / 1.067 GB, free: 85.68 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002866/1.504, allocations: 91.33 kB / 1.067 GB, free: 85.64 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.786/2.29, allocations: 177.6 MB / 1.241 GB, free: 159.1 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.485e-06/2.29, allocations: 0 / 1.241 GB, free: 159.1 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001109/2.29, allocations: 25.88 kB / 1.241 GB, free: 159.1 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: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.004636/2.294, allocations: 1.551 MB / 1.242 GB, free: 157.5 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/2.294, allocations: 11.98 kB / 1.242 GB, free: 157.5 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004475/2.295, allocations: 139.7 kB / 1.242 GB, free: 157.3 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008414/2.296, allocations: 158.5 kB / 1.242 GB, free: 157.2 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001456/2.297, allocations: 0.5806 MB / 1.243 GB, free: 156.6 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.617e-05/2.297, allocations: 73.94 kB / 1.243 GB, free: 156.5 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002459/2.298, allocations: 103.9 kB / 1.243 GB, free: 156.4 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001774/2.299, allocations: 1.051 MB / 1.244 GB, free: 155.3 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.37e-05/2.299, allocations: 0 / 1.244 GB, free: 155.3 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.753e-05/2.3, allocations: 47.94 kB / 1.244 GB, free: 155.3 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.187e-05/2.3, allocations: 24 kB / 1.244 GB, free: 155.3 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001516/2.301, allocations: 1.028 MB / 1.245 GB, free: 154.2 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005152/2.306, allocations: 5.158 MB / 1.25 GB, free: 148.6 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00174/2.308, allocations: 1.171 MB / 1.251 GB, free: 147.4 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00276/2.311, allocations: 2.755 MB / 1.254 GB, free: 144.4 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/2.311, allocations: 59.48 kB / 1.254 GB, free: 144.3 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=115): time 2.474e-06/2.311, allocations: 0 / 1.254 GB, free: 144.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=129): time 0.009004/2.32, allocations: 5.044 MB / 1.259 GB, free: 139 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/2.32, allocations: 90.2 kB / 1.259 GB, free: 138.9 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005164/2.32, allocations: 475.3 kB / 1.26 GB, free: 138.4 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.662e-05/2.321, allocations: 49.7 kB / 1.26 GB, free: 138.4 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001784/2.321, allocations: 396.4 kB / 1.26 GB, free: 138 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002593/2.321, allocations: 445.7 kB / 1.26 GB, free: 137.5 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.696e-05/2.321, allocations: 20 kB / 1.261 GB, free: 137.5 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001385/2.321, allocations: 402.7 kB / 1.261 GB, free: 137.1 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007682/2.322, allocations: 458.4 kB / 1.261 GB, free: 136.7 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008476/2.323, allocations: 0.6044 MB / 1.262 GB, free: 136 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008475/2.324, allocations: 0.5207 MB / 1.262 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/2.324, allocations: 0 / 1.262 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002871/2.327, allocations: 1.562 MB / 1.264 GB, free: 133.9 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.626e-05/2.327, allocations: 11.94 kB / 1.264 GB, free: 133.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/2.327, allocations: 4 kB / 1.264 GB, free: 133.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009513/2.328, allocations: 301.2 kB / 1.264 GB, free: 133.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008456/2.328, allocations: 243.7 kB / 1.264 GB, free: 133.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006309/2.335, allocations: 11.3 MB / 1.276 GB, free: 121 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/2.336, allocations: 91.84 kB / 1.276 GB, free: 120.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.72e-05/2.336, allocations: 43.98 kB / 1.276 GB, free: 120.8 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (127): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 2,(1,100.0%) 2,(2,100.0%) 5,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005102/2.337, allocations: 237.7 kB / 1.276 GB, free: 120.6 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001563/2.337, allocations: 90.97 kB / 1.276 GB, free: 120.5 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003321/2.34, allocations: 1.761 MB / 1.278 GB, free: 118.7 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.314e-05/2.34, allocations: 16 kB / 1.278 GB, free: 118.7 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/2.34, allocations: 7.984 kB / 1.278 GB, free: 118.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/2.34, allocations: 7.969 kB / 1.278 GB, free: 118.7 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004422/2.344, allocations: 2.98 MB / 1.281 GB, free: 115.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/2.344, allocations: 0 / 1.281 GB, free: 115.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009038/2.345, allocations: 231.7 kB / 1.281 GB, free: 115.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009109/2.346, allocations: 314.6 kB / 1.281 GB, free: 115.1 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.408e-05/2.346, allocations: 35.97 kB / 1.281 GB, free: 115.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006179/2.353, allocations: 11.29 MB / 1.292 GB, free: 102.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/2.353, allocations: 3.938 kB / 1.292 GB, free: 102.7 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004075/2.357, allocations: 2.436 MB / 1.295 GB, free: 100.2 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003026/2.357, allocations: 163.9 kB / 1.295 GB, free: 100 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000124/2.357, allocations: 28 kB / 1.295 GB, free: 99.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008456/2.358, allocations: 91.84 kB / 1.295 GB, free: 99.88 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002358/2.358, allocations: 120.8 kB / 1.295 GB, free: 99.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-05/2.358, allocations: 51.95 kB / 1.295 GB, free: 99.71 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004031/2.359, allocations: 367.1 kB / 1.295 GB, free: 99.36 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/2.359, allocations: 0 / 1.295 GB, free: 99.36 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001737/2.361, allocations: 435.8 kB / 1.296 GB, free: 98.94 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (reservoir.M,reservoir.U_med,boundary_rear.fore.m_flow,boundary_fore.rear.m_flow,reservoir2.M,reservoir2.U_med,source1.outlet.m_flow,sink1.inlet.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 (114): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(2,100.0%) 5,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.004536/2.365, allocations: 3.62 MB / 1.299 GB, free: 95.26 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003135/2.368, allocations: 2.235 MB / 1.302 GB, free: 92.91 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/2.368, allocations: 4 kB / 1.302 GB, free: 92.91 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001989/2.37, allocations: 1.712 MB / 1.303 GB, free: 91.09 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/2.371, allocations: 263.4 kB / 1.303 GB, free: 90.83 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01008/2.382, allocations: 8.944 MB / 1.312 GB, free: 81.61 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006415/2.382, allocations: 1.064 MB / 1.313 GB, free: 80.52 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0009787/2.383, allocations: 195.6 kB / 1.313 GB, free: 80.33 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005237/2.384, allocations: 403.3 kB / 1.314 GB, free: 79.94 MB / 0.6042 GB Notification: Performance of SimCode: time 9.428e-06/2.384, allocations: 0 / 1.314 GB, free: 79.94 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04444/2.428, allocations: 29.23 MB / 1.342 GB, free: 51.07 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001584/2.428, allocations: 224.5 kB / 1.343 GB, free: 50.83 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.597/6.025, allocations: 3.625 kB / 1.343 GB, free: 50.83 MB / 0.6042 GB (rm -f ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Undirected_Boundaries_Tests_Reservoir_fmu --startTime=0 --stopTime=10 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Undirected_Boundaries_Tests_Reservoir.fmu > ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir_res.mat does not exist to compare? outputFormat=mat