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.001023/0.001023, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.629/1.629, allocations: 205.3 MB / 213.4 MB, free: 13.77 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.0009661/0.0009658, allocations: 89.45 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.8616/0.8616, allocations: 90.36 MB / 399.7 MB, free: 12.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.903e-05/1.897e-05, allocations: 0 / 472.3 MB, free: 3.379 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4423/0.4424, allocations: 66.26 MB / 0.5259 GB, free: 28.98 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.245/1.687, allocations: 454.2 MB / 0.9695 GB, free: 157.8 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002814/1.688, allocations: 85.02 kB / 0.9696 GB, free: 157.8 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.3394/2.027, allocations: 171.7 MB / 1.137 GB, free: 14.18 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.843e-06/2.027, allocations: 4 kB / 1.137 GB, free: 14.18 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001177/2.027, allocations: 27.98 kB / 1.137 GB, free: 14.15 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.004294/2.031, allocations: 1.438 MB / 1.139 GB, free: 12.67 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.548e-05/2.032, allocations: 12.03 kB / 1.139 GB, free: 12.66 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001023/2.033, allocations: 154.5 kB / 1.139 GB, free: 12.5 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001552/2.034, allocations: 0.5879 MB / 1.139 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.264e-05/2.034, allocations: 32 kB / 1.139 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002761/2.034, allocations: 67.89 kB / 1.14 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001824/2.036, allocations: 0.8903 MB / 1.14 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001792/2.038, allocations: 0.8833 MB / 1.141 GB, free: 9.98 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.117e-05/2.038, allocations: 3.938 kB / 1.141 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/2.038, allocations: 3.984 kB / 1.141 GB, free: 9.973 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.842e-05/2.038, allocations: 24 kB / 1.141 GB, free: 9.949 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006302/2.045, allocations: 4.996 MB / 1.146 GB, free: 4.473 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001633/2.046, allocations: 1.074 MB / 1.147 GB, free: 3.379 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000574/2.047, allocations: 466.1 kB / 1.148 GB, free: 2.922 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.343/2.39, allocations: 2.755 MB / 1.15 GB, free: 138.2 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.314e-05/2.39, allocations: 46.19 kB / 1.15 GB, free: 138.2 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=115): time 4.959e-06/2.39, allocations: 3.469 kB / 1.15 GB, free: 138.2 MB / 0.5886 GB Notification: Performance of matching and sorting (n=129): time 0.01128/2.401, allocations: 3.618 MB / 1.154 GB, free: 137.4 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.09e-05/2.401, allocations: 91.22 kB / 1.154 GB, free: 137.3 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007032/2.402, allocations: 409.9 kB / 1.154 GB, free: 137.2 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.189e-05/2.402, allocations: 27.02 kB / 1.154 GB, free: 137.2 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003054/2.403, allocations: 395.7 kB / 1.155 GB, free: 137 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003995/2.403, allocations: 430.9 kB / 1.155 GB, free: 136.8 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.719e-05/2.403, allocations: 0 / 1.155 GB, free: 136.8 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001673/2.403, allocations: 397 kB / 1.156 GB, free: 136.5 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00069/2.404, allocations: 361.6 kB / 1.156 GB, free: 136.5 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008115/2.405, allocations: 0.4967 MB / 1.156 GB, free: 136.4 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001915/2.407, allocations: 0.5602 MB / 1.157 GB, free: 136.3 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/2.407, allocations: 0.9375 kB / 1.157 GB, free: 136.3 MB / 0.5886 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003652/2.41, allocations: 1.437 MB / 1.158 GB, free: 136.2 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.891e-05/2.41, allocations: 8.281 kB / 1.158 GB, free: 136.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.595e-05/2.41, allocations: 5.219 kB / 1.158 GB, free: 136.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009406/2.411, allocations: 291.4 kB / 1.159 GB, free: 136.1 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009513/2.412, allocations: 244.5 kB / 1.159 GB, free: 136.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006806/2.419, allocations: 10.77 MB / 1.169 GB, free: 126.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/2.42, allocations: 63.3 kB / 1.169 GB, free: 126.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001178/2.421, allocations: 47.06 kB / 1.17 GB, free: 126.4 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 () * 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.0002797/2.421, allocations: 138.6 kB / 1.17 GB, free: 126.3 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003536/2.424, allocations: 1.351 MB / 1.171 GB, free: 126.2 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001917/2.425, allocations: 92.41 kB / 1.171 GB, free: 126.1 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003972/2.429, allocations: 1.601 MB / 1.173 GB, free: 125.9 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.363e-05/2.429, allocations: 14.44 kB / 1.173 GB, free: 125.9 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/2.429, allocations: 4.125 kB / 1.173 GB, free: 125.9 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.087e-05/2.429, allocations: 6.422 kB / 1.173 GB, free: 125.9 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006126/2.435, allocations: 2.732 MB / 1.175 GB, free: 125.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/2.435, allocations: 0 / 1.175 GB, free: 125.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001011/2.436, allocations: 239.1 kB / 1.176 GB, free: 125.5 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009873/2.437, allocations: 297.5 kB / 1.176 GB, free: 125.4 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001006/2.437, allocations: 27.5 kB / 1.176 GB, free: 125.4 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007077/2.444, allocations: 10.78 MB / 1.186 GB, free: 115.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.457e-06/2.444, allocations: 2.25 kB / 1.186 GB, free: 115.7 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004894/2.449, allocations: 2.219 MB / 1.189 GB, free: 115.3 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003533/2.449, allocations: 157 kB / 1.189 GB, free: 115.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001384/2.45, allocations: 11.34 kB / 1.189 GB, free: 115.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000869/2.45, allocations: 78.05 kB / 1.189 GB, free: 115.1 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003344/2.451, allocations: 113.1 kB / 1.189 GB, free: 115.1 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000115/2.451, allocations: 50.23 kB / 1.189 GB, free: 115.1 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0004797/2.451, allocations: 311.8 kB / 1.189 GB, free: 115 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.61e-07/2.451, allocations: 2.844 kB / 1.189 GB, free: 115 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002252/2.454, allocations: 401.5 kB / 1.19 GB, free: 115 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 () * 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.00542/2.459, allocations: 3.375 MB / 1.193 GB, free: 113.7 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.003194/2.462, allocations: 1.965 MB / 1.195 GB, free: 112.8 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 9.869e-06/2.462, allocations: 1.219 kB / 1.195 GB, free: 112.8 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.002218/2.465, allocations: 1.544 MB / 1.196 GB, free: 111.9 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00167/2.466, allocations: 232.6 kB / 1.197 GB, free: 111.9 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00536/2.472, allocations: 2.051 MB / 1.199 GB, free: 111.4 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007556/2.472, allocations: 1.062 MB / 1.2 GB, free: 110.7 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001102/2.474, allocations: 194.6 kB / 1.2 GB, free: 110.7 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007425/2.474, allocations: 409.5 kB / 1.2 GB, free: 110.7 MB / 0.5886 GB Notification: Performance of SimCode: time 1.674e-06/2.474, allocations: 0 / 1.2 GB, free: 110.7 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05609/2.53, allocations: 26.86 MB / 1.226 GB, free: 109.8 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002104/2.531, allocations: 171.8 kB / 1.227 GB, free: 109.6 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.011/5.542, allocations: 0 / 1.227 GB, free: 109.6 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