Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.CheckValve.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.CheckValve,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_FlowControl_Tests_CheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.CheckValve,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_FlowControl_Tests_CheckValve",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.001789/0.001789, 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.667/1.667, 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.001145/0.001145, allocations: 89.02 kB / 266.6 MB, free: 9.27 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.7858/0.7858, allocations: 90.35 MB / 405 MB, free: 8.633 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.502e-05/3.505e-05, allocations: 4 kB / 479.2 MB, free: 14.23 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4052/0.4053, allocations: 66.25 MB / 0.5327 GB, free: 28.64 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.183/1.588, allocations: 436.4 MB / 0.9588 GB, free: 207.9 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002316/1.588, allocations: 71.97 kB / 0.9589 GB, free: 207.9 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.1347/1.723, allocations: 69.98 MB / 1.027 GB, free: 137.2 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.492e-06/1.723, allocations: 0 / 1.027 GB, free: 137.2 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.701e-05/1.723, allocations: 11.98 kB / 1.027 GB, free: 137.2 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001205/1.725, allocations: 0.6447 MB / 1.028 GB, free: 136.5 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/1.725, allocations: 8.031 kB / 1.028 GB, free: 136.5 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.733e-05/1.725, allocations: 58.48 kB / 1.028 GB, free: 136.4 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001146/1.725, allocations: 31.62 kB / 1.028 GB, free: 136.4 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003656/1.725, allocations: 265.6 kB / 1.028 GB, free: 136.1 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/1.725, allocations: 12.44 kB / 1.028 GB, free: 136.1 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.888e-05/1.725, allocations: 31.94 kB / 1.028 GB, free: 136 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003604/1.726, allocations: 215.3 kB / 1.028 GB, free: 135.8 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/1.726, allocations: 0 / 1.028 GB, free: 135.8 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.528e-05/1.726, allocations: 11.98 kB / 1.028 GB, free: 135.8 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/1.726, allocations: 7.938 kB / 1.029 GB, free: 135.8 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003023/1.726, allocations: 185.7 kB / 1.029 GB, free: 135.6 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001243/1.727, allocations: 1.049 MB / 1.03 GB, free: 134.4 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003237/1.728, allocations: 215.6 kB / 1.03 GB, free: 134.2 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001393/1.728, allocations: 104.8 kB / 1.03 GB, free: 134.1 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008316/1.729, allocations: 0.8608 MB / 1.031 GB, free: 133.2 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000244/1.729, allocations: 145 kB / 1.031 GB, free: 133 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=25): time 1.863e-06/1.729, allocations: 0 / 1.031 GB, free: 133 MB / 0.5886 GB Notification: Performance of matching and sorting (n=25): time 0.0005479/1.729, allocations: 266.5 kB / 1.031 GB, free: 132.7 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/1.729, allocations: 59.41 kB / 1.031 GB, free: 132.7 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/1.73, allocations: 197.1 kB / 1.031 GB, free: 132.5 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/1.73, allocations: 37.64 kB / 1.032 GB, free: 132.4 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.26e-05/1.73, allocations: 156.4 kB / 1.032 GB, free: 132.3 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.558e-05/1.73, allocations: 86.73 kB / 1.032 GB, free: 132.2 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.136e-05/1.73, allocations: 8 kB / 1.032 GB, free: 132.2 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.092e-05/1.73, allocations: 334.8 kB / 1.032 GB, free: 131.8 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/1.73, allocations: 79.97 kB / 1.032 GB, free: 131.8 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001289/1.73, allocations: 107.8 kB / 1.032 GB, free: 131.6 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/1.73, allocations: 114.1 kB / 1.032 GB, free: 131.5 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.73, allocations: 0 / 1.032 GB, free: 131.5 MB / 0.5886 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005194/1.731, allocations: 321 kB / 1.033 GB, free: 131.2 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.276e-05/1.731, allocations: 29.7 kB / 1.033 GB, free: 131.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/1.731, allocations: 4.062 kB / 1.033 GB, free: 131.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002091/1.731, allocations: 40.83 kB / 1.033 GB, free: 131.1 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002037/1.731, allocations: 47.91 kB / 1.033 GB, free: 131.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009172/1.732, allocations: 1.413 MB / 1.034 GB, free: 129.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002082/1.733, allocations: 31.81 kB / 1.034 GB, free: 129.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.607e-05/1.733, allocations: 11.98 kB / 1.034 GB, free: 129.5 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 1 * 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 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.866e-05/1.733, allocations: 124.8 kB / 1.034 GB, free: 129.4 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.782e-05/1.733, allocations: 27.66 kB / 1.034 GB, free: 129.3 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005482/1.733, allocations: 326.3 kB / 1.035 GB, free: 129 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.411e-06/1.733, allocations: 4 kB / 1.035 GB, free: 129 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/1.733, allocations: 0 / 1.035 GB, free: 129 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/1.733, allocations: 7.922 kB / 1.035 GB, free: 129 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008903/1.734, allocations: 0.73 MB / 1.035 GB, free: 128.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/1.734, allocations: 0 / 1.035 GB, free: 128.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001618/1.734, allocations: 47.91 kB / 1.035 GB, free: 128.1 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000133/1.735, allocations: 36.81 kB / 1.035 GB, free: 128.1 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.591e-05/1.735, allocations: 12.03 kB / 1.035 GB, free: 128.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008433/1.735, allocations: 1.41 MB / 1.037 GB, free: 126.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/1.735, allocations: 7.984 kB / 1.037 GB, free: 126.5 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006116/1.736, allocations: 0.4906 MB / 1.037 GB, free: 126 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.587e-05/1.736, allocations: 100.8 kB / 1.037 GB, free: 125.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.516e-05/1.736, allocations: 4 kB / 1.037 GB, free: 125.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002002/1.736, allocations: 24.05 kB / 1.037 GB, free: 125.9 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.173e-05/1.736, allocations: 27.95 kB / 1.038 GB, free: 125.9 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.978e-05/1.736, allocations: 7.984 kB / 1.038 GB, free: 125.8 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.000121/1.737, allocations: 169.4 kB / 1.038 GB, free: 125.7 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.7e-07/1.737, allocations: 0 / 1.038 GB, free: 125.7 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0005737/1.737, allocations: 135.8 kB / 1.038 GB, free: 125.5 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (checkValve.inlet.m_flow) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 2 * 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 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001359/1.739, allocations: 1.296 MB / 1.039 GB, free: 124.2 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0006228/1.739, allocations: 419.6 kB / 1.039 GB, free: 123.8 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/1.739, allocations: 3.938 kB / 1.039 GB, free: 123.8 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0003195/1.74, allocations: 268.1 kB / 1.04 GB, free: 123.5 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004901/1.74, allocations: 77.77 kB / 1.04 GB, free: 123.4 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/1.741, allocations: 491.9 kB / 1.04 GB, free: 122.9 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002315/1.741, allocations: 0.7716 MB / 1.041 GB, free: 122.1 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001793/1.742, allocations: 41.92 kB / 1.041 GB, free: 122.1 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/1.742, allocations: 87.41 kB / 1.041 GB, free: 122 MB / 0.5886 GB Notification: Performance of SimCode: time 1.072e-06/1.742, allocations: 0 / 1.041 GB, free: 122 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02193/1.764, allocations: 10.2 MB / 1.051 GB, free: 111.9 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001483/1.764, allocations: 196.7 kB / 1.051 GB, free: 111.6 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.291/4.055, allocations: 3.938 kB / 1.051 GB, free: 111.6 MB / 0.5886 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.CheckValve.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.CheckValve.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.CheckValve.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.CheckValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.CheckValve_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_FlowControl_Tests_CheckValve_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_FlowControl_Tests_CheckValve.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.CheckValve.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.CheckValve_res.mat does not exist to compare? outputFormat=mat