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.001106/0.001106, allocations: 73.88 kB / 20.65 MB, free: 3.848 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.001496/0.001496, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.9852/0.9852, allocations: 177.1 MB / 204.5 MB, free: 5.527 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.6749/0.6749, allocations: 118.7 MB / 379.7 MB, free: 1.355 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 2.564e-06/2.564e-06, allocations: 0 / 484.8 MB, free: 8.145 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.965e-05/4.222e-05, allocations: 3.844 kB / 484.8 MB, free: 8.141 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.02568/0.02572, allocations: 28.27 MB / 0.5011 GB, free: 4.027 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.00245/0.02817, allocations: 2.497 MB / 0.5035 GB, free: 1.621 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002653/0.02843, allocations: 31.69 kB / 0.5035 GB, free: 1.59 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003488/0.02878, allocations: 130.8 kB / 0.5037 GB, free: 1.461 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007271/0.02951, allocations: 448.8 kB / 0.5041 GB, free: 1.02 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008478/0.03036, allocations: 0.4941 MB / 0.5046 GB, free: 0.5234 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007147/0.03107, allocations: 1.034 MB / 0.5056 GB, free: 15.48 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001811/0.03125, allocations: 102.2 kB / 0.5057 GB, free: 15.39 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.02234/0.05359, allocations: 12.74 MB / 0.5181 GB, free: 2.543 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000528/0.05412, allocations: 371 kB / 0.5185 GB, free: 2.18 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 6.796e-05/0.05419, allocations: 52 kB / 0.5185 GB, free: 2.129 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006523/0.06071, allocations: 3.53 MB / 0.522 GB, free: 14.57 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001595/0.06087, allocations: 167.4 kB / 0.5221 GB, free: 14.4 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002683/0.06114, allocations: 239.3 kB / 0.5224 GB, free: 14.17 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001098/0.06223, allocations: 0.8487 MB / 0.5232 GB, free: 13.32 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.06224, allocations: 0 / 0.5232 GB, free: 13.32 MB / 458.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.06224, allocations: 0 / 0.5232 GB, free: 13.32 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.06225, allocations: 0 / 0.5232 GB, free: 13.32 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.001314/0.06356, allocations: 1.094 MB / 0.5243 GB, free: 12.18 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.0636, allocations: 15.97 kB / 0.5243 GB, free: 12.17 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002252/0.06383, allocations: 140.3 kB / 0.5244 GB, free: 12.03 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005353/0.06436, allocations: 494 kB / 0.5249 GB, free: 11.52 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001058/0.06447, allocations: 148.4 kB / 0.525 GB, free: 11.35 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.988e-05/0.06454, allocations: 48.31 kB / 0.5251 GB, free: 11.3 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000542/0.06508, allocations: 483.2 kB / 0.5255 GB, free: 10.79 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/0.0651, allocations: 4 kB / 0.5255 GB, free: 10.79 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.524e-05/0.06513, allocations: 16 kB / 0.5256 GB, free: 10.77 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.765e-05/0.06517, allocations: 20.98 kB / 0.5256 GB, free: 10.75 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003105/0.06548, allocations: 246.7 kB / 0.5258 GB, free: 10.51 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002122/0.0676, allocations: 1.76 MB / 0.5275 GB, free: 8.707 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007211/0.06832, allocations: 466 kB / 0.528 GB, free: 8.238 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002127/0.06854, allocations: 171.7 kB / 0.5281 GB, free: 8.07 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007747/0.06931, allocations: 316.2 kB / 0.5284 GB, free: 7.762 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.06934, allocations: 41.89 kB / 0.5285 GB, free: 7.711 MB / 458.7 MB Notification: Performance of pre-optimization done (n=63): time 2.755e-06/0.06934, allocations: 3.938 kB / 0.5285 GB, free: 7.707 MB / 458.7 MB Notification: Performance of matching and sorting (n=65): time 0.001818/0.07116, allocations: 1.158 MB / 0.5296 GB, free: 6.512 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/0.07119, allocations: 60.06 kB / 0.5297 GB, free: 6.441 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000236/0.07143, allocations: 418.5 kB / 0.5301 GB, free: 6.02 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.481e-05/0.07146, allocations: 33.7 kB / 0.5301 GB, free: 5.98 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001604/0.07162, allocations: 312.2 kB / 0.5304 GB, free: 5.668 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001318/0.07175, allocations: 241.9 kB / 0.5306 GB, free: 5.43 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000131/0.07188, allocations: 119.9 kB / 0.5308 GB, free: 5.305 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.07203, allocations: 0.5468 MB / 0.5313 GB, free: 4.746 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.07216, allocations: 89.22 kB / 0.5314 GB, free: 4.66 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001735/0.07233, allocations: 189.2 kB / 0.5315 GB, free: 4.449 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000338/0.07267, allocations: 310.7 kB / 0.5318 GB, free: 4.121 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.07267, allocations: 0 / 0.5318 GB, free: 4.121 MB / 458.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0006884/0.07336, allocations: 0.5352 MB / 0.5324 GB, free: 3.574 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.07338, allocations: 8 kB / 0.5324 GB, free: 3.566 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.07339, allocations: 7.984 kB / 0.5324 GB, free: 3.559 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002634/0.07365, allocations: 115 kB / 0.5325 GB, free: 3.445 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002661/0.07392, allocations: 107.9 kB / 0.5326 GB, free: 3.34 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001699/0.07562, allocations: 2.469 MB / 0.535 GB, free: 0.7656 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001706/0.07579, allocations: 16 kB / 0.535 GB, free: 0.75 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.586e-05/0.07583, allocations: 23.98 kB / 0.535 GB, free: 0.7266 MB / 458.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.0001584/0.07598, allocations: 176.5 kB / 0.5352 GB, free: 0.543 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001509/0.07613, allocations: 103.5 kB / 0.5353 GB, free: 452 kB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000886/0.07702, allocations: 0.6885 MB / 0.536 GB, free: 15.73 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.07703, allocations: 4 kB / 0.536 GB, free: 15.73 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.07703, allocations: 4 kB / 0.536 GB, free: 15.72 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.07704, allocations: 7.922 kB / 0.536 GB, free: 15.71 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001275/0.07831, allocations: 1.087 MB / 0.5371 GB, free: 14.58 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/0.07832, allocations: 4 kB / 0.5371 GB, free: 14.58 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002519/0.07857, allocations: 99.8 kB / 0.5372 GB, free: 14.48 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002435/0.07882, allocations: 119.7 kB / 0.5373 GB, free: 14.36 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.518e-05/0.07885, allocations: 27.97 kB / 0.5373 GB, free: 14.33 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001487/0.08034, allocations: 2.473 MB / 0.5397 GB, free: 11.75 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.08034, allocations: 3.938 kB / 0.5397 GB, free: 11.75 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009073/0.08125, allocations: 0.8114 MB / 0.5405 GB, free: 10.9 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001449/0.08139, allocations: 111.4 kB / 0.5406 GB, free: 10.79 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.113e-05/0.08144, allocations: 16 kB / 0.5406 GB, free: 10.78 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/0.08161, allocations: 15.98 kB / 0.5406 GB, free: 10.76 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.906e-05/0.08167, allocations: 48.41 kB / 0.5407 GB, free: 10.71 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.054e-05/0.0817, allocations: 19.98 kB / 0.5407 GB, free: 10.7 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002886/0.08199, allocations: 282.7 kB / 0.541 GB, free: 10.42 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/0.08199, allocations: 4 kB / 0.541 GB, free: 10.41 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0005742/0.08256, allocations: 251.5 kB / 0.5412 GB, free: 10.17 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.000316/0.08288, allocations: 242.6 kB / 0.5415 GB, free: 9.918 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0007166/0.0836, allocations: 0.6448 MB / 0.5421 GB, free: 9.234 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.0836, allocations: 0 / 0.5421 GB, free: 9.234 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004392/0.08404, allocations: 0.5088 MB / 0.5426 GB, free: 8.691 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007057/0.08474, allocations: 249.8 kB / 0.5428 GB, free: 8.453 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001657/0.0864, allocations: 1.223 MB / 0.544 GB, free: 7.184 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001018/0.0865, allocations: 155.7 kB / 0.5442 GB, free: 7.012 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002466/0.08675, allocations: 102.7 kB / 0.5443 GB, free: 6.91 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003703/0.08712, allocations: 262 kB / 0.5445 GB, free: 6.652 MB / 474.7 MB Notification: Performance of SimCode: time 7.61e-07/0.08712, allocations: 0 / 0.5445 GB, free: 6.652 MB / 474.7 MB Notification: Performance of Templates: time 0.0161/0.1032, allocations: 14.09 MB / 0.5583 GB, free: 8.863 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: 3.9605605942197144]