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.001187/0.001187, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001336/0.001336, allocations: 169 kB / 24.06 MB, free: 456 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 1.004/1.004, allocations: 177.1 MB / 204.5 MB, free: 5.492 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.7228/0.7228, allocations: 118.6 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 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 9.72e-07/9.72e-07, allocations: 0 / 484.8 MB, free: 8.125 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.296e-05/1.394e-05, allocations: 7.656 kB / 484.8 MB, free: 8.117 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.02552/0.02553, allocations: 28.27 MB / 0.5011 GB, free: 3.996 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002561/0.02809, allocations: 2.497 MB / 0.5035 GB, free: 1.59 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003014/0.02839, allocations: 35.62 kB / 0.5036 GB, free: 1.555 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003361/0.02873, allocations: 138.8 kB / 0.5037 GB, free: 1.418 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008415/0.02957, allocations: 444.8 kB / 0.5041 GB, free: 0.9805 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007883/0.03036, allocations: 0.4903 MB / 0.5046 GB, free: 500 kB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007031/0.03106, allocations: 1.046 MB / 0.5056 GB, free: 15.43 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001721/0.03123, allocations: 102.2 kB / 0.5057 GB, free: 15.34 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.02052/0.05175, allocations: 12.74 MB / 0.5181 GB, free: 2.5 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003855/0.05214, allocations: 375 kB / 0.5185 GB, free: 2.133 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 5.984e-05/0.0522, allocations: 52 kB / 0.5186 GB, free: 2.082 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004808/0.057, allocations: 3.53 MB / 0.522 GB, free: 14.52 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001143/0.05712, allocations: 163.3 kB / 0.5222 GB, free: 14.36 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001909/0.05731, allocations: 235.4 kB / 0.5224 GB, free: 14.13 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000961/0.05827, allocations: 0.8526 MB / 0.5232 GB, free: 13.27 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.05828, allocations: 0 / 0.5232 GB, free: 13.27 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.05828, allocations: 0 / 0.5232 GB, free: 13.27 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.326e-06/0.05828, allocations: 0 / 0.5232 GB, free: 13.27 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.05956, allocations: 1.094 MB / 0.5243 GB, free: 12.14 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.05959, allocations: 12.03 kB / 0.5243 GB, free: 12.13 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002008/0.05979, allocations: 140.3 kB / 0.5244 GB, free: 11.99 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005193/0.06031, allocations: 490.1 kB / 0.5249 GB, free: 11.48 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.579e-05/0.0604, allocations: 148.3 kB / 0.525 GB, free: 11.32 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.46e-05/0.06046, allocations: 52.31 kB / 0.5251 GB, free: 11.27 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004889/0.06095, allocations: 483.2 kB / 0.5255 GB, free: 10.75 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.06096, allocations: 4 kB / 0.5255 GB, free: 10.75 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.126e-05/0.061, allocations: 16 kB / 0.5256 GB, free: 10.73 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.719e-05/0.06102, allocations: 24.98 kB / 0.5256 GB, free: 10.71 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002812/0.0613, allocations: 234.7 kB / 0.5258 GB, free: 10.48 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001856/0.06316, allocations: 1.767 MB / 0.5275 GB, free: 8.668 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006649/0.06382, allocations: 470 kB / 0.528 GB, free: 8.195 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001945/0.06402, allocations: 162.1 kB / 0.5281 GB, free: 8.035 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007/0.06472, allocations: 324.2 kB / 0.5284 GB, free: 7.719 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.06475, allocations: 41.89 kB / 0.5285 GB, free: 7.668 MB / 458.7 MB Notification: Performance of pre-optimization done (n=63): time 1.984e-06/0.06475, allocations: 0 / 0.5285 GB, free: 7.668 MB / 458.7 MB Notification: Performance of matching and sorting (n=65): time 0.002128/0.06688, allocations: 1.154 MB / 0.5296 GB, free: 6.477 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.671e-05/0.0669, allocations: 60.06 kB / 0.5297 GB, free: 6.406 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000252/0.06715, allocations: 422.4 kB / 0.5301 GB, free: 5.98 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.622e-05/0.06719, allocations: 33.7 kB / 0.5301 GB, free: 5.941 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.06733, allocations: 308.2 kB / 0.5304 GB, free: 5.633 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/0.06744, allocations: 241.9 kB / 0.5306 GB, free: 5.395 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.06756, allocations: 119.9 kB / 0.5307 GB, free: 5.27 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.06769, allocations: 0.5507 MB / 0.5313 GB, free: 4.707 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/0.06781, allocations: 89.23 kB / 0.5314 GB, free: 4.621 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000161/0.06797, allocations: 181.2 kB / 0.5315 GB, free: 4.418 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003206/0.06829, allocations: 306.8 kB / 0.5318 GB, free: 4.094 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.06829, allocations: 0 / 0.5318 GB, free: 4.094 MB / 458.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0006411/0.06894, allocations: 0.5352 MB / 0.5324 GB, free: 3.547 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.06895, allocations: 18.95 kB / 0.5324 GB, free: 3.531 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.06897, allocations: 4 kB / 0.5324 GB, free: 3.527 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002428/0.06921, allocations: 107.5 kB / 0.5325 GB, free: 3.418 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002491/0.06946, allocations: 111.9 kB / 0.5326 GB, free: 3.309 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001473/0.07093, allocations: 2.47 MB / 0.535 GB, free: 0.7305 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001827/0.07111, allocations: 12 kB / 0.535 GB, free: 0.7188 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.312e-05/0.07115, allocations: 27.98 kB / 0.535 GB, free: 0.6914 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.0001542/0.0713, allocations: 180.5 kB / 0.5352 GB, free: 0.5039 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001504/0.07145, allocations: 103.5 kB / 0.5353 GB, free: 412 kB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007984/0.07225, allocations: 0.6848 MB / 0.536 GB, free: 15.7 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.07225, allocations: 4 kB / 0.536 GB, free: 15.7 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.07226, allocations: 4 kB / 0.536 GB, free: 15.7 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.483e-06/0.07226, allocations: 7.922 kB / 0.536 GB, free: 15.69 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001158/0.07342, allocations: 1.091 MB / 0.5371 GB, free: 14.55 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/0.07343, allocations: 8.094 kB / 0.5371 GB, free: 14.54 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002262/0.07366, allocations: 95.81 kB / 0.5372 GB, free: 14.45 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002181/0.07387, allocations: 119.5 kB / 0.5373 GB, free: 14.32 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.122e-05/0.07391, allocations: 19.98 kB / 0.5373 GB, free: 14.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001367/0.07527, allocations: 2.477 MB / 0.5397 GB, free: 11.72 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.07527, allocations: 0 / 0.5397 GB, free: 11.72 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008342/0.07611, allocations: 0.8192 MB / 0.5405 GB, free: 10.87 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001305/0.07624, allocations: 107.5 kB / 0.5406 GB, free: 10.76 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.364e-05/0.07628, allocations: 16 kB / 0.5406 GB, free: 10.75 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001487/0.07643, allocations: 15.98 kB / 0.5406 GB, free: 10.73 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.632e-05/0.07649, allocations: 44.41 kB / 0.5407 GB, free: 10.69 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.647e-05/0.07651, allocations: 27.98 kB / 0.5407 GB, free: 10.66 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001374/0.07665, allocations: 286.7 kB / 0.541 GB, free: 10.38 MB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/0.07665, allocations: 0 / 0.541 GB, free: 10.38 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0005387/0.07719, allocations: 247.6 kB / 0.5412 GB, free: 10.14 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.0002769/0.07747, allocations: 254.6 kB / 0.5415 GB, free: 9.875 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0006662/0.07813, allocations: 0.637 MB / 0.5421 GB, free: 9.199 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.07814, allocations: 0 / 0.5421 GB, free: 9.199 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004028/0.07854, allocations: 0.5127 MB / 0.5426 GB, free: 8.652 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006689/0.07921, allocations: 253.5 kB / 0.5428 GB, free: 8.414 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.08077, allocations: 1.215 MB / 0.544 GB, free: 7.148 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001004/0.08087, allocations: 151.7 kB / 0.5442 GB, free: 6.98 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002444/0.08111, allocations: 107 kB / 0.5443 GB, free: 6.879 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000346/0.08146, allocations: 262 kB / 0.5445 GB, free: 6.621 MB / 474.7 MB Notification: Performance of SimCode: time 5.81e-07/0.08146, allocations: 0 / 0.5445 GB, free: 6.621 MB / 474.7 MB Notification: Performance of Templates: time 0.01502/0.09647, allocations: 14.09 MB / 0.5583 GB, free: 8.84 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: 4.035858290269971]