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.00122/0.00122, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001614/0.002833, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001117/0.001117, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0014/0.002517, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9328/0.9328, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1077/1.041, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1/package.mo): time 0.6919/0.6919, allocations: 118.6 MB / 362.6 MB, free: 1.184 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06617/0.7581, allocations: 35.84 MB / 398.4 MB, free: 13.25 MB / 394.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1/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="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="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.703e-06/1.703e-06, allocations: 0 / 399.7 MB, free: 11.98 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.28e-05/1.451e-05, allocations: 2.312 kB / 399.7 MB, free: 11.97 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.2337/0.2337, allocations: 28.73 MB / 428.5 MB, free: 1.031 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003271/0.237, allocations: 2.542 MB / 431 MB, free: 1.031 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004191/0.2374, allocations: 31.91 kB / 431 MB, free: 1.031 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003071/0.2377, allocations: 136.5 kB / 431.2 MB, free: 1.031 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008854/0.2386, allocations: 436.8 kB / 431.6 MB, free: 1.027 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001172/0.2398, allocations: 494.7 kB / 432.1 MB, free: 0.9883 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001082/0.2409, allocations: 1.04 MB / 433.1 MB, free: 0.7188 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002244/0.2411, allocations: 106.1 kB / 433.2 MB, free: 0.6992 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1/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 1.4.1/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 1.4.1/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 1.4.1/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.0213/0.2624, allocations: 10.52 MB / 443.7 MB, free: 15.01 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005878/0.263, allocations: 361.5 kB / 444.1 MB, free: 14.89 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001079/0.2631, allocations: 56.34 kB / 444.2 MB, free: 14.89 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00687/0.2699, allocations: 2.863 MB / 447 MB, free: 13.94 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001319/0.2701, allocations: 121.3 kB / 447.1 MB, free: 13.91 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002774/0.2704, allocations: 191.2 kB / 447.3 MB, free: 13.88 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009307/0.2713, allocations: 0.7752 MB / 448.1 MB, free: 13.65 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.305e-06/0.2713, allocations: 0 / 448.1 MB, free: 13.65 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.2713, allocations: 0 / 448.1 MB, free: 13.65 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.956e-05/0.2713, allocations: 0 / 448.1 MB, free: 13.65 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.001132/0.2724, allocations: 1.204 MB / 449.3 MB, free: 12.82 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.142e-05/0.2725, allocations: 8.031 kB / 449.3 MB, free: 12.81 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001438/0.2726, allocations: 102.9 kB / 449.4 MB, free: 12.73 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004368/0.273, allocations: 446.2 kB / 449.8 MB, free: 12.32 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.924e-05/0.2731, allocations: 151.1 kB / 450 MB, free: 12.16 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.131e-05/0.2732, allocations: 42.44 kB / 450 MB, free: 12.13 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004031/0.2736, allocations: 485.5 kB / 450.5 MB, free: 11.69 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.2736, allocations: 0 / 450.5 MB, free: 11.69 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.617e-05/0.2736, allocations: 20.17 kB / 450.5 MB, free: 11.68 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.309e-05/0.2736, allocations: 21 kB / 450.5 MB, free: 11.66 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002465/0.2739, allocations: 214.4 kB / 450.8 MB, free: 11.46 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001444/0.2753, allocations: 1.328 MB / 452.1 MB, free: 10.35 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005797/0.2759, allocations: 428.5 kB / 452.5 MB, free: 10.01 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001645/0.2761, allocations: 148.2 kB / 452.7 MB, free: 9.887 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000595/0.2767, allocations: 320.9 kB / 453 MB, free: 9.602 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.2767, allocations: 40.75 kB / 453 MB, free: 9.559 MB / 426.7 MB Notification: Performance of pre-optimization done (n=63): time 1.553e-06/0.2767, allocations: 3.094 kB / 453 MB, free: 9.559 MB / 426.7 MB Notification: Performance of matching and sorting (n=65): time 0.001384/0.2781, allocations: 1.014 MB / 454 MB, free: 8.602 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.38e-05/0.2781, allocations: 56.06 kB / 454.1 MB, free: 8.535 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001886/0.2783, allocations: 372.1 kB / 454.4 MB, free: 8.227 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.293e-05/0.2783, allocations: 37.95 kB / 454.5 MB, free: 8.191 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.872e-05/0.2784, allocations: 197.7 kB / 454.7 MB, free: 8.02 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.973e-05/0.2785, allocations: 234 kB / 454.9 MB, free: 7.824 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.2786, allocations: 107.5 kB / 455 MB, free: 7.754 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.151e-05/0.2787, allocations: 381.2 kB / 455.4 MB, free: 7.402 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.637e-05/0.2788, allocations: 70.84 kB / 455.4 MB, free: 7.336 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.2789, allocations: 146.9 kB / 455.6 MB, free: 7.188 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002591/0.2792, allocations: 279.5 kB / 455.9 MB, free: 6.926 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.2792, allocations: 4 kB / 455.9 MB, free: 6.922 MB / 426.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0004553/0.2796, allocations: 411.1 kB / 456.3 MB, free: 6.543 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.2796, allocations: 15.97 kB / 456.3 MB, free: 6.527 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.2796, allocations: 4 kB / 456.3 MB, free: 6.523 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002173/0.2799, allocations: 106.8 kB / 456.4 MB, free: 6.426 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000286/0.2801, allocations: 133.4 kB / 456.5 MB, free: 6.309 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00116/0.2813, allocations: 1.84 MB / 458.4 MB, free: 4.559 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001373/0.2814, allocations: 12.38 kB / 458.4 MB, free: 4.555 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.728e-05/0.2815, allocations: 27.08 kB / 458.4 MB, free: 4.535 MB / 426.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.0001177/0.2816, allocations: 136.8 kB / 458.5 MB, free: 4.41 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.2817, allocations: 76.23 kB / 458.6 MB, free: 4.344 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006286/0.2823, allocations: 0.5688 MB / 459.2 MB, free: 3.852 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.2823, allocations: 4 kB / 459.2 MB, free: 3.848 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.2823, allocations: 8 kB / 459.2 MB, free: 3.84 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.2823, allocations: 5.484 kB / 459.2 MB, free: 3.836 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009259/0.2833, allocations: 0.8438 MB / 460 MB, free: 3.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.2833, allocations: 4 kB / 460 MB, free: 3.016 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002507/0.2835, allocations: 122.9 kB / 460.2 MB, free: 2.898 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.2836, allocations: 74.64 kB / 460.2 MB, free: 2.828 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001879/0.2838, allocations: 113.7 kB / 460.3 MB, free: 2.719 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.678e-05/0.2838, allocations: 23.98 kB / 460.4 MB, free: 2.695 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001123/0.285, allocations: 1.836 MB / 462.2 MB, free: 0.8047 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.285, allocations: 0.9844 kB / 462.2 MB, free: 0.8047 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006559/0.2856, allocations: 0.6632 MB / 462.9 MB, free: 144 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.457e-05/0.2857, allocations: 13.06 kB / 462.9 MB, free: 132 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/0.2858, allocations: 12.88 kB / 462.9 MB, free: 120 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.564e-05/0.2859, allocations: 52.39 kB / 462.9 MB, free: 68 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.3e-05/0.2859, allocations: 19.92 kB / 463 MB, free: 48 kB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00011/0.286, allocations: 167.1 kB / 463.1 MB, free: 15.89 MB / 442.7 MB Notification: Performance of sort global known variables: time 3e-08/0.286, allocations: 0 / 463.1 MB, free: 15.89 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004259/0.2864, allocations: 251.5 kB / 463.4 MB, free: 15.65 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.0002688/0.2867, allocations: 234.7 kB / 463.6 MB, free: 15.43 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005821/0.2873, allocations: 0.5479 MB / 464.1 MB, free: 14.87 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.321e-05/0.2873, allocations: 8 kB / 464.2 MB, free: 14.86 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003491/0.2876, allocations: 444.5 kB / 464.6 MB, free: 14.42 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005636/0.2882, allocations: 300.6 kB / 464.9 MB, free: 14.14 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00685/0.295, allocations: 1.155 MB / 466 MB, free: 12.98 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003169/0.2982, allocations: 155.5 kB / 466.2 MB, free: 12.8 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003897/0.2986, allocations: 109.4 kB / 466.3 MB, free: 12.71 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004792/0.2991, allocations: 225.1 kB / 466.5 MB, free: 12.49 MB / 442.7 MB Notification: Performance of SimCode: time 7.92e-07/0.2991, allocations: 0 / 466.5 MB, free: 12.49 MB / 442.7 MB Notification: Performance of Templates: time 0.01901/0.3181, allocations: 14.24 MB / 480.8 MB, free: 14.69 MB / 458.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 -ignoreHideResult -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.7375687742605805]