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.000921/0.000921, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001004/0.001004, allocations: 177 kB / 23.36 MB, free: 1.129 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.046/1.046, allocations: 177.1 MB / 203.8 MB, free: 5.5 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.7928/0.7928, allocations: 118.6 MB / 378.9 MB, free: 1.34 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.864e-06/1.864e-06, allocations: 0 / 430.9 MB, free: 13.29 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.862e-05/3.049e-05, allocations: 5.406 kB / 430.9 MB, free: 13.29 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.2492/0.2492, allocations: 28.58 MB / 459.4 MB, free: 11.71 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003244/0.2525, allocations: 2.545 MB / 462 MB, free: 10.16 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004818/0.253, allocations: 35.47 kB / 462 MB, free: 10.14 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003876/0.2533, allocations: 140.6 kB / 462.2 MB, free: 10.04 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009211/0.2543, allocations: 439.8 kB / 462.6 MB, free: 9.676 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001104/0.2554, allocations: 486.7 kB / 463.1 MB, free: 9.305 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009038/0.2563, allocations: 1.048 MB / 464.1 MB, free: 8.668 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002139/0.2565, allocations: 104.5 kB / 464.2 MB, free: 8.609 MB / 410.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. This is deprecated and will become an error in future releases. [/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. This is deprecated and will become an error in future releases. [/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. This is deprecated and will become an error in future releases. [/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. This is deprecated and will become an error in future releases. Notification: Performance of NFEvalConstants.evaluate: time 0.02057/0.2771, allocations: 12.28 MB / 476.5 MB, free: 13.69 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005532/0.2776, allocations: 363 kB / 476.8 MB, free: 13.34 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 8.764e-05/0.2777, allocations: 52 kB / 476.9 MB, free: 13.29 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005024/0.2827, allocations: 3.552 MB / 480.5 MB, free: 9.699 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001452/0.2829, allocations: 163.3 kB / 480.6 MB, free: 9.539 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002467/0.2831, allocations: 235.4 kB / 480.8 MB, free: 9.309 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001296/0.2844, allocations: 0.8487 MB / 481.7 MB, free: 8.457 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.2844, allocations: 3.938 kB / 481.7 MB, free: 8.453 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2844, allocations: 0 / 481.7 MB, free: 8.453 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.628e-06/0.2844, allocations: 4 kB / 481.7 MB, free: 8.449 MB / 426.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.001243/0.2857, allocations: 0.9541 MB / 482.7 MB, free: 7.469 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.2857, allocations: 15.97 kB / 482.7 MB, free: 7.453 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002795/0.286, allocations: 112.7 kB / 482.8 MB, free: 7.344 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005311/0.2865, allocations: 432.9 kB / 483.2 MB, free: 6.895 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.812e-05/0.2866, allocations: 152.3 kB / 483.3 MB, free: 6.723 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.985e-05/0.2867, allocations: 44.33 kB / 483.4 MB, free: 6.68 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004854/0.2872, allocations: 490.8 kB / 483.9 MB, free: 6.168 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.2872, allocations: 0 / 483.9 MB, free: 6.168 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.728e-05/0.2872, allocations: 16 kB / 483.9 MB, free: 6.152 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.171e-05/0.2872, allocations: 28.98 kB / 483.9 MB, free: 6.125 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002736/0.2875, allocations: 209.6 kB / 484.1 MB, free: 5.918 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001658/0.2892, allocations: 1.331 MB / 485.5 MB, free: 4.562 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006232/0.2898, allocations: 416 kB / 485.9 MB, free: 4.152 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001828/0.29, allocations: 150.5 kB / 486 MB, free: 4 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006669/0.2906, allocations: 322.2 kB / 486.3 MB, free: 3.688 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.2907, allocations: 43.06 kB / 486.4 MB, free: 3.633 MB / 426.7 MB Notification: Performance of pre-optimization done (n=63): time 2.014e-06/0.2907, allocations: 0 / 486.4 MB, free: 3.633 MB / 426.7 MB Notification: Performance of matching and sorting (n=65): time 0.00154/0.2922, allocations: 1.01 MB / 487.4 MB, free: 2.59 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/0.2922, allocations: 60.06 kB / 487.4 MB, free: 2.52 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000203/0.2924, allocations: 363.3 kB / 487.8 MB, free: 2.152 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.077e-05/0.2925, allocations: 37.7 kB / 487.8 MB, free: 2.109 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.88e-05/0.2926, allocations: 210.7 kB / 488 MB, free: 1.898 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000111/0.2927, allocations: 230 kB / 488.3 MB, free: 1.672 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.2928, allocations: 114.2 kB / 488.4 MB, free: 1.555 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.2929, allocations: 374.6 kB / 488.7 MB, free: 1.18 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.293, allocations: 65.28 kB / 488.8 MB, free: 1.117 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001438/0.2931, allocations: 156.2 kB / 488.9 MB, free: 0.9453 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002884/0.2934, allocations: 273.3 kB / 489.2 MB, free: 0.6641 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2934, allocations: 0 / 489.2 MB, free: 0.6641 MB / 426.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0005165/0.2939, allocations: 424.6 kB / 489.6 MB, free: 244 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.294, allocations: 7.984 kB / 489.6 MB, free: 236 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.294, allocations: 4 kB / 489.6 MB, free: 232 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00023/0.2942, allocations: 99.67 kB / 489.7 MB, free: 128 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002736/0.2945, allocations: 123.8 kB / 489.9 MB, free: 4 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001294/0.2958, allocations: 1.837 MB / 491.7 MB, free: 14.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000149/0.2959, allocations: 19.98 kB / 491.7 MB, free: 14.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.324e-05/0.2959, allocations: 19.98 kB / 491.7 MB, free: 14.03 MB / 442.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.0001291/0.2961, allocations: 136.5 kB / 491.9 MB, free: 13.89 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/0.2962, allocations: 77.69 kB / 491.9 MB, free: 13.81 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000677/0.2969, allocations: 0.5677 MB / 492.5 MB, free: 13.23 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-06/0.2969, allocations: 8 kB / 492.5 MB, free: 13.22 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.2969, allocations: 0 / 492.5 MB, free: 13.22 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.2969, allocations: 7.984 kB / 492.5 MB, free: 13.21 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/0.2979, allocations: 0.8468 MB / 493.4 MB, free: 12.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.285e-06/0.2979, allocations: 4 kB / 493.4 MB, free: 12.33 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002575/0.2982, allocations: 99.86 kB / 493.5 MB, free: 12.23 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002259/0.2984, allocations: 113 kB / 493.6 MB, free: 12.12 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.238e-05/0.2984, allocations: 23.98 kB / 493.6 MB, free: 12.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001299/0.2997, allocations: 1.849 MB / 495.5 MB, free: 10.16 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.2997, allocations: 0 / 495.5 MB, free: 10.16 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000743/0.3005, allocations: 0.6485 MB / 496.1 MB, free: 9.48 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001265/0.3006, allocations: 75.53 kB / 496.2 MB, free: 9.406 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.586e-05/0.3007, allocations: 22.67 kB / 496.2 MB, free: 9.387 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.3008, allocations: 15.94 kB / 496.2 MB, free: 9.371 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.543e-05/0.3009, allocations: 48.41 kB / 496.3 MB, free: 9.324 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.033e-05/0.3009, allocations: 19.98 kB / 496.3 MB, free: 9.305 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001311/0.301, allocations: 172.4 kB / 496.5 MB, free: 9.133 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.301, allocations: 0 / 496.5 MB, free: 9.133 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005444/0.3016, allocations: 247.6 kB / 496.7 MB, free: 8.891 MB / 442.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.0003153/0.3019, allocations: 222.5 kB / 496.9 MB, free: 8.668 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0007214/0.3026, allocations: 0.5619 MB / 497.5 MB, free: 8.082 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/0.3026, allocations: 4.125 kB / 497.5 MB, free: 8.078 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004271/0.3031, allocations: 447.8 kB / 497.9 MB, free: 7.613 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005955/0.3037, allocations: 241.9 kB / 498.1 MB, free: 7.391 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001679/0.3053, allocations: 1.146 MB / 499.3 MB, free: 6.207 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001251/0.3055, allocations: 155.6 kB / 499.4 MB, free: 6.035 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002777/0.3057, allocations: 106 kB / 499.6 MB, free: 5.938 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003823/0.3061, allocations: 229.1 kB / 499.8 MB, free: 5.715 MB / 442.7 MB Notification: Performance of SimCode: time 9.12e-07/0.3061, allocations: 0 / 499.8 MB, free: 5.715 MB / 442.7 MB Notification: Performance of Templates: time 0.01719/0.3233, allocations: 13.88 MB / 0.5016 GB, free: 8.188 MB / 458.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 -s gbode -gbm=radauIIA3 -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.004738613031805]