Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve.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.FlowControl.Tests.TanValve,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_FlowControl_Tests_TanValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.TanValve,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_FlowControl_Tests_TanValve",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.008894/0.008894, allocations: 170.8 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.933/1.933, allocations: 205.4 MB / 221.3 MB, free: 13.83 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.001278/0.001278, allocations: 90.84 kB / 269.6 MB, free: 13.36 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.9509/0.9509, allocations: 90.59 MB / 408.5 MB, free: 14.96 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0005543/0.0005543, allocations: 8 kB / 485.3 MB, free: 1.953 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6688/0.6694, allocations: 66.26 MB / 0.5387 GB, free: 45.6 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.203/1.873, allocations: 437.8 MB / 0.9662 GB, free: 4.57 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003389/1.873, allocations: 89.45 kB / 0.9663 GB, free: 4.523 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.052/2.925, allocations: 205.2 MB / 1.167 GB, free: 36.34 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.113e-06/2.925, allocations: 0 / 1.167 GB, free: 36.34 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.436e-05/2.925, allocations: 27.98 kB / 1.167 GB, free: 36.32 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: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.002601/2.928, allocations: 1.225 MB / 1.168 GB, free: 35.04 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.998e-05/2.928, allocations: 16.03 kB / 1.168 GB, free: 35.02 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000123/2.928, allocations: 110.5 kB / 1.168 GB, free: 34.91 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001918/2.928, allocations: 99.39 kB / 1.168 GB, free: 34.81 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007491/2.929, allocations: 0.5117 MB / 1.169 GB, free: 34.26 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.331e-05/2.929, allocations: 50 kB / 1.169 GB, free: 34.21 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.532e-05/2.929, allocations: 75.98 kB / 1.169 GB, free: 34.14 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001062/2.93, allocations: 0.6555 MB / 1.169 GB, free: 33.47 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/2.93, allocations: 8 kB / 1.169 GB, free: 33.46 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.237e-05/2.93, allocations: 24 kB / 1.169 GB, free: 33.44 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.6e-05/2.93, allocations: 16 kB / 1.169 GB, free: 33.43 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009454/2.931, allocations: 0.6403 MB / 1.17 GB, free: 32.79 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003033/2.934, allocations: 3.181 MB / 1.173 GB, free: 29.25 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001237/2.936, allocations: 0.7055 MB / 1.174 GB, free: 28.54 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006491/2.936, allocations: 0.9861 MB / 1.175 GB, free: 27.33 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/2.936, allocations: 40.47 kB / 1.175 GB, free: 27.28 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=60): time 3.106e-06/2.936, allocations: 4 kB / 1.175 GB, free: 27.28 MB / 0.5886 GB Notification: Performance of matching and sorting (n=61): time 0.003438/2.94, allocations: 2.066 MB / 1.177 GB, free: 25.1 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/2.94, allocations: 55.97 kB / 1.177 GB, free: 25.03 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003528/2.94, allocations: 381.4 kB / 1.177 GB, free: 24.65 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.516e-05/2.94, allocations: 33.7 kB / 1.177 GB, free: 24.61 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/2.94, allocations: 344.3 kB / 1.178 GB, free: 24.27 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/2.941, allocations: 212.9 kB / 1.178 GB, free: 24.06 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.36e-05/2.941, allocations: 12 kB / 1.178 GB, free: 24.05 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001177/2.941, allocations: 374.7 kB / 1.178 GB, free: 23.67 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003392/2.941, allocations: 213 kB / 1.178 GB, free: 23.46 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003244/2.941, allocations: 225 kB / 1.179 GB, free: 23.25 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00037/2.942, allocations: 242.1 kB / 1.179 GB, free: 23.01 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/2.942, allocations: 0 / 1.179 GB, free: 23.01 MB / 0.5886 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001211/2.943, allocations: 0.7098 MB / 1.179 GB, free: 22.29 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/2.943, allocations: 8 kB / 1.18 GB, free: 22.28 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/2.943, allocations: 0 / 1.18 GB, free: 22.28 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003712/2.943, allocations: 112.7 kB / 1.18 GB, free: 22.16 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003592/2.944, allocations: 103.9 kB / 1.18 GB, free: 22.06 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001956/2.946, allocations: 2.004 MB / 1.182 GB, free: 19.93 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004665/2.946, allocations: 44.17 kB / 1.182 GB, free: 19.88 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.59e-05/2.946, allocations: 23.92 kB / 1.182 GB, free: 19.86 MB / 0.5886 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.0003832/2.947, allocations: 201.5 kB / 1.182 GB, free: 19.65 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001648/2.947, allocations: 63.25 kB / 1.182 GB, free: 19.59 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001573/2.948, allocations: 0.8841 MB / 1.183 GB, free: 18.7 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/2.948, allocations: 8 kB / 1.183 GB, free: 18.69 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/2.948, allocations: 0 / 1.183 GB, free: 18.69 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/2.948, allocations: 3.984 kB / 1.183 GB, free: 18.68 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002397/2.951, allocations: 1.68 MB / 1.184 GB, free: 16.94 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/2.951, allocations: 4.031 kB / 1.185 GB, free: 16.93 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003467/2.951, allocations: 115.8 kB / 1.185 GB, free: 16.82 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003391/2.952, allocations: 104.7 kB / 1.185 GB, free: 16.71 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.625e-05/2.952, allocations: 27.97 kB / 1.185 GB, free: 16.69 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001639/2.953, allocations: 2 MB / 1.187 GB, free: 14.56 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/2.953, allocations: 0 / 1.187 GB, free: 14.56 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001677/2.955, allocations: 1.19 MB / 1.188 GB, free: 13.34 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001612/2.955, allocations: 136.3 kB / 1.188 GB, free: 13.19 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.605e-05/2.955, allocations: 12 kB / 1.188 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003334/2.956, allocations: 51.97 kB / 1.188 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/2.956, allocations: 48.48 kB / 1.188 GB, free: 13.08 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.728e-05/2.956, allocations: 19.98 kB / 1.188 GB, free: 13.06 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0002866/2.956, allocations: 302.9 kB / 1.188 GB, free: 12.77 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.5e-07/2.956, allocations: 0 / 1.188 GB, free: 12.77 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001162/2.957, allocations: 375.8 kB / 1.189 GB, free: 12.4 MB / 0.5886 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.002997/2.96, allocations: 2.5 MB / 1.191 GB, free: 9.855 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0012/2.961, allocations: 0.7654 MB / 1.192 GB, free: 9.066 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/2.961, allocations: 3.938 kB / 1.192 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0007158/2.962, allocations: 0.5306 MB / 1.192 GB, free: 8.516 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008455/2.963, allocations: 171.4 kB / 1.193 GB, free: 8.355 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005108/2.968, allocations: 3.99 MB / 1.197 GB, free: 4.289 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003886/2.969, allocations: 0.9654 MB / 1.197 GB, free: 3.297 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0004051/2.969, allocations: 112.2 kB / 1.198 GB, free: 3.188 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003259/2.969, allocations: 295.3 kB / 1.198 GB, free: 2.898 MB / 0.5886 GB Notification: Performance of SimCode: time 7.72e-07/2.969, allocations: 4 kB / 1.198 GB, free: 2.895 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.359/3.328, allocations: 24.96 MB / 1.222 GB, free: 117.8 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001696/3.329, allocations: 207.2 kB / 1.222 GB, free: 117.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.251/6.579, allocations: 0 / 1.222 GB, free: 117.5 MB / 0.5886 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_FlowControl_Tests_TanValve_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_FlowControl_Tests_TanValve.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve_res.mat does not exist to compare? outputFormat=mat