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.001024/0.001024, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.0009617/0.0009617, allocations: 169.7 kB / 23.27 MB, free: 1.223 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.9467/0.9467, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.6756/0.6756, allocations: 118.6 MB / 378.9 MB, free: 1.383 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.793e-06/1.793e-06, allocations: 0 / 484 MB, free: 8.156 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.473e-05/2.652e-05, allocations: 2.312 kB / 484.1 MB, free: 8.152 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.02874/0.02876, allocations: 28.28 MB / 0.5003 GB, free: 4.031 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002542/0.03131, allocations: 2.487 MB / 0.5028 GB, free: 1.625 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003481/0.03165, allocations: 35.69 kB / 0.5028 GB, free: 1.59 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004019/0.03206, allocations: 134.8 kB / 0.5029 GB, free: 1.457 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007203/0.03278, allocations: 448.8 kB / 0.5033 GB, free: 1.016 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000817/0.03359, allocations: 0.4942 MB / 0.5038 GB, free: 0.5195 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001051/0.03464, allocations: 1.038 MB / 0.5048 GB, free: 15.48 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001818/0.03483, allocations: 98.27 kB / 0.5049 GB, free: 15.38 MB / 442.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.02132/0.05615, allocations: 12.74 MB / 0.5174 GB, free: 2.539 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005654/0.05671, allocations: 371 kB / 0.5177 GB, free: 2.176 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 7.766e-05/0.05679, allocations: 56 kB / 0.5178 GB, free: 2.121 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004552/0.06134, allocations: 3.538 MB / 0.5212 GB, free: 14.55 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001194/0.06146, allocations: 163.3 kB / 0.5214 GB, free: 14.39 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001864/0.06165, allocations: 227.4 kB / 0.5216 GB, free: 14.17 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001025/0.06268, allocations: 0.8526 MB / 0.5224 GB, free: 13.31 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.06268, allocations: 0 / 0.5224 GB, free: 13.31 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.06268, allocations: 0 / 0.5224 GB, free: 13.31 MB / 458.7 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.06269, allocations: 0 / 0.5224 GB, free: 13.31 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.001274/0.06396, allocations: 1.098 MB / 0.5235 GB, free: 12.18 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.064, allocations: 8.031 kB / 0.5235 GB, free: 12.17 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002063/0.06421, allocations: 140.3 kB / 0.5237 GB, free: 12.03 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005303/0.06474, allocations: 498 kB / 0.5241 GB, free: 11.52 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.48e-05/0.06483, allocations: 144.4 kB / 0.5243 GB, free: 11.35 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.522e-05/0.0649, allocations: 52.31 kB / 0.5243 GB, free: 11.3 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005018/0.0654, allocations: 491.1 kB / 0.5248 GB, free: 10.78 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.06541, allocations: 0 / 0.5248 GB, free: 10.78 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.947e-05/0.06544, allocations: 16 kB / 0.5248 GB, free: 10.77 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.994e-05/0.06547, allocations: 21 kB / 0.5248 GB, free: 10.75 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003093/0.06578, allocations: 242.7 kB / 0.5251 GB, free: 10.51 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001891/0.06767, allocations: 1.756 MB / 0.5268 GB, free: 8.707 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006723/0.06835, allocations: 462 kB / 0.5272 GB, free: 8.242 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002152/0.06856, allocations: 174 kB / 0.5274 GB, free: 8.07 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007033/0.06926, allocations: 329.9 kB / 0.5277 GB, free: 7.75 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.06929, allocations: 41.89 kB / 0.5277 GB, free: 7.699 MB / 458.7 MB Notification: Performance of pre-optimization done (n=63): time 1.763e-06/0.06929, allocations: 0 / 0.5277 GB, free: 7.699 MB / 458.7 MB Notification: Performance of matching and sorting (n=65): time 0.001618/0.07091, allocations: 1.158 MB / 0.5289 GB, free: 6.504 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/0.07094, allocations: 56.06 kB / 0.5289 GB, free: 6.438 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002541/0.07119, allocations: 418.5 kB / 0.5293 GB, free: 6.016 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.651e-05/0.07123, allocations: 37.7 kB / 0.5294 GB, free: 5.973 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/0.07139, allocations: 312.1 kB / 0.5296 GB, free: 5.66 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001413/0.07153, allocations: 233.9 kB / 0.5299 GB, free: 5.43 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001284/0.07166, allocations: 123.9 kB / 0.53 GB, free: 5.301 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.07184, allocations: 0.5429 MB / 0.5305 GB, free: 4.746 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/0.07197, allocations: 93.22 kB / 0.5306 GB, free: 4.656 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001759/0.07214, allocations: 189.1 kB / 0.5308 GB, free: 4.445 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003247/0.07247, allocations: 310.8 kB / 0.5311 GB, free: 4.117 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.07247, allocations: 0 / 0.5311 GB, free: 4.117 MB / 458.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0006338/0.0731, allocations: 0.5314 MB / 0.5316 GB, free: 3.574 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.07312, allocations: 7.938 kB / 0.5316 GB, free: 3.566 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.07313, allocations: 7.984 kB / 0.5316 GB, free: 3.559 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000239/0.07337, allocations: 103.1 kB / 0.5317 GB, free: 3.457 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000249/0.07362, allocations: 111.9 kB / 0.5318 GB, free: 3.348 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001593/0.07521, allocations: 2.476 MB / 0.5342 GB, free: 0.7617 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001508/0.07536, allocations: 16 kB / 0.5343 GB, free: 0.7461 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.095e-05/0.0754, allocations: 23.98 kB / 0.5343 GB, free: 0.7227 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.0001398/0.07554, allocations: 180.5 kB / 0.5345 GB, free: 0.5352 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/0.07567, allocations: 103.5 kB / 0.5346 GB, free: 444 kB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008287/0.0765, allocations: 0.6867 MB / 0.5352 GB, free: 15.73 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.313e-06/0.07651, allocations: 8 kB / 0.5352 GB, free: 15.72 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.07651, allocations: 4 kB / 0.5352 GB, free: 15.72 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/0.07652, allocations: 7.922 kB / 0.5352 GB, free: 15.71 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001817/0.07834, allocations: 1.087 MB / 0.5363 GB, free: 14.57 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.615e-05/0.07836, allocations: 4 kB / 0.5363 GB, free: 14.57 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003594/0.07872, allocations: 91.88 kB / 0.5364 GB, free: 14.48 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003272/0.07904, allocations: 123.4 kB / 0.5365 GB, free: 14.36 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.995e-05/0.07909, allocations: 23.98 kB / 0.5365 GB, free: 14.34 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002014/0.08111, allocations: 2.479 MB / 0.539 GB, free: 11.74 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/0.08111, allocations: 4 kB / 0.539 GB, free: 11.74 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001303/0.08241, allocations: 0.8192 MB / 0.5398 GB, free: 10.89 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002009/0.08261, allocations: 107.5 kB / 0.5399 GB, free: 10.78 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.522e-05/0.08268, allocations: 12 kB / 0.5399 GB, free: 10.77 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002585/0.08294, allocations: 15.98 kB / 0.5399 GB, free: 10.75 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.844e-05/0.08303, allocations: 56.34 kB / 0.5399 GB, free: 10.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.5e-05/0.08307, allocations: 19.98 kB / 0.54 GB, free: 10.68 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002241/0.0833, allocations: 282.7 kB / 0.5402 GB, free: 10.4 MB / 474.7 MB Notification: Performance of sort global known variables: time 1e-07/0.0833, allocations: 0 / 0.5402 GB, free: 10.4 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0007651/0.08406, allocations: 251.6 kB / 0.5405 GB, free: 10.16 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.0004332/0.08449, allocations: 242.6 kB / 0.5407 GB, free: 9.906 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0009932/0.08549, allocations: 0.6408 MB / 0.5413 GB, free: 9.227 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.08549, allocations: 3.938 kB / 0.5413 GB, free: 9.223 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006371/0.08613, allocations: 0.5162 MB / 0.5418 GB, free: 8.672 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009972/0.08712, allocations: 255.9 kB / 0.5421 GB, free: 8.441 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00225/0.08937, allocations: 1.212 MB / 0.5433 GB, free: 7.18 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001421/0.08952, allocations: 151.7 kB / 0.5434 GB, free: 7.012 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0003261/0.08984, allocations: 108.1 kB / 0.5435 GB, free: 6.906 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000499/0.09034, allocations: 262 kB / 0.5438 GB, free: 6.648 MB / 474.7 MB Notification: Performance of SimCode: time 6.11e-07/0.09034, allocations: 0 / 0.5438 GB, free: 6.648 MB / 474.7 MB Notification: Performance of Templates: time 0.02136/0.1117, allocations: 13.85 MB / 0.5573 GB, free: 9.066 MB / 490.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.8243253086693585]