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.001151/0.001151, allocations: 174.7 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.704/1.704, 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.0008468/0.0008471, allocations: 87.75 kB / 266.6 MB, free: 9.277 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.9345/0.9345, allocations: 90.35 MB / 405 MB, free: 8.617 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 4.299e-05/4.32e-05, allocations: 4 kB / 479.3 MB, free: 14.21 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4428/0.4428, allocations: 66.24 MB / 0.5327 GB, free: 28.52 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.266/1.709, allocations: 437.7 MB / 0.9601 GB, free: 206.2 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000296/1.709, allocations: 72.67 kB / 0.9602 GB, free: 206.1 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.8371/2.546, allocations: 204.4 MB / 1.16 GB, free: 126.7 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.843e-06/2.546, allocations: 0 / 1.16 GB, free: 126.7 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001131/2.546, allocations: 29.25 kB / 1.16 GB, free: 126.7 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.002596/2.549, allocations: 1.14 MB / 1.161 GB, free: 126.3 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/2.549, allocations: 8.344 kB / 1.161 GB, free: 126.3 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001183/2.549, allocations: 115.8 kB / 1.161 GB, free: 126.3 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002051/2.549, allocations: 98.66 kB / 1.161 GB, free: 126.2 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007524/2.55, allocations: 0.504 MB / 1.162 GB, free: 126 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.886e-05/2.55, allocations: 53.66 kB / 1.162 GB, free: 126 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001463/2.55, allocations: 69.91 kB / 1.162 GB, free: 126 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001048/2.551, allocations: 0.6252 MB / 1.162 GB, free: 125.9 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/2.552, allocations: 3.953 kB / 1.162 GB, free: 125.9 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.337e-05/2.552, allocations: 26.62 kB / 1.162 GB, free: 125.9 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.625e-05/2.552, allocations: 20.75 kB / 1.162 GB, free: 125.9 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008362/2.552, allocations: 0.5939 MB / 1.163 GB, free: 125.9 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003551/2.556, allocations: 3.188 MB / 1.166 GB, free: 124 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001578/2.558, allocations: 0.6871 MB / 1.167 GB, free: 124 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004727/2.558, allocations: 283.8 kB / 1.167 GB, free: 124 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006247/2.559, allocations: 0.9823 MB / 1.168 GB, free: 122.8 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/2.559, allocations: 39.66 kB / 1.168 GB, free: 122.8 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=60): time 3.276e-06/2.559, allocations: 0 / 1.168 GB, free: 122.8 MB / 0.5886 GB Notification: Performance of matching and sorting (n=61): time 0.003231/2.562, allocations: 1.473 MB / 1.169 GB, free: 122.4 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/2.562, allocations: 60.75 kB / 1.17 GB, free: 122.3 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005837/2.563, allocations: 375.1 kB / 1.17 GB, free: 122.2 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.177e-05/2.563, allocations: 39.41 kB / 1.17 GB, free: 122.2 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002456/2.563, allocations: 348 kB / 1.17 GB, free: 122.1 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001789/2.563, allocations: 203.2 kB / 1.17 GB, free: 121.9 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.614e-05/2.563, allocations: 12.47 kB / 1.17 GB, free: 121.9 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001431/2.563, allocations: 375.8 kB / 1.171 GB, free: 121.6 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003913/2.564, allocations: 191.4 kB / 1.171 GB, free: 121.6 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003922/2.564, allocations: 202.2 kB / 1.171 GB, free: 121.6 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000446/2.565, allocations: 224.5 kB / 1.171 GB, free: 121.6 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/2.565, allocations: 0.75 kB / 1.171 GB, free: 121.6 MB / 0.5886 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001604/2.566, allocations: 0.6671 MB / 1.172 GB, free: 121.5 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.118e-05/2.566, allocations: 5.375 kB / 1.172 GB, free: 121.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/2.566, allocations: 0 / 1.172 GB, free: 121.5 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004476/2.567, allocations: 115 kB / 1.172 GB, free: 121.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004297/2.567, allocations: 96.44 kB / 1.172 GB, free: 121.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002273/2.569, allocations: 1.968 MB / 1.174 GB, free: 120.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005193/2.57, allocations: 50.25 kB / 1.174 GB, free: 120.3 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.105e-05/2.57, allocations: 18.89 kB / 1.174 GB, free: 120.3 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 () * 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.0001591/2.57, allocations: 133.8 kB / 1.174 GB, free: 120.1 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002193/2.57, allocations: 57.95 kB / 1.174 GB, free: 120.1 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001941/2.572, allocations: 0.8327 MB / 1.175 GB, free: 120 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/2.572, allocations: 11.56 kB / 1.175 GB, free: 120 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/2.572, allocations: 0 / 1.175 GB, free: 120 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.288e-06/2.572, allocations: 5.875 kB / 1.175 GB, free: 120 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003273/2.576, allocations: 1.641 MB / 1.177 GB, free: 119.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/2.576, allocations: 3.719 kB / 1.177 GB, free: 119.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004088/2.576, allocations: 109.1 kB / 1.177 GB, free: 119.7 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000406/2.577, allocations: 114.5 kB / 1.177 GB, free: 119.7 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.89e-05/2.577, allocations: 26.16 kB / 1.177 GB, free: 119.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002071/2.579, allocations: 1.955 MB / 1.179 GB, free: 118.4 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/2.579, allocations: 0 / 1.179 GB, free: 118.4 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002058/2.581, allocations: 1.124 MB / 1.18 GB, free: 118.2 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002528/2.581, allocations: 131 kB / 1.18 GB, free: 118.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001275/2.581, allocations: 17.55 kB / 1.18 GB, free: 118.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004784/2.582, allocations: 43.25 kB / 1.18 GB, free: 118.1 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001643/2.582, allocations: 52.31 kB / 1.18 GB, free: 118.1 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.075e-05/2.582, allocations: 20.44 kB / 1.18 GB, free: 118.1 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0005217/2.582, allocations: 305.2 kB / 1.181 GB, free: 118 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.51e-07/2.582, allocations: 0 / 1.181 GB, free: 118 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001802/2.584, allocations: 375.5 kB / 1.181 GB, free: 118 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 () * 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.00401/2.588, allocations: 2.423 MB / 1.183 GB, free: 117.1 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001561/2.59, allocations: 0.7205 MB / 1.184 GB, free: 116.9 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/2.59, allocations: 0 / 1.184 GB, free: 116.9 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0009068/2.591, allocations: 0.5076 MB / 1.185 GB, free: 116.7 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001085/2.592, allocations: 172.3 kB / 1.185 GB, free: 116.7 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003484/2.595, allocations: 1.201 MB / 1.186 GB, free: 116.4 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007145/2.596, allocations: 0.9648 MB / 1.187 GB, free: 115.7 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0005336/2.597, allocations: 106.6 kB / 1.187 GB, free: 115.7 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004625/2.597, allocations: 290.8 kB / 1.187 GB, free: 115.7 MB / 0.5886 GB Notification: Performance of SimCode: time 1.563e-06/2.597, allocations: 3.594 kB / 1.187 GB, free: 115.7 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06009/2.657, allocations: 25.99 MB / 1.213 GB, free: 115 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001578/2.657, allocations: 189.5 kB / 1.213 GB, free: 114.7 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.079/5.737, allocations: 3.062 kB / 1.213 GB, free: 114.7 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