Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.Undirected.Boundaries.Tests.Reservoir,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Boundaries_Tests_Reservoir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Boundaries.Tests.Reservoir,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Boundaries_Tests_Reservoir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.01016/0.01016, allocations: 171.1 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.809/1.809, allocations: 205.4 MB / 221.3 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001114/0.001114, allocations: 82.88 kB / 269.6 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.9318/0.9318, allocations: 90.59 MB / 408.4 MB, free: 15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003314/0.0003314, allocations: 8 kB / 485.3 MB, free: 1.992 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4761/0.4764, allocations: 66.28 MB / 0.5387 GB, free: 45.74 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.19/1.666, allocations: 455 MB / 0.983 GB, free: 210.6 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003351/1.666, allocations: 91.14 kB / 0.9831 GB, free: 210.6 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.3601/2.027, allocations: 173.1 MB / 1.152 GB, free: 67.35 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.877e-06/2.027, allocations: 4 kB / 1.152 GB, free: 67.34 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.719e-05/2.027, allocations: 31.92 kB / 1.152 GB, free: 67.31 MB / 0.5886 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.003896/2.031, allocations: 1.54 MB / 1.154 GB, free: 65.72 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.695e-05/2.031, allocations: 12.03 kB / 1.154 GB, free: 65.71 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000163/2.031, allocations: 143.7 kB / 1.154 GB, free: 65.56 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005398/2.031, allocations: 158.5 kB / 1.154 GB, free: 65.4 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009071/2.032, allocations: 0.5893 MB / 1.155 GB, free: 64.77 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.363e-05/2.032, allocations: 66 kB / 1.155 GB, free: 64.71 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001285/2.033, allocations: 95.95 kB / 1.155 GB, free: 64.62 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001688/2.034, allocations: 1.059 MB / 1.156 GB, free: 63.54 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.532e-05/2.034, allocations: 4 kB / 1.156 GB, free: 63.53 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.98e-05/2.034, allocations: 39.94 kB / 1.156 GB, free: 63.49 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.6e-05/2.034, allocations: 24 kB / 1.156 GB, free: 63.47 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00154/2.036, allocations: 1.036 MB / 1.157 GB, free: 62.43 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005308/2.041, allocations: 5.149 MB / 1.162 GB, free: 56.79 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001826/2.043, allocations: 1.188 MB / 1.163 GB, free: 55.59 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002977/2.046, allocations: 2.746 MB / 1.166 GB, free: 52.52 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.022e-05/2.046, allocations: 43.5 kB / 1.166 GB, free: 52.46 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=115): time 2.995e-06/2.046, allocations: 0 / 1.166 GB, free: 52.46 MB / 0.5886 GB Notification: Performance of matching and sorting (n=129): time 0.009397/2.056, allocations: 5.064 MB / 1.171 GB, free: 47.11 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/2.056, allocations: 94.14 kB / 1.171 GB, free: 46.99 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004608/2.056, allocations: 471.4 kB / 1.171 GB, free: 46.52 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 7.293e-05/2.056, allocations: 45.7 kB / 1.171 GB, free: 46.47 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001744/2.056, allocations: 392.8 kB / 1.172 GB, free: 46.08 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002278/2.057, allocations: 437.5 kB / 1.172 GB, free: 45.65 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.477e-05/2.057, allocations: 24 kB / 1.172 GB, free: 45.62 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001156/2.057, allocations: 398.7 kB / 1.172 GB, free: 45.23 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008008/2.058, allocations: 466.4 kB / 1.173 GB, free: 44.77 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008548/2.058, allocations: 0.6051 MB / 1.174 GB, free: 44.12 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008745/2.059, allocations: 0.5246 MB / 1.174 GB, free: 43.59 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/2.059, allocations: 7.938 kB / 1.174 GB, free: 43.59 MB / 0.5886 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002851/2.062, allocations: 1.566 MB / 1.176 GB, free: 41.98 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/2.062, allocations: 8 kB / 1.176 GB, free: 41.98 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/2.062, allocations: 3.953 kB / 1.176 GB, free: 41.97 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009226/2.063, allocations: 303 kB / 1.176 GB, free: 41.65 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008839/2.064, allocations: 247.7 kB / 1.176 GB, free: 41.41 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006803/2.071, allocations: 11.28 MB / 1.187 GB, free: 29.06 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001063/2.072, allocations: 92.17 kB / 1.187 GB, free: 28.97 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/2.072, allocations: 55.95 kB / 1.187 GB, free: 28.92 MB / 0.5886 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.0005701/2.073, allocations: 241.6 kB / 1.187 GB, free: 28.67 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003219/2.073, allocations: 94.88 kB / 1.188 GB, free: 28.58 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003504/2.077, allocations: 1.74 MB / 1.189 GB, free: 26.82 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.716e-05/2.077, allocations: 19.98 kB / 1.189 GB, free: 26.8 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/2.077, allocations: 4 kB / 1.189 GB, free: 26.79 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.251e-05/2.077, allocations: 3.984 kB / 1.189 GB, free: 26.79 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00486/2.081, allocations: 2.98 MB / 1.192 GB, free: 23.72 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/2.081, allocations: 3.984 kB / 1.192 GB, free: 23.71 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000917/2.082, allocations: 239.8 kB / 1.192 GB, free: 23.48 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001029/2.083, allocations: 310.5 kB / 1.193 GB, free: 23.15 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.522e-05/2.084, allocations: 43.97 kB / 1.193 GB, free: 23.11 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00777/2.091, allocations: 11.29 MB / 1.204 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/2.091, allocations: 4.031 kB / 1.204 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00453/2.096, allocations: 2.436 MB / 1.206 GB, free: 8.234 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004158/2.096, allocations: 159.9 kB / 1.206 GB, free: 8.059 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000141/2.097, allocations: 31.95 kB / 1.206 GB, free: 8.027 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009/2.097, allocations: 107.8 kB / 1.206 GB, free: 7.922 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002835/2.098, allocations: 116.9 kB / 1.207 GB, free: 7.809 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.936e-05/2.098, allocations: 43.97 kB / 1.207 GB, free: 7.766 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0004728/2.098, allocations: 379.1 kB / 1.207 GB, free: 7.398 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.2e-07/2.098, allocations: 0 / 1.207 GB, free: 7.398 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001905/2.1, allocations: 431.8 kB / 1.207 GB, free: 6.977 MB / 0.5886 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.004648/2.105, allocations: 3.612 MB / 1.211 GB, free: 3.277 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.003289/2.108, allocations: 2.242 MB / 1.213 GB, free: 0.9297 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/2.108, allocations: 4 kB / 1.213 GB, free: 0.9258 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.3393/2.448, allocations: 1.697 MB / 1.215 GB, free: 129.8 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001928/2.45, allocations: 251.2 kB / 1.215 GB, free: 129.8 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0128/2.462, allocations: 8.948 MB / 1.224 GB, free: 125.8 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007078/2.463, allocations: 1.059 MB / 1.225 GB, free: 125.1 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001017/2.464, allocations: 197.9 kB / 1.225 GB, free: 125 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005396/2.465, allocations: 402.8 kB / 1.225 GB, free: 125 MB / 0.5886 GB Notification: Performance of SimCode: time 1.773e-06/2.465, allocations: 0 / 1.225 GB, free: 125 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07901/2.544, allocations: 29.24 MB / 1.254 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000312/2.544, allocations: 237.2 kB / 1.254 GB, free: 124 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.458/6.002, allocations: 0 / 1.254 GB, free: 124 MB / 0.5886 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Boundaries_Tests_Reservoir_fmu --startTime=0 --stopTime=10 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Boundaries_Tests_Reservoir.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir_res.mat does not exist to compare? outputFormat=mat