Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.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.CheckValve,fileNamePrefix="ThermofluidStream_ThermofluidStream_FlowControl_Tests_CheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.CheckValve,fileNamePrefix="ThermofluidStream_ThermofluidStream_FlowControl_Tests_CheckValve",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.001097/0.001097, allocations: 172.2 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 221.5 MB / 229.6 MB, free: 7.562 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.0009827/0.0009826, allocations: 89.91 kB / 280.5 MB, free: 5.32 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.00983/0.00983, allocations: 1.561 MB / 332.8 MB, free: 13.54 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.7472/0.7472, allocations: 90.04 MB / 474 MB, free: 13.01 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.535e-05/1.537e-05, allocations: 2.938 kB / 0.5376 GB, free: 33.12 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1525, allocations: 69.37 MB / 0.6053 GB, free: 16 kB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.245/1.397, allocations: 435.8 MB / 1.031 GB, free: 121.4 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002352/1.397, allocations: 76.22 kB / 1.031 GB, free: 121.3 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.1361/1.534, allocations: 71.05 MB / 1.1 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.343e-06/1.534, allocations: 0 / 1.1 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.974e-05/1.534, allocations: 4 kB / 1.1 GB, free: 61.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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001052/1.535, allocations: 0.6376 MB / 1.101 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/1.535, allocations: 12.02 kB / 1.101 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.472e-05/1.535, allocations: 27.72 kB / 1.101 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002948/1.535, allocations: 269.5 kB / 1.101 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/1.535, allocations: 8 kB / 1.101 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.124e-05/1.535, allocations: 19.94 kB / 1.101 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002726/1.535, allocations: 176.8 kB / 1.101 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002736/1.536, allocations: 190.4 kB / 1.102 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/1.536, allocations: 4 kB / 1.102 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.146e-05/1.536, allocations: 4 kB / 1.102 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/1.536, allocations: 4 kB / 1.102 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/1.537, allocations: 0.9826 MB / 1.103 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002575/1.537, allocations: 214.5 kB / 1.103 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/1.537, allocations: 101 kB / 1.103 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007277/1.538, allocations: 0.8527 MB / 1.104 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002211/1.538, allocations: 143.3 kB / 1.104 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=25): time 1.784e-06/1.538, allocations: 0 / 1.104 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of matching and sorting (n=25): time 0.0005861/1.539, allocations: 254.1 kB / 1.104 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.388e-05/1.539, allocations: 55.41 kB / 1.104 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/1.539, allocations: 184.5 kB / 1.104 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/1.539, allocations: 33.64 kB / 1.104 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.295e-05/1.539, allocations: 156.3 kB / 1.105 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.356e-05/1.539, allocations: 82.84 kB / 1.105 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.431e-05/1.539, allocations: 0 / 1.105 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.973e-05/1.539, allocations: 330.8 kB / 1.105 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.8e-05/1.539, allocations: 75.98 kB / 1.105 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001086/1.539, allocations: 94.78 kB / 1.105 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002025/1.54, allocations: 92.88 kB / 1.105 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/1.54, allocations: 0 / 1.105 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004954/1.54, allocations: 271.2 kB / 1.105 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.873e-05/1.54, allocations: 33.7 kB / 1.105 GB, free: 56.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/1.54, allocations: 0 / 1.105 GB, free: 56.28 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002035/1.54, allocations: 40.89 kB / 1.105 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002036/1.541, allocations: 51.91 kB / 1.106 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008481/1.542, allocations: 1.358 MB / 1.107 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001904/1.542, allocations: 27.8 kB / 1.107 GB, free: 54.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.354e-05/1.542, allocations: 15.98 kB / 1.107 GB, free: 54.67 MB / 0.6042 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 8.676e-05/1.542, allocations: 104.9 kB / 1.107 GB, free: 54.56 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000463/1.542, allocations: 254.3 kB / 1.107 GB, free: 54.3 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.259e-05/1.542, allocations: 23.72 kB / 1.107 GB, free: 54.28 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005739/1.543, allocations: 298.2 kB / 1.108 GB, free: 53.98 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/1.543, allocations: 4 kB / 1.108 GB, free: 53.97 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/1.543, allocations: 0 / 1.108 GB, free: 53.97 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/1.543, allocations: 3.984 kB / 1.108 GB, free: 53.97 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008488/1.544, allocations: 0.6761 MB / 1.108 GB, free: 53.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/1.544, allocations: 0 / 1.108 GB, free: 53.24 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001527/1.544, allocations: 39.92 kB / 1.108 GB, free: 53.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001149/1.544, allocations: 44.72 kB / 1.108 GB, free: 53.16 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.126e-05/1.544, allocations: 8.031 kB / 1.108 GB, free: 53.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007449/1.545, allocations: 1.366 MB / 1.11 GB, free: 51.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/1.545, allocations: 3.938 kB / 1.11 GB, free: 51.66 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006197/1.546, allocations: 483.4 kB / 1.11 GB, free: 51.16 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.989e-05/1.546, allocations: 104.8 kB / 1.11 GB, free: 51.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.696e-05/1.546, allocations: 4 kB / 1.11 GB, free: 51.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001913/1.546, allocations: 23.89 kB / 1.11 GB, free: 51.01 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.259e-05/1.546, allocations: 27.95 kB / 1.11 GB, free: 50.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.978e-05/1.546, allocations: 8 kB / 1.11 GB, free: 50.98 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001341/1.546, allocations: 148.5 kB / 1.11 GB, free: 50.83 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/1.546, allocations: 0 / 1.11 GB, free: 50.83 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000518/1.547, allocations: 131.8 kB / 1.111 GB, free: 50.7 MB / 0.6042 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.00118/1.548, allocations: 1.279 MB / 1.112 GB, free: 49.39 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005403/1.548, allocations: 390.7 kB / 1.112 GB, free: 48.98 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.548, allocations: 128 / 1.112 GB, free: 48.98 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002567/1.549, allocations: 263.3 kB / 1.112 GB, free: 48.7 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004964/1.549, allocations: 80.12 kB / 1.112 GB, free: 48.63 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009469/1.55, allocations: 463.8 kB / 1.113 GB, free: 48.14 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001866/1.55, allocations: 0.7718 MB / 1.114 GB, free: 47.34 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000148/1.55, allocations: 41.92 kB / 1.114 GB, free: 47.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001114/1.551, allocations: 91.39 kB / 1.114 GB, free: 47.21 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/1.551, allocations: 0 / 1.114 GB, free: 47.21 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02845/1.579, allocations: 8.129 MB / 1.122 GB, free: 39.12 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001635/1.579, allocations: 136.5 kB / 1.122 GB, free: 38.93 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.153/3.732, allocations: 0 / 1.122 GB, free: 38.93 MB / 0.6042 GB (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_FlowControl_Tests_CheckValve_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_FlowControl_Tests_CheckValve.fmu > ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve_res.mat does not exist to compare? outputFormat=mat