Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.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.Undirected.FlowControl.Tests.CheckValve,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_FlowControl_Tests_CheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_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.006918/0.006918, allocations: 170.5 kB / 15.11 MB, free: 5.973 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.629/1.629, allocations: 223.2 MB / 239 MB, free: 64 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 93.11 kB / 290.2 MB, free: 4.543 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.01455/0.01455, allocations: 1.546 MB / 342.9 MB, free: 11.38 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.8561/0.8561, allocations: 90.31 MB / 484.6 MB, free: 38.23 MB / 346.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0005399/0.00054, allocations: 19.92 kB / 0.5527 GB, free: 4.816 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4313/0.4318, allocations: 69.35 MB / 0.6204 GB, free: 20.54 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.299/1.731, allocations: 438.3 MB / 1.048 GB, free: 165.8 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003344/1.731, allocations: 89.38 kB / 1.049 GB, free: 165.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.1689/1.9, allocations: 75.49 MB / 1.122 GB, free: 112.6 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.805e-06/1.9, allocations: 0 / 1.122 GB, free: 112.6 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.694e-05/1.901, allocations: 11.98 kB / 1.122 GB, free: 112.5 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001808/1.902, allocations: 0.7783 MB / 1.123 GB, free: 111.7 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/1.902, allocations: 11.98 kB / 1.123 GB, free: 111.7 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001303/1.903, allocations: 74.52 kB / 1.123 GB, free: 111.6 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001648/1.903, allocations: 47.44 kB / 1.123 GB, free: 111.6 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005275/1.903, allocations: 318.2 kB / 1.123 GB, free: 111.2 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.268e-05/1.903, allocations: 24.59 kB / 1.123 GB, free: 111.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.236e-05/1.903, allocations: 43.98 kB / 1.124 GB, free: 111.2 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007056/1.904, allocations: 408.2 kB / 1.124 GB, free: 110.7 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/1.904, allocations: 0 / 1.124 GB, free: 110.7 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.777e-05/1.904, allocations: 19.95 kB / 1.124 GB, free: 110.7 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/1.904, allocations: 11.94 kB / 1.124 GB, free: 110.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007323/1.905, allocations: 390.3 kB / 1.124 GB, free: 110.3 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00208/1.907, allocations: 1.863 MB / 1.126 GB, free: 108.2 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008826/1.908, allocations: 451.1 kB / 1.127 GB, free: 107.8 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001806/1.91, allocations: 1.289 MB / 1.128 GB, free: 106.4 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000475/1.91, allocations: 244.8 kB / 1.128 GB, free: 106.1 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=41): time 4.338e-06/1.91, allocations: 0 / 1.128 GB, free: 106.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=41): time 0.001669/1.912, allocations: 0.8537 MB / 1.129 GB, free: 105.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.497e-05/1.912, allocations: 59.36 kB / 1.129 GB, free: 105.1 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002501/1.912, allocations: 238.2 kB / 1.129 GB, free: 104.9 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.886e-05/1.912, allocations: 33.7 kB / 1.129 GB, free: 104.9 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001568/1.912, allocations: 196.2 kB / 1.129 GB, free: 104.7 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/1.913, allocations: 138 kB / 1.13 GB, free: 104.5 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.181e-05/1.913, allocations: 12 kB / 1.13 GB, free: 104.5 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001126/1.913, allocations: 338.8 kB / 1.13 GB, free: 104.2 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002956/1.913, allocations: 156.7 kB / 1.13 GB, free: 104 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003171/1.913, allocations: 209.4 kB / 1.13 GB, free: 103.8 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003496/1.914, allocations: 202.8 kB / 1.13 GB, free: 103.6 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.309e-06/1.914, allocations: 0 / 1.13 GB, free: 103.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001031/1.915, allocations: 0.5209 MB / 1.131 GB, free: 103.1 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.024e-05/1.915, allocations: 29.7 kB / 1.131 GB, free: 103 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/1.915, allocations: 4 kB / 1.131 GB, free: 103 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002916/1.915, allocations: 40.83 kB / 1.131 GB, free: 103 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000311/1.915, allocations: 71.89 kB / 1.131 GB, free: 102.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001245/1.917, allocations: 1.449 MB / 1.132 GB, free: 101.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003751/1.917, allocations: 51.77 kB / 1.133 GB, free: 101.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.86e-05/1.917, allocations: 12 kB / 1.133 GB, free: 101.3 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * 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 0.0002077/1.917, allocations: 157.7 kB / 1.133 GB, free: 101.1 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001194/1.918, allocations: 43.56 kB / 1.133 GB, free: 101.1 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001067/1.919, allocations: 0.548 MB / 1.133 GB, free: 100.5 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.377e-06/1.919, allocations: 12 kB / 1.133 GB, free: 100.5 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/1.919, allocations: 0 / 1.133 GB, free: 100.5 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/1.919, allocations: 3.984 kB / 1.133 GB, free: 100.5 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001562/1.92, allocations: 1.089 MB / 1.134 GB, free: 99.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/1.92, allocations: 0 / 1.134 GB, free: 99.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002746/1.921, allocations: 67.89 kB / 1.134 GB, free: 99.26 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001545/1.921, allocations: 44.81 kB / 1.134 GB, free: 99.21 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.404e-05/1.921, allocations: 8 kB / 1.134 GB, free: 99.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009771/1.922, allocations: 1.437 MB / 1.136 GB, free: 97.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/1.922, allocations: 0 / 1.136 GB, free: 97.64 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001248/1.923, allocations: 0.795 MB / 1.137 GB, free: 96.81 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/1.923, allocations: 116.5 kB / 1.137 GB, free: 96.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.226e-05/1.923, allocations: 8 kB / 1.137 GB, free: 96.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002755/1.923, allocations: 31.88 kB / 1.137 GB, free: 96.64 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/1.924, allocations: 44 kB / 1.137 GB, free: 96.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.087e-05/1.924, allocations: 19.92 kB / 1.137 GB, free: 96.58 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001673/1.924, allocations: 190 kB / 1.137 GB, free: 96.39 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.01e-07/1.924, allocations: 0 / 1.137 GB, free: 96.39 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007655/1.925, allocations: 187.8 kB / 1.137 GB, free: 96.21 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (checkValve.rear.m_flow) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001879/1.926, allocations: 1.632 MB / 1.139 GB, free: 94.54 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001037/1.928, allocations: 0.5717 MB / 1.139 GB, free: 93.94 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/1.928, allocations: 0 / 1.139 GB, free: 93.94 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004998/1.928, allocations: 352.2 kB / 1.14 GB, free: 93.59 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006752/1.929, allocations: 108.5 kB / 1.14 GB, free: 93.48 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003728/1.932, allocations: 3.067 MB / 1.143 GB, free: 90.34 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002534/1.933, allocations: 0.8044 MB / 1.144 GB, free: 89.51 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002878/1.933, allocations: 71.02 kB / 1.144 GB, free: 89.44 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001766/1.933, allocations: 139.4 kB / 1.144 GB, free: 89.3 MB / 0.6198 GB Notification: Performance of SimCode: time 1.282e-06/1.933, allocations: 0 / 1.144 GB, free: 89.3 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02955/1.963, allocations: 12.61 MB / 1.156 GB, free: 76.93 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001734/1.963, allocations: 218.2 kB / 1.156 GB, free: 76.68 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.493/4.456, allocations: 0 / 1.156 GB, free: 76.68 MB / 0.6198 GB (rm -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Undirected_FlowControl_Tests_CheckValve_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Undirected_FlowControl_Tests_CheckValve.fmu > ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve_res.mat does not exist to compare? outputFormat=mat