Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.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: translateModel(ThermofluidStream.FlowControl.Tests.TanValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|tanValve.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve") translateModel(ThermofluidStream.FlowControl.Tests.TanValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|tanValve.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002081/0.002081, allocations: 175.9 kB / 7.46 MB, free: 2.488 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.047/1.047, allocations: 221.4 MB / 229.3 MB, free: 3.125 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.0008462/0.0008462, allocations: 98.12 kB / 280.1 MB, free: 1.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo): time 0.007182/0.007182, allocations: 1.563 MB / 332.5 MB, free: 12.89 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.3891/0.3891, allocations: 90.05 MB / 473.7 MB, free: 7.266 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 5.751e-06/5.771e-06, allocations: 0 / 0.5369 GB, free: 14.32 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1035, allocations: 69.35 MB / 0.6046 GB, free: 8.871 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6607/0.7642, allocations: 437 MB / 1.031 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001523/0.7644, allocations: 78.16 kB / 1.031 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of FrontEnd: time 0.5549/1.319, allocations: 208.5 MB / 1.235 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.796e-05/1.319, allocations: 20 kB / 1.235 GB, free: 59.89 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: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.002173/1.322, allocations: 1.154 MB / 1.236 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/1.322, allocations: 8.031 kB / 1.236 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002488/1.322, allocations: 94.88 kB / 1.236 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007991/1.323, allocations: 0.5089 MB / 1.237 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.691e-05/1.323, allocations: 20 kB / 1.237 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/1.323, allocations: 47.91 kB / 1.237 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007658/1.324, allocations: 0.5623 MB / 1.237 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007547/1.324, allocations: 0.5345 MB / 1.238 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/1.324, allocations: 0 / 1.238 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.382e-05/1.325, allocations: 4 kB / 1.238 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.64e-05/1.325, allocations: 16 kB / 1.238 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002503/1.327, allocations: 3.047 MB / 1.241 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008244/1.328, allocations: 0.5443 MB / 1.241 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002729/1.328, allocations: 271.1 kB / 1.242 GB, free: 52.69 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004284/1.329, allocations: 0.9898 MB / 1.243 GB, free: 51.48 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.513e-05/1.329, allocations: 47 kB / 1.243 GB, free: 51.43 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=60): time 2.094e-06/1.329, allocations: 0 / 1.243 GB, free: 51.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=61): time 0.003201/1.332, allocations: 1.365 MB / 1.244 GB, free: 50 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.917e-05/1.332, allocations: 63.91 kB / 1.244 GB, free: 49.93 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000281/1.332, allocations: 337.3 kB / 1.244 GB, free: 49.59 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.973e-05/1.332, allocations: 25.7 kB / 1.244 GB, free: 49.56 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.717e-05/1.332, allocations: 260.2 kB / 1.245 GB, free: 49.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.018e-05/1.332, allocations: 201 kB / 1.245 GB, free: 49.1 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.041e-05/1.332, allocations: 3.938 kB / 1.245 GB, free: 49.1 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.267e-05/1.332, allocations: 370.8 kB / 1.245 GB, free: 48.73 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002247/1.333, allocations: 185.1 kB / 1.245 GB, free: 48.55 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002103/1.333, allocations: 192.2 kB / 1.246 GB, free: 48.36 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006039/1.334, allocations: 206.9 kB / 1.246 GB, free: 48.16 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/1.334, allocations: 0 / 1.246 GB, free: 48.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001203/1.335, allocations: 0.6398 MB / 1.246 GB, free: 47.52 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/1.335, allocations: 7.906 kB / 1.246 GB, free: 47.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/1.335, allocations: 0 / 1.246 GB, free: 47.51 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003515/1.335, allocations: 104.8 kB / 1.247 GB, free: 47.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003475/1.335, allocations: 99.81 kB / 1.247 GB, free: 47.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00154/1.337, allocations: 1.832 MB / 1.248 GB, free: 45.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003279/1.337, allocations: 39.88 kB / 1.248 GB, free: 45.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.924e-05/1.337, allocations: 19.98 kB / 1.248 GB, free: 45.3 MB / 0.6042 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 9.047e-05/1.338, allocations: 108.9 kB / 1.249 GB, free: 45.19 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.677e-05/1.338, allocations: 63.25 kB / 1.249 GB, free: 45.12 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001608/1.339, allocations: 0.8028 MB / 1.249 GB, free: 44.31 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/1.339, allocations: 8 kB / 1.249 GB, free: 44.3 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/1.339, allocations: 4 kB / 1.249 GB, free: 44.3 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/1.339, allocations: 7.984 kB / 1.249 GB, free: 44.29 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002202/1.341, allocations: 1.498 MB / 1.251 GB, free: 42.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/1.341, allocations: 0 / 1.251 GB, free: 42.76 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003557/1.342, allocations: 111.8 kB / 1.251 GB, free: 42.65 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003012/1.342, allocations: 112.8 kB / 1.251 GB, free: 42.54 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.195e-05/1.342, allocations: 23.97 kB / 1.251 GB, free: 42.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001391/1.344, allocations: 1.839 MB / 1.253 GB, free: 40.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/1.344, allocations: 4 kB / 1.253 GB, free: 40.55 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001523/1.345, allocations: 1.071 MB / 1.254 GB, free: 39.46 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.193e-05/1.345, allocations: 132.3 kB / 1.254 GB, free: 39.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.187e-05/1.345, allocations: 4 kB / 1.254 GB, free: 39.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003173/1.346, allocations: 35.94 kB / 1.254 GB, free: 39.27 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.508e-05/1.346, allocations: 40.59 kB / 1.254 GB, free: 39.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.608e-05/1.346, allocations: 23.98 kB / 1.254 GB, free: 39.21 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0001862/1.346, allocations: 263 kB / 1.254 GB, free: 38.96 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007937/1.347, allocations: 359.7 kB / 1.255 GB, free: 38.61 MB / 0.6042 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.0008407/1.348, allocations: 0.8113 MB / 1.256 GB, free: 37.85 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000842/1.348, allocations: 0.662 MB / 1.256 GB, free: 37.17 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/1.348, allocations: 0 / 1.256 GB, free: 37.17 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005503/1.349, allocations: 477.7 kB / 1.257 GB, free: 36.69 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006937/1.35, allocations: 162.2 kB / 1.257 GB, free: 36.53 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/1.351, allocations: 0.9561 MB / 1.258 GB, free: 35.54 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003893/1.352, allocations: 1.027 MB / 1.259 GB, free: 34.49 MB / 0.6042 GB Notification: Performance of SimCode: time 2.51e-07/1.352, allocations: 0 / 1.259 GB, free: 34.49 MB / 0.6042 GB Notification: Performance of Templates: time 0.01798/1.37, allocations: 15.11 MB / 1.274 GB, free: 19.53 MB / 0.6042 GB make -j1 -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.makefile (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.sim & ./ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.TanValve_ref.mat","../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches