Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConductionElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 181 kB / 23.35 MB, free: 1.137 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8954/0.8954, allocations: 177.1 MB / 203.8 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.641/0.641, allocations: 118.6 MB / 378.9 MB, free: 1.324 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Processes.Tests.ConductionElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|conductionElement.h|conductionElement1.deltaE_system|conductionElement1.h|conductionElement1.inlet.m_flow|conductionElement2.h|conductionElement2.inlet.m_flow|conductionElement3.deltaE_system|conductionElement3.h|conductionElement4.h|sink.inlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConductionElement") translateModel(ThermofluidStream.Processes.Tests.ConductionElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|conductionElement.h|conductionElement1.deltaE_system|conductionElement1.h|conductionElement1.inlet.m_flow|conductionElement2.h|conductionElement2.inlet.m_flow|conductionElement3.deltaE_system|conductionElement3.h|conductionElement4.h|sink.inlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConductionElement") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 430.8 MB, free: 13.32 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.378e-06/1.063e-05, allocations: 2.312 kB / 430.8 MB, free: 13.31 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConductionElement): time 0.00924/0.009251, allocations: 11.75 MB / 442.6 MB, free: 1.504 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1559/0.1651, allocations: 2.438 MB / 445 MB, free: 16.35 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009085/0.1661, allocations: 118.3 kB / 445.1 MB, free: 16.35 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005767/0.1666, allocations: 339.2 kB / 445.5 MB, free: 16.35 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002559/0.1692, allocations: 1.64 MB / 447.1 MB, free: 16.12 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000789/0.17, allocations: 0.557 MB / 447.6 MB, free: 16.1 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001915/0.1719, allocations: 2.733 MB / 450.4 MB, free: 15.36 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004201/0.1723, allocations: 364 kB / 450.7 MB, free: 15.23 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001957/0.1743, allocations: 1.765 MB / 452.5 MB, free: 15.08 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007719/0.175, allocations: 0.7915 MB / 453.3 MB, free: 14.93 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001688/0.1752, allocations: 138.2 kB / 453.4 MB, free: 14.93 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001256/0.1765, allocations: 1.177 MB / 454.6 MB, free: 14.78 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001959/0.1767, allocations: 376.8 kB / 455 MB, free: 14.55 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004622/0.1771, allocations: 0.5936 MB / 455.6 MB, free: 14.3 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001219/0.1783, allocations: 1.83 MB / 457.4 MB, free: 13.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.1783, allocations: 0 / 457.4 MB, free: 13.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.1783, allocations: 2.844 kB / 457.4 MB, free: 13.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.593e-05/0.1784, allocations: 0 / 457.4 MB, free: 13.36 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 302 * Number of variables: 302 Notification: Performance of Generate backend data structure: time 0.001793/0.1802, allocations: 2.131 MB / 459.5 MB, free: 12.01 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.485e-05/0.1802, allocations: 12.09 kB / 459.5 MB, free: 12.01 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001104/0.1813, allocations: 490.3 kB / 460 MB, free: 11.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001033/0.1823, allocations: 1.033 MB / 461.1 MB, free: 11.23 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.861e-05/0.1824, allocations: 90.64 kB / 461.1 MB, free: 11.19 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/0.1825, allocations: 135.5 kB / 461.3 MB, free: 11.12 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009158/0.1834, allocations: 1.06 MB / 462.3 MB, free: 10.03 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.1834, allocations: 0 / 462.3 MB, free: 10.03 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.045e-05/0.1835, allocations: 52 kB / 462.4 MB, free: 9.977 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.375e-05/0.1835, allocations: 48.11 kB / 462.4 MB, free: 9.93 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006359/0.1841, allocations: 434.9 kB / 462.9 MB, free: 9.508 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002919/0.1871, allocations: 3.033 MB / 465.9 MB, free: 6.566 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006945/0.1877, allocations: 0.5031 MB / 466.4 MB, free: 6.09 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002704/0.188, allocations: 268.1 kB / 466.7 MB, free: 5.836 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001442/0.1882, allocations: 83.77 kB / 466.7 MB, free: 5.762 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.74e-05/0.1882, allocations: 47.55 kB / 466.8 MB, free: 5.707 MB / 410.7 MB Notification: Performance of pre-optimization done (n=100): time 2.195e-06/0.1882, allocations: 4 kB / 466.8 MB, free: 5.703 MB / 410.7 MB Notification: Performance of matching and sorting (n=103): time 0.002432/0.1906, allocations: 1.787 MB / 468.6 MB, free: 3.902 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.551e-05/0.1906, allocations: 60.41 kB / 468.6 MB, free: 3.828 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003955/0.191, allocations: 0.8886 MB / 469.5 MB, free: 3.105 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.388e-05/0.1911, allocations: 45.7 kB / 469.6 MB, free: 3.055 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001408/0.1912, allocations: 0.5278 MB / 470.1 MB, free: 2.578 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001155/0.1913, allocations: 386.3 kB / 470.5 MB, free: 2.223 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001573/0.1915, allocations: 199.3 kB / 470.7 MB, free: 2.043 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.531e-05/0.1915, allocations: 350.4 kB / 471 MB, free: 1.715 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001544/0.1917, allocations: 126.6 kB / 471.1 MB, free: 1.594 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001976/0.1919, allocations: 300 kB / 471.4 MB, free: 1.273 MB / 410.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement.deltaE_system = $START.conductionElement.deltaE_system (0.0 = $START.conductionElement.deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement2.deltaE_system = $START.conductionElement2.deltaE_system (0.0 = $START.conductionElement2.deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement4.deltaE_system = $START.conductionElement4.deltaE_system (0.0 = $START.conductionElement4.deltaE_system) Notification: Performance of analyzeInitialSystem (initialization): time 0.0004649/0.1923, allocations: 0.5448 MB / 472 MB, free: 0.707 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1923, allocations: 4 kB / 472 MB, free: 0.7031 MB / 410.7 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.0007386/0.1931, allocations: 0.7276 MB / 472.7 MB, free: 15.96 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.1931, allocations: 8 kB / 472.7 MB, free: 15.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.1931, allocations: 4 kB / 472.7 MB, free: 15.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004077/0.1935, allocations: 201.2 kB / 472.9 MB, free: 15.76 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004363/0.1939, allocations: 220.7 kB / 473.1 MB, free: 15.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002283/0.1962, allocations: 4.368 MB / 477.5 MB, free: 10.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002797/0.1965, allocations: 31.98 kB / 477.5 MB, free: 10.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.664e-05/0.1966, allocations: 43.92 kB / 477.6 MB, free: 10.89 MB / 426.7 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: conductionElement.deltaE_system = $START.conductionElement.deltaE_system conductionElement2.deltaE_system = $START.conductionElement2.deltaE_system conductionElement4.deltaE_system = $START.conductionElement4.deltaE_system. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (4,14,75.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002214/0.1968, allocations: 174.9 kB / 477.7 MB, free: 10.71 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001456/0.1969, allocations: 123.8 kB / 477.9 MB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00108/0.198, allocations: 0.9319 MB / 478.8 MB, free: 9.672 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.198, allocations: 12 kB / 478.8 MB, free: 9.66 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.198, allocations: 7.938 kB / 478.8 MB, free: 9.652 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.198, allocations: 11.91 kB / 478.8 MB, free: 9.641 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002/0.2, allocations: 1.641 MB / 480.5 MB, free: 8.066 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.2, allocations: 4.344 kB / 480.5 MB, free: 8.062 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004058/0.2004, allocations: 179.7 kB / 480.6 MB, free: 7.887 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003922/0.2008, allocations: 219.9 kB / 480.9 MB, free: 7.672 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.396e-05/0.2009, allocations: 39.97 kB / 480.9 MB, free: 7.633 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002218/0.2031, allocations: 4.379 MB / 485.3 MB, free: 3.047 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2031, allocations: 3.938 kB / 485.3 MB, free: 3.043 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.2042, allocations: 1.061 MB / 486.3 MB, free: 1.949 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002289/0.2044, allocations: 163 kB / 486.5 MB, free: 1.789 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.096e-05/0.2045, allocations: 28 kB / 486.5 MB, free: 1.762 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002867/0.2048, allocations: 39.97 kB / 486.6 MB, free: 1.723 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.2049, allocations: 92.7 kB / 486.7 MB, free: 1.633 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.98e-05/0.205, allocations: 43.95 kB / 486.7 MB, free: 1.59 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002922/0.2053, allocations: 454.6 kB / 487.1 MB, free: 1.199 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2053, allocations: 0 / 487.1 MB, free: 1.199 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007089/0.206, allocations: 451.7 kB / 487.6 MB, free: 0.7578 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 12 (conductionElement.h,conductionElement1.inlet.m_flow,conductionElement1.h,conductionElement1.deltaE_system,conductionElement2.inlet.m_flow,conductionElement2.h,splitterX.splitterN.inlet.m_flow,conductionElement3.inlet.m_flow,conductionElement3.h,conductionElement3.deltaE_system,conductionElement4.h,flowResistance.inlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(4,14,75.0%), (1,3,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003323/0.2063, allocations: 276.1 kB / 487.9 MB, free: 500 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009461/0.2072, allocations: 1.005 MB / 488.9 MB, free: 15.47 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.14e-05/0.2073, allocations: 12 kB / 488.9 MB, free: 15.46 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006229/0.2079, allocations: 0.782 MB / 489.7 MB, free: 14.65 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00116/0.209, allocations: 0.5578 MB / 490.2 MB, free: 14.14 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00288/0.2119, allocations: 2.66 MB / 492.9 MB, free: 11.43 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002108/0.2121, allocations: 282.2 kB / 493.1 MB, free: 11.12 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005526/0.2127, allocations: 331.6 kB / 493.5 MB, free: 10.82 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00074/0.2134, allocations: 451.4 kB / 493.9 MB, free: 10.39 MB / 442.7 MB Notification: Performance of SimCode: time 6.31e-07/0.2134, allocations: 0 / 493.9 MB, free: 10.39 MB / 442.7 MB Notification: Performance of Templates: time 0.02914/0.2426, allocations: 27.04 MB / 0.5087 GB, free: 15.97 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConductionElement.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConductionElement.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConductionElement.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConductionElement.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConductionElement.sim & ./ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConductionElement -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConductionElement.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConductionElement_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.ConductionElement_ref.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.8885575169697404]