Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.001288/0.001288, 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.001431/0.001431, allocations: 181 kB / 23.36 MB, free: 1.133 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.8802/0.8802, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo): time 0.6338/0.6338, allocations: 118.7 MB / 378.9 MB, free: 1.332 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/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_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_ThermofluidStream.Processes.Tests.ConductionElement") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 430.8 MB, free: 13.33 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.113e-05/1.246e-05, allocations: 6.312 kB / 430.8 MB, free: 13.32 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConductionElement): time 0.01033/0.01034, allocations: 11.76 MB / 442.6 MB, free: 1.508 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1423/0.1526, allocations: 2.44 MB / 445 MB, free: 16.33 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008211/0.1534, allocations: 123.2 kB / 445.1 MB, free: 16.33 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005196/0.154, allocations: 329.1 kB / 445.5 MB, free: 16.33 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002373/0.1563, allocations: 1.642 MB / 447.1 MB, free: 16.09 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006486/0.157, allocations: 0.5535 MB / 447.6 MB, free: 16.08 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001449/0.1584, allocations: 2.74 MB / 450.4 MB, free: 15.33 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003609/0.1588, allocations: 357.8 kB / 450.7 MB, free: 15.21 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001523/0.1603, allocations: 1.77 MB / 452.5 MB, free: 15.06 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006267/0.1609, allocations: 0.7885 MB / 453.3 MB, free: 14.94 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001411/0.1611, allocations: 138 kB / 453.4 MB, free: 14.94 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001078/0.1622, allocations: 1.176 MB / 454.6 MB, free: 14.79 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001806/0.1623, allocations: 378.4 kB / 455 MB, free: 14.57 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003904/0.1627, allocations: 0.5945 MB / 455.6 MB, free: 14.32 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001096/0.1638, allocations: 1.834 MB / 457.4 MB, free: 13.37 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.1638, allocations: 0 / 457.4 MB, free: 13.37 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.1638, allocations: 0 / 457.4 MB, free: 13.37 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.349e-05/0.1638, allocations: 0 / 457.4 MB, free: 13.37 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.001745/0.1656, allocations: 2.129 MB / 459.5 MB, free: 12.02 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.51e-05/0.1656, allocations: 10.06 kB / 459.5 MB, free: 12.02 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001087/0.1667, allocations: 492.4 kB / 460 MB, free: 11.81 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/0.1677, allocations: 1.041 MB / 461.1 MB, free: 11.24 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.862e-05/0.1678, allocations: 89.83 kB / 461.2 MB, free: 11.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/0.1679, allocations: 128 kB / 461.3 MB, free: 11.13 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009093/0.1688, allocations: 1.063 MB / 462.3 MB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/0.1688, allocations: 0 / 462.3 MB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.507e-05/0.1688, allocations: 48 kB / 462.4 MB, free: 9.992 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.45e-05/0.1689, allocations: 53.95 kB / 462.4 MB, free: 9.941 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006368/0.1695, allocations: 432.5 kB / 462.9 MB, free: 9.52 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002854/0.1724, allocations: 3.034 MB / 465.9 MB, free: 6.578 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006887/0.1731, allocations: 0.4987 MB / 466.4 MB, free: 6.105 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002716/0.1733, allocations: 266.5 kB / 466.7 MB, free: 5.852 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001413/0.1735, allocations: 82.42 kB / 466.7 MB, free: 5.777 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/0.1735, allocations: 49.06 kB / 466.8 MB, free: 5.723 MB / 410.7 MB Notification: Performance of pre-optimization done (n=100): time 2.375e-06/0.1735, allocations: 1.547 kB / 466.8 MB, free: 5.723 MB / 410.7 MB Notification: Performance of matching and sorting (n=103): time 0.002412/0.1759, allocations: 1.792 MB / 468.6 MB, free: 3.918 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.565e-05/0.1759, allocations: 64.39 kB / 468.6 MB, free: 3.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003975/0.1763, allocations: 0.8888 MB / 469.5 MB, free: 3.117 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.219e-05/0.1764, allocations: 45.64 kB / 469.6 MB, free: 3.066 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/0.1765, allocations: 0.5268 MB / 470.1 MB, free: 2.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.1766, allocations: 387.3 kB / 470.5 MB, free: 2.234 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001535/0.1768, allocations: 195.7 kB / 470.7 MB, free: 2.059 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.24e-05/0.1768, allocations: 351.6 kB / 471 MB, free: 1.73 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001583/0.177, allocations: 130.5 kB / 471.1 MB, free: 1.605 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001948/0.1772, allocations: 293.7 kB / 471.4 MB, free: 1.289 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.0004653/0.1776, allocations: 0.5454 MB / 472 MB, free: 0.7227 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.1776, allocations: 4 kB / 472 MB, free: 0.7188 MB / 410.7 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.0007385/0.1784, allocations: 0.7224 MB / 472.7 MB, free: 15.98 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.1784, allocations: 9.719 kB / 472.7 MB, free: 15.97 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.1784, allocations: 5.25 kB / 472.7 MB, free: 15.97 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004089/0.1788, allocations: 209.8 kB / 472.9 MB, free: 15.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004428/0.1792, allocations: 219.7 kB / 473.1 MB, free: 15.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002337/0.1816, allocations: 4.364 MB / 477.5 MB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002748/0.1818, allocations: 35.98 kB / 477.5 MB, free: 10.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.01e-05/0.1819, allocations: 44.59 kB / 477.6 MB, free: 10.9 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.0002253/0.1821, allocations: 169.1 kB / 477.7 MB, free: 10.72 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001457/0.1823, allocations: 127.8 kB / 477.9 MB, free: 10.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001095/0.1834, allocations: 0.931 MB / 478.8 MB, free: 9.68 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.1834, allocations: 12 kB / 478.8 MB, free: 9.668 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.1834, allocations: 4 kB / 478.8 MB, free: 9.664 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.046e-06/0.1834, allocations: 7.922 kB / 478.8 MB, free: 9.656 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002023/0.1854, allocations: 1.647 MB / 480.5 MB, free: 8.082 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.1854, allocations: 4 kB / 480.5 MB, free: 8.078 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004093/0.1858, allocations: 183.7 kB / 480.7 MB, free: 7.898 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000398/0.1862, allocations: 216.6 kB / 480.9 MB, free: 7.688 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.348e-05/0.1863, allocations: 35.97 kB / 480.9 MB, free: 7.652 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002291/0.1886, allocations: 4.378 MB / 485.3 MB, free: 3.062 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.1886, allocations: 0 / 485.3 MB, free: 3.062 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001116/0.1897, allocations: 1.067 MB / 486.3 MB, free: 1.961 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002292/0.1899, allocations: 161.2 kB / 486.5 MB, free: 1.805 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.144e-05/0.19, allocations: 31.98 kB / 486.5 MB, free: 1.773 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002862/0.1903, allocations: 39.3 kB / 486.6 MB, free: 1.738 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.1904, allocations: 100.6 kB / 486.7 MB, free: 1.641 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.855e-05/0.1905, allocations: 39.97 kB / 486.7 MB, free: 1.602 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002955/0.1907, allocations: 449.6 kB / 487.1 MB, free: 1.215 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1907, allocations: 0 / 487.1 MB, free: 1.215 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007101/0.1915, allocations: 455.7 kB / 487.6 MB, free: 0.7695 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.0003313/0.1918, allocations: 276.4 kB / 487.9 MB, free: 0.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009477/0.1927, allocations: 1.001 MB / 488.9 MB, free: 15.48 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.154e-05/0.1927, allocations: 16.44 kB / 488.9 MB, free: 15.46 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006289/0.1934, allocations: 0.782 MB / 489.7 MB, free: 14.66 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001149/0.1945, allocations: 0.5507 MB / 490.2 MB, free: 14.16 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002863/0.1974, allocations: 2.662 MB / 492.9 MB, free: 11.45 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001972/0.1976, allocations: 286.2 kB / 493.2 MB, free: 11.14 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005369/0.1981, allocations: 330.2 kB / 493.5 MB, free: 10.84 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007436/0.1989, allocations: 443.6 kB / 493.9 MB, free: 10.41 MB / 442.7 MB Notification: Performance of SimCode: time 5.31e-07/0.1989, allocations: 3.938 kB / 493.9 MB, free: 10.4 MB / 442.7 MB Notification: Performance of Templates: time 0.0286/0.2275, allocations: 27.05 MB / 0.5088 GB, free: 15.98 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.sim & ./ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_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.7383377151563764]