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.001173/0.001174, allocations: 174.8 kB / 12.73 MB, free: 2.59 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.593/1.593, allocations: 205.2 MB / 218.5 MB, free: 9.219 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.0009339/0.000934, allocations: 85.88 kB / 266.6 MB, free: 9.281 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.7932/0.7932, allocations: 90.34 MB / 405 MB, free: 8.613 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.526e-05/3.553e-05, allocations: 0 / 479.3 MB, free: 14.2 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4236/0.4237, allocations: 66.24 MB / 0.5327 GB, free: 28.69 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.179/1.603, allocations: 454.9 MB / 0.9769 GB, free: 152.2 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002446/1.603, allocations: 91.67 kB / 0.977 GB, free: 152.2 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.3371/1.94, allocations: 172.5 MB / 1.145 GB, free: 1.156 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.755e-06/1.94, allocations: 3.984 kB / 1.145 GB, free: 1.152 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001259/1.94, allocations: 31.98 kB / 1.146 GB, free: 1.121 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.3691/2.31, allocations: 1.43 MB / 1.147 GB, free: 138.5 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 6.089e-05/2.31, allocations: 9.5 kB / 1.147 GB, free: 138.5 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004914/2.31, allocations: 142.1 kB / 1.147 GB, free: 138.5 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009148/2.311, allocations: 154.8 kB / 1.147 GB, free: 138.4 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001179/2.312, allocations: 0.5862 MB / 1.148 GB, free: 138.2 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.965e-05/2.312, allocations: 69.66 kB / 1.148 GB, free: 138.2 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000178/2.312, allocations: 98.89 kB / 1.148 GB, free: 138.2 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001946/2.314, allocations: 1.007 MB / 1.149 GB, free: 138.1 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/2.314, allocations: 12.17 kB / 1.149 GB, free: 138.1 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.862e-05/2.315, allocations: 35.44 kB / 1.149 GB, free: 138.1 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-05/2.315, allocations: 26.16 kB / 1.149 GB, free: 138.1 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001696/2.316, allocations: 0.9431 MB / 1.15 GB, free: 138.1 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006405/2.323, allocations: 5.154 MB / 1.155 GB, free: 135.2 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002144/2.325, allocations: 1.125 MB / 1.156 GB, free: 135.1 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008097/2.326, allocations: 0.4889 MB / 1.157 GB, free: 135.1 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003366/2.329, allocations: 2.807 MB / 1.159 GB, free: 133.1 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/2.329, allocations: 52.14 kB / 1.159 GB, free: 133.1 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=115): time 2.685e-06/2.329, allocations: 0 / 1.159 GB, free: 133.1 MB / 0.5886 GB Notification: Performance of matching and sorting (n=129): time 0.007007/2.336, allocations: 3.432 MB / 1.163 GB, free: 132.2 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.341e-05/2.336, allocations: 91.77 kB / 1.163 GB, free: 132.2 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005518/2.337, allocations: 475 kB / 1.163 GB, free: 132 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.038e-05/2.337, allocations: 46.02 kB / 1.163 GB, free: 132 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002385/2.337, allocations: 392 kB / 1.164 GB, free: 131.8 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003076/2.337, allocations: 447 kB / 1.164 GB, free: 131.6 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.945e-05/2.337, allocations: 22.5 kB / 1.164 GB, free: 131.6 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001524/2.338, allocations: 398.6 kB / 1.164 GB, free: 131.3 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006502/2.338, allocations: 385.7 kB / 1.165 GB, free: 131.3 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007742/2.339, allocations: 0.5284 MB / 1.165 GB, free: 131.2 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007828/2.34, allocations: 462.5 kB / 1.166 GB, free: 131.2 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/2.34, allocations: 1.672 kB / 1.166 GB, free: 131.2 MB / 0.5886 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002777/2.343, allocations: 1.41 MB / 1.167 GB, free: 131 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/2.343, allocations: 6.562 kB / 1.167 GB, free: 131 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/2.343, allocations: 4.438 kB / 1.167 GB, free: 131 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009781/2.344, allocations: 299.9 kB / 1.167 GB, free: 130.9 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009738/2.345, allocations: 241.3 kB / 1.168 GB, free: 130.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007045/2.352, allocations: 11.18 MB / 1.179 GB, free: 120.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/2.353, allocations: 89.09 kB / 1.179 GB, free: 120.8 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001116/2.353, allocations: 49.22 kB / 1.179 GB, free: 120.8 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.0002725/2.353, allocations: 167.7 kB / 1.179 GB, free: 120.7 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001985/2.354, allocations: 94.94 kB / 1.179 GB, free: 120.6 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003369/2.357, allocations: 1.596 MB / 1.181 GB, free: 120.5 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.73e-05/2.357, allocations: 13.62 kB / 1.181 GB, free: 120.5 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/2.357, allocations: 6.312 kB / 1.181 GB, free: 120.5 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.56e-05/2.357, allocations: 6.656 kB / 1.181 GB, free: 120.5 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004739/2.362, allocations: 2.828 MB / 1.183 GB, free: 119.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/2.362, allocations: 2.125 kB / 1.183 GB, free: 119.9 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009631/2.363, allocations: 238.5 kB / 1.184 GB, free: 119.9 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009274/2.364, allocations: 305.5 kB / 1.184 GB, free: 119.9 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.31e-05/2.364, allocations: 43.78 kB / 1.184 GB, free: 119.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006794/2.371, allocations: 11.19 MB / 1.195 GB, free: 109.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/2.371, allocations: 1.125 kB / 1.195 GB, free: 109.8 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003878/2.374, allocations: 2.209 MB / 1.197 GB, free: 109.3 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003566/2.375, allocations: 160.8 kB / 1.197 GB, free: 109.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001359/2.375, allocations: 28.44 kB / 1.197 GB, free: 109.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008546/2.376, allocations: 102 kB / 1.197 GB, free: 109.1 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002769/2.376, allocations: 112.4 kB / 1.197 GB, free: 109.1 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001016/2.376, allocations: 49.34 kB / 1.197 GB, free: 109.1 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0004991/2.377, allocations: 366 kB / 1.198 GB, free: 109 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.5e-07/2.377, allocations: 2.953 kB / 1.198 GB, free: 109 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.00188/2.379, allocations: 432.5 kB / 1.198 GB, free: 109 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.004289/2.383, allocations: 3.387 MB / 1.201 GB, free: 107.7 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002926/2.386, allocations: 2.083 MB / 1.204 GB, free: 106.7 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.82e-06/2.386, allocations: 0 / 1.204 GB, free: 106.7 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001987/2.388, allocations: 1.628 MB / 1.205 GB, free: 105.8 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001507/2.389, allocations: 255 kB / 1.205 GB, free: 105.8 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004675/2.394, allocations: 2.17 MB / 1.207 GB, free: 105.3 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006013/2.395, allocations: 1.064 MB / 1.209 GB, free: 104.6 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0008132/2.396, allocations: 190.3 kB / 1.209 GB, free: 104.5 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005438/2.396, allocations: 405.9 kB / 1.209 GB, free: 104.5 MB / 0.5886 GB Notification: Performance of SimCode: time 2.425e-06/2.396, allocations: 3.375 kB / 1.209 GB, free: 104.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04787/2.444, allocations: 29.33 MB / 1.238 GB, free: 103.4 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001904/2.444, allocations: 209.3 kB / 1.238 GB, free: 103.2 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.472/5.916, allocations: 0 / 1.238 GB, free: 103.2 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