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.001386/0.001386, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001611/0.001611, allocations: 169 kB / 23.02 MB, free: 1.551 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 1.02/1.02, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.7104/0.7104, allocations: 118.7 MB / 378.6 MB, free: 1.512 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.763e-06/1.763e-06, allocations: 0 / 483.6 MB, free: 8.246 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.108e-05/3.284e-05, allocations: 5.125 kB / 483.6 MB, free: 8.242 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.02727/0.02731, allocations: 28.71 MB / 0.5003 GB, free: 3.793 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002624/0.02993, allocations: 2.516 MB / 0.5028 GB, free: 1.418 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002688/0.0302, allocations: 31.69 kB / 0.5028 GB, free: 1.387 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003627/0.03056, allocations: 138.8 kB / 0.5029 GB, free: 1.25 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007239/0.03128, allocations: 448.8 kB / 0.5034 GB, free: 0.8086 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008386/0.03212, allocations: 0.4942 MB / 0.5038 GB, free: 320 kB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007298/0.03285, allocations: 1.038 MB / 0.5049 GB, free: 15.27 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001868/0.03304, allocations: 106.2 kB / 0.505 GB, free: 15.17 MB / 442.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.02021/0.05325, allocations: 12.73 MB / 0.5174 GB, free: 2.34 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000402/0.05365, allocations: 363 kB / 0.5177 GB, free: 1.984 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 6.322e-05/0.05371, allocations: 52 kB / 0.5178 GB, free: 1.934 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005042/0.05875, allocations: 3.534 MB / 0.5212 GB, free: 14.37 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.05887, allocations: 159.4 kB / 0.5214 GB, free: 14.21 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001892/0.05906, allocations: 235.4 kB / 0.5216 GB, free: 13.98 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009661/0.06003, allocations: 0.8526 MB / 0.5224 GB, free: 13.12 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.06003, allocations: 4 kB / 0.5224 GB, free: 13.12 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.06003, allocations: 0 / 0.5224 GB, free: 13.12 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.296e-06/0.06004, allocations: 3.938 kB / 0.5225 GB, free: 13.12 MB / 458.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.001318/0.06136, allocations: 1.102 MB / 0.5235 GB, free: 11.98 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.06139, allocations: 8.031 kB / 0.5235 GB, free: 11.97 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002214/0.06161, allocations: 140.3 kB / 0.5237 GB, free: 11.83 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005417/0.06216, allocations: 0.4941 MB / 0.5242 GB, free: 11.31 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.156e-05/0.06225, allocations: 144.4 kB / 0.5243 GB, free: 11.14 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.562e-05/0.06231, allocations: 52.33 kB / 0.5243 GB, free: 11.09 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006135/0.06293, allocations: 0.5188 MB / 0.5248 GB, free: 10.54 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.06294, allocations: 0 / 0.5248 GB, free: 10.54 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.31e-05/0.06297, allocations: 16 kB / 0.5249 GB, free: 10.52 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.35e-05/0.06301, allocations: 20.98 kB / 0.5249 GB, free: 10.5 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004377/0.06345, allocations: 313.7 kB / 0.5252 GB, free: 10.19 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002016/0.06546, allocations: 1.853 MB / 0.527 GB, free: 8.285 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008073/0.06627, allocations: 498 kB / 0.5275 GB, free: 7.785 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002814/0.06655, allocations: 191.7 kB / 0.5276 GB, free: 7.598 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007383/0.06729, allocations: 328.2 kB / 0.528 GB, free: 7.277 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.06732, allocations: 41.89 kB / 0.528 GB, free: 7.227 MB / 458.7 MB Notification: Performance of pre-optimization done (n=63): time 1.623e-06/0.06732, allocations: 0 / 0.528 GB, free: 7.227 MB / 458.7 MB Notification: Performance of matching and sorting (n=65): time 0.002038/0.06935, allocations: 1.36 MB / 0.5293 GB, free: 5.828 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.656e-05/0.06938, allocations: 56.06 kB / 0.5294 GB, free: 5.762 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002702/0.06965, allocations: 430.6 kB / 0.5298 GB, free: 5.328 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.584e-05/0.06969, allocations: 37.7 kB / 0.5298 GB, free: 5.285 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.06982, allocations: 300.3 kB / 0.5301 GB, free: 4.984 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001183/0.06994, allocations: 237.9 kB / 0.5303 GB, free: 4.75 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/0.07007, allocations: 120 kB / 0.5305 GB, free: 4.625 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.07021, allocations: 0.543 MB / 0.531 GB, free: 4.07 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001894/0.0704, allocations: 109.2 kB / 0.5311 GB, free: 3.965 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002317/0.07063, allocations: 209.2 kB / 0.5313 GB, free: 3.734 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004469/0.07108, allocations: 358.8 kB / 0.5316 GB, free: 3.359 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.07108, allocations: 0 / 0.5316 GB, free: 3.359 MB / 458.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.000788/0.07187, allocations: 0.5939 MB / 0.5322 GB, free: 2.754 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.07188, allocations: 8 kB / 0.5322 GB, free: 2.746 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.0719, allocations: 4 kB / 0.5322 GB, free: 2.742 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002759/0.07217, allocations: 107.7 kB / 0.5323 GB, free: 2.633 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000257/0.07243, allocations: 115.8 kB / 0.5324 GB, free: 2.52 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0016/0.07403, allocations: 2.539 MB / 0.5349 GB, free: 15.87 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001445/0.07417, allocations: 15.98 kB / 0.5349 GB, free: 15.85 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.626e-05/0.07421, allocations: 31.98 kB / 0.535 GB, free: 15.82 MB / 474.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.0001347/0.07434, allocations: 184.4 kB / 0.5351 GB, free: 15.63 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001322/0.07448, allocations: 99.5 kB / 0.5352 GB, free: 15.53 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009205/0.0754, allocations: 0.7283 MB / 0.5359 GB, free: 14.79 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.982e-06/0.0754, allocations: 11.94 kB / 0.536 GB, free: 14.77 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.07541, allocations: 4 kB / 0.536 GB, free: 14.77 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.07541, allocations: 3.984 kB / 0.536 GB, free: 14.77 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001367/0.07678, allocations: 1.211 MB / 0.5371 GB, free: 13.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/0.07679, allocations: 8 kB / 0.5372 GB, free: 13.49 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002373/0.07703, allocations: 99.86 kB / 0.5373 GB, free: 13.39 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002403/0.07727, allocations: 119.7 kB / 0.5374 GB, free: 13.27 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.611e-05/0.0773, allocations: 27.92 kB / 0.5374 GB, free: 13.24 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001475/0.07878, allocations: 2.539 MB / 0.5399 GB, free: 10.59 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.07878, allocations: 7.938 kB / 0.5399 GB, free: 10.58 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.0798, allocations: 0.8895 MB / 0.5407 GB, free: 9.66 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001399/0.07994, allocations: 107.5 kB / 0.5409 GB, free: 9.555 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.082e-05/0.07998, allocations: 12 kB / 0.5409 GB, free: 9.543 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001583/0.08014, allocations: 19.98 kB / 0.5409 GB, free: 9.523 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.183e-05/0.0802, allocations: 52.34 kB / 0.5409 GB, free: 9.473 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.994e-05/0.08023, allocations: 27.97 kB / 0.541 GB, free: 9.445 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001786/0.08041, allocations: 298.8 kB / 0.5412 GB, free: 9.152 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.08041, allocations: 0 / 0.5412 GB, free: 9.152 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0004833/0.08089, allocations: 247.5 kB / 0.5415 GB, free: 8.91 MB / 474.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.0003049/0.08119, allocations: 242.7 kB / 0.5417 GB, free: 8.66 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0008581/0.08205, allocations: 0.6876 MB / 0.5424 GB, free: 7.934 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.08205, allocations: 0 / 0.5424 GB, free: 7.934 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004992/0.08255, allocations: 0.5361 MB / 0.5429 GB, free: 7.363 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006599/0.08321, allocations: 243.3 kB / 0.5431 GB, free: 7.129 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001698/0.08491, allocations: 1.247 MB / 0.5444 GB, free: 5.832 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.63e-05/0.08501, allocations: 155.7 kB / 0.5445 GB, free: 5.66 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002331/0.08524, allocations: 124.2 kB / 0.5446 GB, free: 5.539 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001209/0.08536, allocations: 72.45 kB / 0.5447 GB, free: 5.469 MB / 474.7 MB Notification: Performance of SimCode: time 6.31e-07/0.08536, allocations: 0 / 0.5447 GB, free: 5.469 MB / 474.7 MB Notification: Performance of Templates: time 0.01409/0.09945, allocations: 12.66 MB / 0.5571 GB, free: 9.09 MB / 490.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: 4.178880095947534]