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.001493/0.001493, allocations: 81.86 kB / 19.87 MB, free: 4.621 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.00173/0.00173, allocations: 169.7 kB / 23.27 MB, free: 1.219 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.038/1.038, allocations: 177.1 MB / 203.7 MB, free: 5.496 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.6518/0.6518, allocations: 118.6 MB / 378.9 MB, free: 1.41 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.824e-06/1.824e-06, allocations: 0 / 484 MB, free: 8.09 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.927e-05/3.109e-05, allocations: 6.312 kB / 484.1 MB, free: 8.082 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.03595/0.03598, allocations: 28.27 MB / 0.5003 GB, free: 4.004 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0043/0.04028, allocations: 2.493 MB / 0.5027 GB, free: 1.652 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004788/0.04076, allocations: 35.69 kB / 0.5028 GB, free: 1.617 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003961/0.04115, allocations: 138.8 kB / 0.5029 GB, free: 1.48 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009135/0.04207, allocations: 440.8 kB / 0.5033 GB, free: 1.047 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001094/0.04316, allocations: 0.4981 MB / 0.5038 GB, free: 0.5469 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001174/0.04434, allocations: 1.034 MB / 0.5048 GB, free: 15.5 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002326/0.04457, allocations: 106.2 kB / 0.5049 GB, free: 15.4 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.02277/0.06733, allocations: 12.74 MB / 0.5174 GB, free: 2.562 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004514/0.06779, allocations: 371 kB / 0.5177 GB, free: 2.199 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 7.566e-05/0.06786, allocations: 56 kB / 0.5178 GB, free: 2.145 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0051/0.07296, allocations: 3.526 MB / 0.5212 GB, free: 14.59 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001544/0.07312, allocations: 163.3 kB / 0.5214 GB, free: 14.43 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002591/0.07338, allocations: 235.4 kB / 0.5216 GB, free: 14.2 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001175/0.07455, allocations: 0.8487 MB / 0.5224 GB, free: 13.34 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.07456, allocations: 0 / 0.5224 GB, free: 13.34 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.07456, allocations: 0 / 0.5224 GB, free: 13.34 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.07457, allocations: 0 / 0.5224 GB, free: 13.34 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.001278/0.07584, allocations: 1.102 MB / 0.5235 GB, free: 12.2 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.07588, allocations: 8.031 kB / 0.5235 GB, free: 12.2 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002358/0.07612, allocations: 144.3 kB / 0.5237 GB, free: 12.05 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000594/0.07671, allocations: 490 kB / 0.5241 GB, free: 11.55 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000107/0.07682, allocations: 148.3 kB / 0.5243 GB, free: 11.38 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.028e-05/0.07689, allocations: 52.33 kB / 0.5243 GB, free: 11.33 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005012/0.07739, allocations: 487.1 kB / 0.5248 GB, free: 10.81 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.0774, allocations: 0 / 0.5248 GB, free: 10.81 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001032/0.07751, allocations: 20 kB / 0.5248 GB, free: 10.79 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.139e-05/0.07754, allocations: 24.98 kB / 0.5248 GB, free: 10.77 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002789/0.07782, allocations: 234.7 kB / 0.525 GB, free: 10.54 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001989/0.07981, allocations: 1.764 MB / 0.5268 GB, free: 8.73 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00065/0.08046, allocations: 466 kB / 0.5272 GB, free: 8.262 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001934/0.08065, allocations: 167.7 kB / 0.5274 GB, free: 8.098 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006831/0.08133, allocations: 333.3 kB / 0.5277 GB, free: 7.777 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.08136, allocations: 45.89 kB / 0.5277 GB, free: 7.723 MB / 458.7 MB Notification: Performance of pre-optimization done (n=63): time 2.265e-06/0.08136, allocations: 4 kB / 0.5277 GB, free: 7.719 MB / 458.7 MB Notification: Performance of matching and sorting (n=65): time 0.001886/0.08325, allocations: 1.154 MB / 0.5289 GB, free: 6.527 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.915e-05/0.08328, allocations: 56.06 kB / 0.5289 GB, free: 6.461 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002979/0.08358, allocations: 422.5 kB / 0.5293 GB, free: 6.035 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.578e-05/0.08361, allocations: 37.7 kB / 0.5294 GB, free: 5.992 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001763/0.08379, allocations: 312.1 kB / 0.5297 GB, free: 5.68 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001423/0.08393, allocations: 233.9 kB / 0.5299 GB, free: 5.449 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001545/0.08409, allocations: 123.9 kB / 0.53 GB, free: 5.32 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004282/0.08451, allocations: 0.5467 MB / 0.5305 GB, free: 4.762 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003186/0.0877, allocations: 97.17 kB / 0.5306 GB, free: 4.668 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002136/0.08791, allocations: 177.2 kB / 0.5308 GB, free: 4.469 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004102/0.08832, allocations: 310.8 kB / 0.5311 GB, free: 4.141 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.08833, allocations: 0 / 0.5311 GB, free: 4.141 MB / 458.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008578/0.08918, allocations: 0.5353 MB / 0.5316 GB, free: 3.594 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.0892, allocations: 7.938 kB / 0.5316 GB, free: 3.586 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/0.08921, allocations: 4 kB / 0.5316 GB, free: 3.582 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002957/0.08951, allocations: 114.6 kB / 0.5317 GB, free: 3.469 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003119/0.08982, allocations: 107.8 kB / 0.5318 GB, free: 3.363 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004892/0.09471, allocations: 2.466 MB / 0.5342 GB, free: 0.7891 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002317/0.09495, allocations: 15.98 kB / 0.5343 GB, free: 0.7734 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.375e-05/0.09499, allocations: 28.02 kB / 0.5343 GB, free: 0.7461 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.0001901/0.09518, allocations: 184.5 kB / 0.5345 GB, free: 0.5547 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001869/0.09537, allocations: 103.5 kB / 0.5346 GB, free: 464 kB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009833/0.09635, allocations: 0.6783 MB / 0.5352 GB, free: 15.76 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.09636, allocations: 7.984 kB / 0.5352 GB, free: 15.75 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.09636, allocations: 8 kB / 0.5352 GB, free: 15.74 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.09637, allocations: 3.938 kB / 0.5352 GB, free: 15.74 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00454/0.1009, allocations: 1.087 MB / 0.5363 GB, free: 14.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.219e-05/0.1009, allocations: 7.984 kB / 0.5363 GB, free: 14.59 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002951/0.1012, allocations: 95.86 kB / 0.5364 GB, free: 14.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002785/0.1015, allocations: 119.7 kB / 0.5365 GB, free: 14.38 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.909e-05/0.1015, allocations: 19.98 kB / 0.5365 GB, free: 14.36 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004981/0.1065, allocations: 2.482 MB / 0.539 GB, free: 11.77 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.1065, allocations: 0 / 0.539 GB, free: 11.77 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/0.1077, allocations: 0.8114 MB / 0.5397 GB, free: 10.92 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002003/0.1079, allocations: 115.4 kB / 0.5399 GB, free: 10.81 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.471e-05/0.1079, allocations: 20 kB / 0.5399 GB, free: 10.79 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002053/0.1081, allocations: 12 kB / 0.5399 GB, free: 10.78 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.969e-05/0.1082, allocations: 52.39 kB / 0.5399 GB, free: 10.73 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.751e-05/0.1082, allocations: 23.98 kB / 0.54 GB, free: 10.7 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001932/0.1084, allocations: 278.7 kB / 0.5402 GB, free: 10.43 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1084, allocations: 0 / 0.5402 GB, free: 10.43 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003744/0.1122, allocations: 247.5 kB / 0.5405 GB, free: 10.19 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.0003554/0.1125, allocations: 250.6 kB / 0.5407 GB, free: 9.93 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0008571/0.1134, allocations: 0.6485 MB / 0.5413 GB, free: 9.242 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.1134, allocations: 7.938 kB / 0.5413 GB, free: 9.234 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005476/0.1139, allocations: 0.5089 MB / 0.5418 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.003906/0.1178, allocations: 249 kB / 0.5421 GB, free: 8.465 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002112/0.12, allocations: 1.215 MB / 0.5433 GB, free: 7.199 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001443/0.1201, allocations: 159.7 kB / 0.5434 GB, free: 7.023 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003343/0.1234, allocations: 104.2 kB / 0.5435 GB, free: 6.922 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004526/0.1239, allocations: 266 kB / 0.5438 GB, free: 6.66 MB / 474.7 MB Notification: Performance of SimCode: time 1.352e-06/0.1239, allocations: 4 kB / 0.5438 GB, free: 6.656 MB / 474.7 MB Notification: Performance of Templates: time 0.0176/0.1415, allocations: 13.83 MB / 0.5573 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: 3.9572374932467937]