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.009642/0.009642, allocations: 169.3 kB / 15.11 MB, free: 5.984 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.523/1.523, allocations: 223.2 MB / 239 MB, free: 1.793 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009471/0.0009471, allocations: 85.06 kB / 290.2 MB, free: 13.93 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.01414/0.01414, allocations: 1.564 MB / 342.9 MB, free: 9.246 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.8029/0.8029, allocations: 90.31 MB / 484.6 MB, free: 21.89 MB / 330.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004818/0.0004819, allocations: 15.41 kB / 0.5527 GB, free: 30.27 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1595, allocations: 69.36 MB / 0.6204 GB, free: 5.535 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.333/1.493, allocations: 437.8 MB / 1.048 GB, free: 103.7 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003031/1.493, allocations: 88.27 kB / 1.048 GB, free: 103.7 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.8641/2.358, allocations: 209.2 MB / 1.252 GB, free: 145.6 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.873e-06/2.358, allocations: 0 / 1.252 GB, free: 145.6 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001065/2.358, allocations: 26.59 kB / 1.252 GB, free: 145.5 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.003336/2.361, allocations: 1.22 MB / 1.254 GB, free: 144.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.812e-05/2.361, allocations: 19.92 kB / 1.254 GB, free: 144.3 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003242/2.361, allocations: 114.5 kB / 1.254 GB, free: 144.1 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003658/2.362, allocations: 102.9 kB / 1.254 GB, free: 144 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001068/2.363, allocations: 0.4998 MB / 1.254 GB, free: 143.5 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.62e-05/2.363, allocations: 50 kB / 1.254 GB, free: 143.5 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/2.363, allocations: 72 kB / 1.254 GB, free: 143.4 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001198/2.364, allocations: 0.6561 MB / 1.255 GB, free: 142.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/2.364, allocations: 4 kB / 1.255 GB, free: 142.7 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.386e-05/2.364, allocations: 27.95 kB / 1.255 GB, free: 142.7 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.563e-05/2.364, allocations: 16 kB / 1.255 GB, free: 142.7 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0011/2.366, allocations: 0.6481 MB / 1.256 GB, free: 142 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003768/2.369, allocations: 3.188 MB / 1.259 GB, free: 138.5 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001337/2.371, allocations: 0.7054 MB / 1.26 GB, free: 137.8 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006511/2.371, allocations: 0.9892 MB / 1.261 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/2.371, allocations: 43.11 kB / 1.261 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=60): time 2.845e-06/2.371, allocations: 0 / 1.261 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=61): time 0.004029/2.375, allocations: 2.062 MB / 1.263 GB, free: 134.4 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/2.375, allocations: 55.97 kB / 1.263 GB, free: 134.3 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004691/2.376, allocations: 385.4 kB / 1.263 GB, free: 133.9 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.036e-05/2.376, allocations: 37.64 kB / 1.263 GB, free: 133.9 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001758/2.376, allocations: 336.4 kB / 1.263 GB, free: 133.6 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001418/2.376, allocations: 211.5 kB / 1.264 GB, free: 133.3 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.362e-05/2.376, allocations: 12 kB / 1.264 GB, free: 133.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001161/2.376, allocations: 374.7 kB / 1.264 GB, free: 133 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003516/2.377, allocations: 213 kB / 1.264 GB, free: 132.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003252/2.377, allocations: 225 kB / 1.264 GB, free: 132.5 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003685/2.378, allocations: 238.1 kB / 1.265 GB, free: 132.3 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/2.378, allocations: 0 / 1.265 GB, free: 132.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001237/2.379, allocations: 0.7098 MB / 1.265 GB, free: 131.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/2.379, allocations: 4 kB / 1.265 GB, free: 131.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/2.379, allocations: 8 kB / 1.265 GB, free: 131.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004088/2.379, allocations: 104.8 kB / 1.265 GB, free: 131.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003732/2.38, allocations: 99.88 kB / 1.265 GB, free: 131.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002078/2.382, allocations: 2.019 MB / 1.267 GB, free: 129.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004738/2.382, allocations: 47.91 kB / 1.267 GB, free: 129.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.633e-05/2.382, allocations: 23.98 kB / 1.267 GB, free: 129.1 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 () * Number of clocked 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.0003895/2.383, allocations: 189.8 kB / 1.268 GB, free: 128.9 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002068/2.383, allocations: 59.25 kB / 1.268 GB, free: 128.9 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001577/2.384, allocations: 0.8809 MB / 1.269 GB, free: 128 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/2.385, allocations: 8 kB / 1.269 GB, free: 128 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/2.385, allocations: 0 / 1.269 GB, free: 128 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/2.385, allocations: 3.984 kB / 1.269 GB, free: 128 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002496/2.387, allocations: 1.69 MB / 1.27 GB, free: 126.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.219e-06/2.387, allocations: 0 / 1.27 GB, free: 126.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003636/2.387, allocations: 107.9 kB / 1.27 GB, free: 126.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003462/2.388, allocations: 108.8 kB / 1.27 GB, free: 126 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.954e-05/2.388, allocations: 27.48 kB / 1.27 GB, free: 126 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001813/2.39, allocations: 1.998 MB / 1.272 GB, free: 123.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/2.39, allocations: 3.953 kB / 1.272 GB, free: 123.9 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001766/2.391, allocations: 1.19 MB / 1.274 GB, free: 122.7 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002119/2.392, allocations: 140.3 kB / 1.274 GB, free: 122.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.318e-05/2.392, allocations: 12 kB / 1.274 GB, free: 122.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003913/2.392, allocations: 48.03 kB / 1.274 GB, free: 122.4 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/2.392, allocations: 48.48 kB / 1.274 GB, free: 122.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.769e-05/2.392, allocations: 19.98 kB / 1.274 GB, free: 122.4 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000307/2.393, allocations: 302.9 kB / 1.274 GB, free: 122.1 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.7e-07/2.393, allocations: 0 / 1.274 GB, free: 122.1 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001409/2.394, allocations: 379.7 kB / 1.275 GB, free: 121.7 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 () * Number of clocked 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.003806/2.398, allocations: 2.498 MB / 1.277 GB, free: 119.2 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001446/2.399, allocations: 0.7588 MB / 1.278 GB, free: 118.5 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/2.399, allocations: 4 kB / 1.278 GB, free: 118.4 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0008648/2.4, allocations: 0.5228 MB / 1.278 GB, free: 117.9 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/2.401, allocations: 178.6 kB / 1.278 GB, free: 117.7 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006902/2.408, allocations: 3.998 MB / 1.282 GB, free: 113.7 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006169/2.409, allocations: 0.9693 MB / 1.283 GB, free: 112.7 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0005532/2.409, allocations: 108.2 kB / 1.283 GB, free: 112.6 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004368/2.41, allocations: 291.3 kB / 1.284 GB, free: 112.3 MB / 0.6042 GB Notification: Performance of SimCode: time 1.914e-06/2.41, allocations: 0 / 1.284 GB, free: 112.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05191/2.462, allocations: 24.98 MB / 1.308 GB, free: 87.56 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001825/2.462, allocations: 197.5 kB / 1.308 GB, free: 87.32 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.25/5.712, allocations: 0 / 1.308 GB, free: 87.32 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