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.0013/0.0013, allocations: 170.5 kB / 12.73 MB, free: 2.586 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.497/1.497, allocations: 221.4 MB / 234.6 MB, free: 14.44 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.001012/0.001011, allocations: 86.8 kB / 285.6 MB, free: 12.98 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.01351/0.01351, allocations: 1.554 MB / 338 MB, free: 8.469 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.6252/0.6252, allocations: 90.05 MB / 479.4 MB, free: 2.957 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.626e-05/4.629e-05, allocations: 8 kB / 0.5446 GB, free: 7.879 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1978/0.1978, allocations: 69.36 MB / 0.6123 GB, free: 2.434 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.757/1.955, allocations: 457.3 MB / 1.059 GB, free: 225.2 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003741/1.956, allocations: 86.64 kB / 1.059 GB, free: 225.2 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.3914/2.347, allocations: 176.9 MB / 1.232 GB, free: 69.26 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.763e-06/2.347, allocations: 4 kB / 1.232 GB, free: 69.25 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001096/2.347, allocations: 20 kB / 1.232 GB, free: 69.23 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.004019/2.351, allocations: 1.453 MB / 1.233 GB, free: 67.73 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/2.351, allocations: 19.92 kB / 1.233 GB, free: 67.71 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003877/2.352, allocations: 139.7 kB / 1.233 GB, free: 67.57 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008515/2.352, allocations: 154.6 kB / 1.234 GB, free: 67.41 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001259/2.354, allocations: 0.5802 MB / 1.234 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.449e-05/2.354, allocations: 74 kB / 1.234 GB, free: 66.72 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002239/2.354, allocations: 95.91 kB / 1.234 GB, free: 66.63 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00176/2.356, allocations: 1.012 MB / 1.235 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.314e-05/2.356, allocations: 0 / 1.235 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/2.356, allocations: 40 kB / 1.235 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.444e-05/2.356, allocations: 27.98 kB / 1.235 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001432/2.357, allocations: 0.9414 MB / 1.236 GB, free: 64.58 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005876/2.363, allocations: 5.152 MB / 1.241 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001754/2.365, allocations: 1.136 MB / 1.242 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006557/2.366, allocations: 0.4902 MB / 1.243 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003179/2.369, allocations: 2.805 MB / 1.246 GB, free: 54.16 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/2.369, allocations: 47.5 kB / 1.246 GB, free: 54.1 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=115): time 3.527e-06/2.369, allocations: 0 / 1.246 GB, free: 54.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=129): time 0.006883/2.376, allocations: 3.43 MB / 1.249 GB, free: 50.54 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/2.376, allocations: 90.33 kB / 1.249 GB, free: 50.43 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005472/2.377, allocations: 467.4 kB / 1.25 GB, free: 49.96 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.201e-05/2.377, allocations: 53.7 kB / 1.25 GB, free: 49.91 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000188/2.377, allocations: 388.9 kB / 1.25 GB, free: 49.52 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002757/2.377, allocations: 441.4 kB / 1.25 GB, free: 49.08 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.096e-05/2.377, allocations: 31.94 kB / 1.25 GB, free: 49.05 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001151/2.377, allocations: 394.7 kB / 1.251 GB, free: 48.66 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006119/2.378, allocations: 390.5 kB / 1.251 GB, free: 48.28 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006677/2.379, allocations: 0.5227 MB / 1.252 GB, free: 47.71 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006745/2.379, allocations: 461.2 kB / 1.252 GB, free: 47.26 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/2.379, allocations: 3.953 kB / 1.252 GB, free: 47.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002475/2.382, allocations: 1.413 MB / 1.253 GB, free: 45.81 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.669e-05/2.382, allocations: 4 kB / 1.253 GB, free: 45.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/2.382, allocations: 4 kB / 1.253 GB, free: 45.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009366/2.383, allocations: 303 kB / 1.254 GB, free: 45.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008935/2.384, allocations: 247.7 kB / 1.254 GB, free: 45.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006661/2.39, allocations: 11.17 MB / 1.265 GB, free: 33.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/2.392, allocations: 91.86 kB / 1.265 GB, free: 32.92 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002124/2.392, allocations: 47.97 kB / 1.265 GB, free: 32.87 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 () * 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.0003302/2.392, allocations: 172.7 kB / 1.265 GB, free: 32.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002658/2.392, allocations: 90.94 kB / 1.265 GB, free: 32.61 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003364/2.396, allocations: 1.591 MB / 1.267 GB, free: 30.99 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-05/2.396, allocations: 12 kB / 1.267 GB, free: 30.98 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.952e-05/2.396, allocations: 7.984 kB / 1.267 GB, free: 30.97 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.494e-05/2.396, allocations: 3.984 kB / 1.267 GB, free: 30.97 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00505/2.401, allocations: 2.835 MB / 1.27 GB, free: 28.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.297e-05/2.401, allocations: 4 kB / 1.27 GB, free: 28.04 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009327/2.402, allocations: 239.8 kB / 1.27 GB, free: 27.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008969/2.403, allocations: 310.5 kB / 1.27 GB, free: 27.47 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001208/2.403, allocations: 39.97 kB / 1.27 GB, free: 27.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006835/2.41, allocations: 11.18 MB / 1.281 GB, free: 15.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/2.41, allocations: 4.125 kB / 1.281 GB, free: 15.18 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003789/2.414, allocations: 2.21 MB / 1.283 GB, free: 12.89 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003682/2.414, allocations: 152 kB / 1.283 GB, free: 12.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002229/2.414, allocations: 31.98 kB / 1.283 GB, free: 12.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001035/2.415, allocations: 107.7 kB / 1.284 GB, free: 12.58 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002958/2.416, allocations: 113 kB / 1.284 GB, free: 12.47 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001336/2.416, allocations: 48.16 kB / 1.284 GB, free: 12.43 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004595/2.416, allocations: 367.2 kB / 1.284 GB, free: 12.07 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.8e-07/2.416, allocations: 4 kB / 1.284 GB, free: 12.07 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002048/2.418, allocations: 427.9 kB / 1.284 GB, free: 11.65 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 () * 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.004345/2.423, allocations: 3.38 MB / 1.288 GB, free: 8.188 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002958/2.426, allocations: 2.088 MB / 1.29 GB, free: 5.984 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/2.426, allocations: 0 / 1.29 GB, free: 5.984 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.002018/2.428, allocations: 1.615 MB / 1.291 GB, free: 4.258 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001656/2.429, allocations: 255.5 kB / 1.292 GB, free: 4.016 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004801/2.434, allocations: 2.187 MB / 1.294 GB, free: 1.773 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005513/2.435, allocations: 1.06 MB / 1.295 GB, free: 0.6758 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000905/2.436, allocations: 187.5 kB / 1.295 GB, free: 0.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005557/2.436, allocations: 407.3 kB / 1.295 GB, free: 104 kB / 0.6042 GB Notification: Performance of SimCode: time 1.022e-06/2.436, allocations: 0 / 1.295 GB, free: 104 kB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4315/2.868, allocations: 29.29 MB / 1.324 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000202/2.868, allocations: 199.2 kB / 1.324 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.255/6.123, allocations: 0 / 1.324 GB, free: 134.8 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