Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.0008728/0.0008728, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009122/0.0009122, allocations: 173 kB / 23.36 MB, free: 1.129 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.8645/0.8645, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.6278/0.6278, allocations: 118.6 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 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.Compressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|compressor1.m_flow|compressor1.omega|compressor1.phi|source.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_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_dev_ThermofluidStream.Processes.Tests.Compressor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 430.8 MB, free: 13.36 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.598e-06/1.07e-05, allocations: 6.25 kB / 430.8 MB, free: 13.35 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.1559/0.1559, allocations: 28.54 MB / 459.3 MB, free: 11.78 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002074/0.158, allocations: 2.548 MB / 461.9 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000217/0.1582, allocations: 36.38 kB / 461.9 MB, free: 10.25 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002863/0.1585, allocations: 146.7 kB / 462.1 MB, free: 10.13 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006136/0.1591, allocations: 440.5 kB / 462.5 MB, free: 9.77 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007057/0.1598, allocations: 496.8 kB / 463 MB, free: 9.406 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005991/0.1604, allocations: 1.052 MB / 464 MB, free: 8.77 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001586/0.1606, allocations: 108.4 kB / 464.1 MB, free: 8.703 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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 main/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 main/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 main/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.01543/0.176, allocations: 12.77 MB / 476.9 MB, free: 13.29 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003813/0.1764, allocations: 371 kB / 477.3 MB, free: 12.92 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 5.985e-05/0.1765, allocations: 52 kB / 477.3 MB, free: 12.87 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004776/0.1812, allocations: 3.543 MB / 480.9 MB, free: 9.293 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.1814, allocations: 163.3 kB / 481 MB, free: 9.133 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001709/0.1815, allocations: 235.4 kB / 481.2 MB, free: 8.902 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007512/0.1823, allocations: 0.8409 MB / 482.1 MB, free: 8.059 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.1823, allocations: 4 kB / 482.1 MB, free: 8.055 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.1823, allocations: 3.938 kB / 482.1 MB, free: 8.051 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.139e-06/0.1823, allocations: 0 / 482.1 MB, free: 8.051 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.001098/0.1834, allocations: 0.9541 MB / 483 MB, free: 7.07 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.86e-05/0.1834, allocations: 12.03 kB / 483.1 MB, free: 7.059 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001651/0.1836, allocations: 116.7 kB / 483.2 MB, free: 6.945 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004805/0.1841, allocations: 443.3 kB / 483.6 MB, free: 6.484 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.705e-05/0.1841, allocations: 144.4 kB / 483.7 MB, free: 6.32 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.314e-05/0.1842, allocations: 48.33 kB / 483.8 MB, free: 6.273 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004594/0.1847, allocations: 482.9 kB / 484.3 MB, free: 5.77 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.1847, allocations: 3.938 kB / 484.3 MB, free: 5.766 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.099e-05/0.1847, allocations: 16 kB / 484.3 MB, free: 5.75 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.732e-05/0.1847, allocations: 25.56 kB / 484.3 MB, free: 5.727 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002912/0.185, allocations: 213.6 kB / 484.5 MB, free: 5.516 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001636/0.1867, allocations: 1.331 MB / 485.8 MB, free: 4.16 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006232/0.1873, allocations: 418.2 kB / 486.3 MB, free: 3.75 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001788/0.1875, allocations: 142.6 kB / 486.4 MB, free: 3.605 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006672/0.1881, allocations: 329.6 kB / 486.7 MB, free: 3.285 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.1882, allocations: 39.06 kB / 486.8 MB, free: 3.234 MB / 426.7 MB Notification: Performance of pre-optimization done (n=63): time 1.913e-06/0.1882, allocations: 0 / 486.8 MB, free: 3.234 MB / 426.7 MB Notification: Performance of matching and sorting (n=65): time 0.001543/0.1897, allocations: 1.017 MB / 487.8 MB, free: 2.184 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.249e-05/0.1897, allocations: 56.06 kB / 487.8 MB, free: 2.117 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001983/0.1899, allocations: 359.3 kB / 488.2 MB, free: 1.754 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.381e-05/0.19, allocations: 37.7 kB / 488.2 MB, free: 1.711 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.175e-05/0.19, allocations: 206.7 kB / 488.4 MB, free: 1.504 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.1901, allocations: 233.9 kB / 488.6 MB, free: 1.273 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/0.1903, allocations: 118.2 kB / 488.8 MB, free: 1.152 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.2e-05/0.1904, allocations: 374.6 kB / 489.1 MB, free: 0.7773 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.1905, allocations: 73.27 kB / 489.2 MB, free: 0.707 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001378/0.1906, allocations: 148.3 kB / 489.3 MB, free: 0.543 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002821/0.1909, allocations: 276.5 kB / 489.6 MB, free: 264 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1909, allocations: 3.938 kB / 489.6 MB, free: 260 kB / 426.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0005137/0.1914, allocations: 412.7 kB / 490 MB, free: 15.84 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.1914, allocations: 10.03 kB / 490 MB, free: 15.83 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.1914, allocations: 9.438 kB / 490 MB, free: 15.82 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000222/0.1916, allocations: 103.6 kB / 490.1 MB, free: 15.72 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002495/0.1919, allocations: 107.9 kB / 490.2 MB, free: 15.61 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001182/0.1931, allocations: 1.825 MB / 492.1 MB, free: 13.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001391/0.1932, allocations: 12.75 kB / 492.1 MB, free: 13.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.24e-05/0.1932, allocations: 23.98 kB / 492.1 MB, free: 13.66 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.0001277/0.1934, allocations: 148.5 kB / 492.3 MB, free: 13.5 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.1935, allocations: 75.88 kB / 492.3 MB, free: 13.43 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006621/0.1941, allocations: 0.5579 MB / 492.9 MB, free: 12.85 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.1942, allocations: 8 kB / 492.9 MB, free: 12.84 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.1942, allocations: 7.922 kB / 492.9 MB, free: 12.84 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.1942, allocations: 4 kB / 492.9 MB, free: 12.83 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009995/0.1952, allocations: 0.8465 MB / 493.8 MB, free: 11.95 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/0.1952, allocations: 8.5 kB / 493.8 MB, free: 11.95 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002311/0.1954, allocations: 95.81 kB / 493.9 MB, free: 11.85 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002034/0.1956, allocations: 106.2 kB / 494 MB, free: 11.75 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.169e-05/0.1956, allocations: 23.97 kB / 494 MB, free: 11.72 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001331/0.197, allocations: 1.833 MB / 495.8 MB, free: 9.809 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.197, allocations: 0 / 495.8 MB, free: 9.809 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007039/0.1977, allocations: 0.6532 MB / 496.5 MB, free: 9.121 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/0.1978, allocations: 79.56 kB / 496.5 MB, free: 9.043 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.469e-05/0.1978, allocations: 15.94 kB / 496.6 MB, free: 9.027 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.198, allocations: 16 kB / 496.6 MB, free: 9.012 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.618e-05/0.1981, allocations: 52.39 kB / 496.6 MB, free: 8.961 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.733e-05/0.1981, allocations: 19.98 kB / 496.6 MB, free: 8.941 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001107/0.1982, allocations: 168.4 kB / 496.8 MB, free: 8.773 MB / 442.7 MB Notification: Performance of sort global known variables: time 3e-08/0.1982, allocations: 0 / 496.8 MB, free: 8.773 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004398/0.1986, allocations: 251.5 kB / 497.1 MB, free: 8.527 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.1989, allocations: 226 kB / 497.3 MB, free: 8.297 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005867/0.1995, allocations: 0.5464 MB / 497.8 MB, free: 7.727 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.259e-06/0.1995, allocations: 4.125 kB / 497.8 MB, free: 7.723 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003798/0.1999, allocations: 451.8 kB / 498.3 MB, free: 7.254 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005656/0.2004, allocations: 251.8 kB / 498.5 MB, free: 7.031 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001444/0.2019, allocations: 1.146 MB / 499.7 MB, free: 5.844 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.95e-05/0.202, allocations: 151.7 kB / 499.8 MB, free: 5.676 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002155/0.2022, allocations: 106.5 kB / 499.9 MB, free: 5.582 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000347/0.2025, allocations: 229.1 kB / 0.4884 GB, free: 5.359 MB / 442.7 MB Notification: Performance of SimCode: time 5.81e-07/0.2025, allocations: 0 / 0.4884 GB, free: 5.359 MB / 442.7 MB Notification: Performance of Templates: time 0.01477/0.2173, allocations: 13.83 MB / 0.5019 GB, free: 7.883 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.sim & ./ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_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.342242931947112]