Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.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.FlowControl.Tests.TanValve,fileNamePrefix="ThermofluidStream_ThermofluidStream_FlowControl_Tests_TanValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.TanValve,fileNamePrefix="ThermofluidStream_ThermofluidStream_FlowControl_Tests_TanValve",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.001819/0.001818, allocations: 174.5 kB / 12.73 MB, free: 2.59 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.721/1.721, 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.001134/0.001133, allocations: 89.27 kB / 285.6 MB, free: 13 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.01273/0.01273, allocations: 1.552 MB / 338.1 MB, free: 8.48 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.6203/0.6203, allocations: 90.04 MB / 479.4 MB, free: 2.98 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 5.512e-05/5.542e-05, allocations: 8 kB / 0.5446 GB, free: 7.902 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.207/0.2071, allocations: 69.36 MB / 0.6123 GB, free: 2.449 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.44/1.647, allocations: 437.8 MB / 1.04 GB, free: 12.87 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002548/1.647, allocations: 76.53 kB / 1.04 GB, free: 12.83 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.9266/2.574, allocations: 208.4 MB / 1.243 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.854e-06/2.574, allocations: 7.938 kB / 1.243 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001056/2.574, allocations: 27.98 kB / 1.243 GB, free: 57.93 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: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.003385/2.577, allocations: 1.138 MB / 1.245 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.428e-05/2.577, allocations: 15.92 kB / 1.245 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002916/2.578, allocations: 114.5 kB / 1.245 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003819/2.578, allocations: 98.88 kB / 1.245 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001134/2.579, allocations: 0.5062 MB / 1.245 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.275e-05/2.579, allocations: 54 kB / 1.245 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001417/2.579, allocations: 68 kB / 1.245 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001236/2.581, allocations: 0.6205 MB / 1.246 GB, free: 55.21 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.7e-05/2.581, allocations: 0 / 1.246 GB, free: 55.21 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.739e-05/2.581, allocations: 31.95 kB / 1.246 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.827e-05/2.581, allocations: 20 kB / 1.246 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009566/2.582, allocations: 0.6013 MB / 1.247 GB, free: 54.56 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003628/2.585, allocations: 3.177 MB / 1.25 GB, free: 51.02 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001318/2.587, allocations: 0.6899 MB / 1.25 GB, free: 50.32 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003974/2.587, allocations: 282.5 kB / 1.251 GB, free: 50.04 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006384/2.588, allocations: 0.9861 MB / 1.252 GB, free: 48.83 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/2.588, allocations: 43.12 kB / 1.252 GB, free: 48.78 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=60): time 3.026e-06/2.588, allocations: 3.984 kB / 1.252 GB, free: 48.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=61): time 0.002774/2.591, allocations: 1.468 MB / 1.253 GB, free: 47.25 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.692e-05/2.591, allocations: 67.84 kB / 1.253 GB, free: 47.17 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000416/2.591, allocations: 368.1 kB / 1.254 GB, free: 46.8 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.208e-05/2.591, allocations: 37.7 kB / 1.254 GB, free: 46.76 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001667/2.591, allocations: 336.4 kB / 1.254 GB, free: 46.43 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001381/2.591, allocations: 208.9 kB / 1.254 GB, free: 46.22 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.337e-05/2.592, allocations: 11.94 kB / 1.254 GB, free: 46.21 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.000139/2.592, allocations: 378.7 kB / 1.254 GB, free: 45.83 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002757/2.592, allocations: 193.1 kB / 1.255 GB, free: 45.64 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002698/2.592, allocations: 201 kB / 1.255 GB, free: 45.45 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003097/2.593, allocations: 219.2 kB / 1.255 GB, free: 45.23 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/2.593, allocations: 0 / 1.255 GB, free: 45.23 MB / 0.6042 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001089/2.594, allocations: 0.6747 MB / 1.256 GB, free: 44.55 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.58e-05/2.594, allocations: 4 kB / 1.256 GB, free: 44.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/2.594, allocations: 4 kB / 1.256 GB, free: 44.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003961/2.594, allocations: 104.8 kB / 1.256 GB, free: 44.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003502/2.594, allocations: 99.88 kB / 1.256 GB, free: 44.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002003/2.596, allocations: 1.968 MB / 1.258 GB, free: 42.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004406/2.597, allocations: 51.91 kB / 1.258 GB, free: 42.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.894e-05/2.597, allocations: 19.98 kB / 1.258 GB, free: 42.16 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000135/2.597, allocations: 126.1 kB / 1.258 GB, free: 42.04 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001631/2.597, allocations: 71.25 kB / 1.258 GB, free: 41.96 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001467/2.599, allocations: 0.8296 MB / 1.259 GB, free: 41.12 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/2.599, allocations: 8 kB / 1.259 GB, free: 41.12 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/2.599, allocations: 4 kB / 1.259 GB, free: 41.11 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/2.599, allocations: 3.984 kB / 1.259 GB, free: 41.11 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002418/2.601, allocations: 1.637 MB / 1.261 GB, free: 39.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/2.601, allocations: 3.984 kB / 1.261 GB, free: 39.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003623/2.602, allocations: 107.9 kB / 1.261 GB, free: 39.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003562/2.602, allocations: 113.6 kB / 1.261 GB, free: 39.19 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.247e-05/2.602, allocations: 19.98 kB / 1.261 GB, free: 39.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001743/2.604, allocations: 1.948 MB / 1.263 GB, free: 37.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/2.604, allocations: 7.984 kB / 1.263 GB, free: 37.07 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00155/2.605, allocations: 1.12 MB / 1.264 GB, free: 35.93 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001722/2.606, allocations: 136.3 kB / 1.264 GB, free: 35.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.495e-05/2.606, allocations: 16 kB / 1.264 GB, free: 35.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003746/2.606, allocations: 44.03 kB / 1.264 GB, free: 35.71 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/2.606, allocations: 48.59 kB / 1.264 GB, free: 35.67 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.256e-05/2.606, allocations: 23.92 kB / 1.264 GB, free: 35.64 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003094/2.607, allocations: 313.5 kB / 1.264 GB, free: 35.34 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.51e-07/2.607, allocations: 4 kB / 1.264 GB, free: 35.34 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001398/2.608, allocations: 371.8 kB / 1.265 GB, free: 34.98 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (splitterT2_1.splitterN.inlet.m_flow,splitterT2_1.splitterN.outlets[1].m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003529/2.612, allocations: 2.42 MB / 1.267 GB, free: 32.53 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001274/2.613, allocations: 0.7185 MB / 1.268 GB, free: 31.79 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/2.613, allocations: 4 kB / 1.268 GB, free: 31.79 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000746/2.614, allocations: 0.4992 MB / 1.268 GB, free: 31.27 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009146/2.614, allocations: 181.8 kB / 1.268 GB, free: 31.09 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002591/2.617, allocations: 1.195 MB / 1.27 GB, free: 29.85 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004473/2.618, allocations: 0.9653 MB / 1.271 GB, free: 28.85 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0004028/2.618, allocations: 108.2 kB / 1.271 GB, free: 28.75 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000342/2.618, allocations: 295.3 kB / 1.271 GB, free: 28.46 MB / 0.6042 GB Notification: Performance of SimCode: time 8.61e-07/2.618, allocations: 0 / 1.271 GB, free: 28.46 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05422/2.673, allocations: 25.97 MB / 1.296 GB, free: 2.66 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001552/2.673, allocations: 173.9 kB / 1.296 GB, free: 2.434 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.338/6.01, allocations: 0 / 1.296 GB, free: 2.434 MB / 0.6042 GB (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_FlowControl_Tests_TanValve_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_FlowControl_Tests_TanValve.fmu > ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve_res.mat does not exist to compare? outputFormat=mat