Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.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.0008896/0.0008896, allocations: 80.88 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.0009175/0.0009175, 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.8757/0.8757, 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.619/0.619, allocations: 118.7 MB / 378.9 MB, free: 1.348 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.Compressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|compressor1.m_flow|compressor1.omega|compressor1.phi|source.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor") translateModel(ThermofluidStream.Processes.Tests.Compressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|compressor1.m_flow|compressor1.omega|compressor1.phi|source.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 430.8 MB, free: 13.36 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.676e-06/1.003e-05, allocations: 2.312 kB / 430.8 MB, free: 13.36 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.1665/0.1665, allocations: 28.54 MB / 459.3 MB, free: 11.77 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002054/0.1686, allocations: 2.555 MB / 461.9 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002211/0.1688, allocations: 33 kB / 461.9 MB, free: 10.25 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003021/0.1691, allocations: 134.1 kB / 462.1 MB, free: 10.16 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006279/0.1697, allocations: 443 kB / 462.5 MB, free: 9.801 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007143/0.1704, allocations: 0.4884 MB / 463 MB, free: 9.434 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006054/0.171, allocations: 1.046 MB / 464 MB, free: 8.801 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001624/0.1712, allocations: 117 kB / 464.1 MB, free: 8.73 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/Media/myMedia/Water/IF97_Utilities.mo:901:9-901:73:writable] Warning: Output parameter bpro.cv was not assigned a value [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/Media/myMedia/Water/IF97_Utilities.mo:938:9-938:73:writable] Warning: Output parameter bpro.cv was not assigned a value [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/Media/myMedia/Water/IF97_Utilities.mo:901:9-901:73:writable] Warning: Output parameter bpro.cv was not assigned a value [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/Media/myMedia/Water/IF97_Utilities.mo:938:9-938:73:writable] Warning: Output parameter bpro.cv was not assigned a value Notification: Performance of NFEvalConstants.evaluate: time 0.0158/0.187, allocations: 12.77 MB / 476.9 MB, free: 13.34 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003711/0.1874, allocations: 363 kB / 477.3 MB, free: 12.98 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 6.015e-05/0.1874, allocations: 56 kB / 477.3 MB, free: 12.93 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00467/0.1921, allocations: 3.539 MB / 480.9 MB, free: 9.352 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.1922, allocations: 175.3 kB / 481 MB, free: 9.18 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001667/0.1924, allocations: 227.4 kB / 481.3 MB, free: 8.957 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000757/0.1931, allocations: 0.8487 MB / 482.1 MB, free: 8.105 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.1931, allocations: 0 / 482.1 MB, free: 8.105 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1931, allocations: 3.938 kB / 482.1 MB, free: 8.102 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.1931, allocations: 0 / 482.1 MB, free: 8.102 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001217/0.1943, allocations: 0.958 MB / 483.1 MB, free: 7.117 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.008e-05/0.1944, allocations: 8.031 kB / 483.1 MB, free: 7.109 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001694/0.1945, allocations: 116.7 kB / 483.2 MB, free: 6.996 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004759/0.195, allocations: 440.9 kB / 483.6 MB, free: 6.539 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.793e-05/0.1951, allocations: 148.4 kB / 483.8 MB, free: 6.371 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.104e-05/0.1952, allocations: 52.31 kB / 483.8 MB, free: 6.32 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004543/0.1956, allocations: 478.9 kB / 484.3 MB, free: 5.82 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.1956, allocations: 3.938 kB / 484.3 MB, free: 5.816 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.97e-05/0.1957, allocations: 20 kB / 484.3 MB, free: 5.797 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.643e-05/0.1957, allocations: 21 kB / 484.3 MB, free: 5.777 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002766/0.196, allocations: 217.6 kB / 484.5 MB, free: 5.562 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001617/0.1976, allocations: 1.329 MB / 485.9 MB, free: 4.211 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008265/0.1984, allocations: 416.4 kB / 486.3 MB, free: 3.801 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001795/0.1986, allocations: 150.6 kB / 486.4 MB, free: 3.648 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006584/0.1992, allocations: 316.2 kB / 486.7 MB, free: 3.336 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.1993, allocations: 44.75 kB / 486.8 MB, free: 3.285 MB / 426.7 MB Notification: Performance of pre-optimization done (n=63): time 2.064e-06/0.1993, allocations: 0 / 486.8 MB, free: 3.285 MB / 426.7 MB Notification: Performance of matching and sorting (n=65): time 0.001475/0.2007, allocations: 1.014 MB / 487.8 MB, free: 2.238 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.336e-05/0.2008, allocations: 60.06 kB / 487.8 MB, free: 2.168 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001938/0.201, allocations: 363.3 kB / 488.2 MB, free: 1.801 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.433e-05/0.201, allocations: 37.7 kB / 488.2 MB, free: 1.758 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.963e-05/0.2011, allocations: 202.7 kB / 488.4 MB, free: 1.555 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.2012, allocations: 237.9 kB / 488.7 MB, free: 1.32 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.2013, allocations: 118.2 kB / 488.8 MB, free: 1.199 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.009e-05/0.2014, allocations: 374.6 kB / 489.1 MB, free: 0.8242 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.2015, allocations: 69.27 kB / 489.2 MB, free: 0.7578 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001423/0.2016, allocations: 148.3 kB / 489.4 MB, free: 0.5938 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002798/0.2019, allocations: 272.5 kB / 489.6 MB, free: 316 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.2019, allocations: 8 kB / 489.6 MB, free: 308 kB / 426.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0005108/0.2024, allocations: 412.7 kB / 490 MB, free: 15.89 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/0.2024, allocations: 8 kB / 490 MB, free: 15.88 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.2025, allocations: 4 kB / 490 MB, free: 15.88 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00022/0.2027, allocations: 111.5 kB / 490.2 MB, free: 15.76 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002386/0.2029, allocations: 101.4 kB / 490.3 MB, free: 15.66 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001169/0.2041, allocations: 1.828 MB / 492.1 MB, free: 13.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001365/0.2042, allocations: 12 kB / 492.1 MB, free: 13.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.634e-05/0.2043, allocations: 24.92 kB / 492.1 MB, free: 13.71 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (56): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001253/0.2044, allocations: 148.6 kB / 492.3 MB, free: 13.55 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.2045, allocations: 71.88 kB / 492.3 MB, free: 13.48 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006585/0.2051, allocations: 0.5617 MB / 492.9 MB, free: 12.91 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.2052, allocations: 8 kB / 492.9 MB, free: 12.9 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.2052, allocations: 4 kB / 492.9 MB, free: 12.89 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.2052, allocations: 7.922 kB / 492.9 MB, free: 12.89 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001213/0.2064, allocations: 0.8416 MB / 493.8 MB, free: 12.01 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.2064, allocations: 8.094 kB / 493.8 MB, free: 12 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002315/0.2066, allocations: 101 kB / 493.9 MB, free: 11.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002053/0.2068, allocations: 108.3 kB / 494 MB, free: 11.8 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.931e-05/0.2068, allocations: 19.97 kB / 494 MB, free: 11.78 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001114/0.208, allocations: 1.829 MB / 495.8 MB, free: 9.863 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.208, allocations: 4 kB / 495.8 MB, free: 9.859 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006963/0.2087, allocations: 0.6485 MB / 496.5 MB, free: 9.176 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/0.2088, allocations: 75.58 kB / 496.5 MB, free: 9.102 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.491e-05/0.2088, allocations: 19.94 kB / 496.6 MB, free: 9.082 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/0.209, allocations: 15.98 kB / 496.6 MB, free: 9.07 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.373e-05/0.209, allocations: 52.39 kB / 496.6 MB, free: 9.02 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.654e-05/0.2091, allocations: 19.98 kB / 496.7 MB, free: 9 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000112/0.2092, allocations: 172.4 kB / 496.8 MB, free: 8.828 MB / 442.7 MB Notification: Performance of sort global known variables: time 3e-08/0.2092, allocations: 0 / 496.8 MB, free: 8.828 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004422/0.2096, allocations: 247.5 kB / 497.1 MB, free: 8.586 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (compressor1.m_flow,compressor1.phi,compressor1.omega,splitterN.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 (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000271/0.2099, allocations: 226.4 kB / 497.3 MB, free: 8.355 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005892/0.2105, allocations: 0.5503 MB / 497.8 MB, free: 7.781 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/0.2105, allocations: 4 kB / 497.8 MB, free: 7.777 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003705/0.2108, allocations: 448 kB / 498.3 MB, free: 7.312 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005637/0.2114, allocations: 249.6 kB / 498.5 MB, free: 7.09 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001446/0.2129, allocations: 1.15 MB / 499.7 MB, free: 5.898 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.957e-05/0.2129, allocations: 147.7 kB / 499.8 MB, free: 5.734 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002246/0.2132, allocations: 111.8 kB / 499.9 MB, free: 5.633 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003465/0.2135, allocations: 225.1 kB / 0.4884 GB, free: 5.414 MB / 442.7 MB Notification: Performance of SimCode: time 4.21e-07/0.2135, allocations: 4 kB / 0.4884 GB, free: 5.41 MB / 442.7 MB Notification: Performance of Templates: time 0.01475/0.2283, allocations: 13.83 MB / 0.5019 GB, free: 7.934 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.sim & ./ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.Compressor_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.3866963242180645]