Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2.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.0008838/0.0008838, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.0009096/0.0009096, allocations: 173 kB / 23.36 MB, free: 1.133 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.9846/0.9846, allocations: 177.1 MB / 203.8 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.03004/0.03004, allocations: 7.529 MB / 267.8 MB, free: 5.898 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia 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(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2") translateModel(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 3.938 kB / 285.9 MB, free: 3.746 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.251e-05/1.379e-05, allocations: 5.125 kB / 285.9 MB, free: 3.742 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2): time 0.1231/0.1231, allocations: 21.79 MB / 307.7 MB, free: 9.184 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0237/0.1468, allocations: 34.09 MB / 341.8 MB, free: 9.188 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003988/0.1472, allocations: 11.88 kB / 341.8 MB, free: 9.176 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00108/0.1483, allocations: 0.565 MB / 342.4 MB, free: 8.609 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001341/0.1496, allocations: 0.8899 MB / 343.3 MB, free: 7.715 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01888/0.1685, allocations: 11.5 MB / 354.8 MB, free: 12.18 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002007/0.1705, allocations: 2.065 MB / 356.8 MB, free: 10.11 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002353/0.1707, allocations: 139.6 kB / 357 MB, free: 9.953 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001468/0.1722, allocations: 1.115 MB / 358.1 MB, free: 8.836 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005358/0.1727, allocations: 454.6 kB / 358.5 MB, free: 8.391 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.735e-05/0.1728, allocations: 64 kB / 358.6 MB, free: 8.328 MB / 314.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:888:13-888:51:writable] Warning: 'RSS_ls' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:888:13-888:51:writable] Warning: 'lambda_ls' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:1232:13-1232:51:writable] Warning: 'RSS_ls' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:1232:13-1232:51:writable] Warning: 'lambda_ls' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. Notification: Performance of NFFlatten.collectFunctions: time 0.01157/0.1844, allocations: 8.84 MB / 367.4 MB, free: 15.47 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001461/0.1845, allocations: 183.3 kB / 367.6 MB, free: 15.29 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003024/0.1848, allocations: 307.4 kB / 367.9 MB, free: 14.99 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007514/0.1923, allocations: 5.236 MB / 373.1 MB, free: 9.738 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1924, allocations: 7.984 kB / 373.2 MB, free: 9.73 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1924, allocations: 0 / 373.2 MB, free: 9.73 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.1924, allocations: 0 / 373.2 MB, free: 9.73 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.001452/0.1938, allocations: 1.461 MB / 374.6 MB, free: 8.238 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.009e-05/0.1938, allocations: 8.031 kB / 374.6 MB, free: 8.23 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005058/0.1943, allocations: 226.8 kB / 374.8 MB, free: 8.008 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002989/0.1946, allocations: 287.6 kB / 375.1 MB, free: 7.699 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.678e-05/0.1947, allocations: 41 kB / 375.2 MB, free: 7.66 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.728e-05/0.1947, allocations: 48 kB / 375.2 MB, free: 7.613 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007594/0.1955, allocations: 0.7694 MB / 376 MB, free: 6.754 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.1955, allocations: 0 / 376 MB, free: 6.754 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.738e-05/0.1955, allocations: 20 kB / 376 MB, free: 6.734 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.737e-05/0.1956, allocations: 19.98 kB / 376 MB, free: 6.715 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004808/0.196, allocations: 330.4 kB / 376.3 MB, free: 6.398 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001399/0.1974, allocations: 1.691 MB / 378 MB, free: 4.66 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005643/0.198, allocations: 413.7 kB / 378.4 MB, free: 4.25 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001315/0.1981, allocations: 140.1 kB / 378.6 MB, free: 4.109 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08775/0.2859, allocations: 42.31 MB / 420.9 MB, free: 9.773 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.883e-05/0.2859, allocations: 43.05 kB / 420.9 MB, free: 9.723 MB / 378.7 MB Notification: Performance of pre-optimization done (n=109): time 2.475e-06/0.2859, allocations: 0 / 420.9 MB, free: 9.723 MB / 378.7 MB Notification: Performance of matching and sorting (n=117): time 0.003665/0.2896, allocations: 1.948 MB / 422.9 MB, free: 7.738 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.545e-05/0.2896, allocations: 55.91 kB / 422.9 MB, free: 7.672 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.2898, allocations: 254.9 kB / 423.2 MB, free: 7.414 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/0.2898, allocations: 41.69 kB / 423.2 MB, free: 7.367 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.698e-05/0.2899, allocations: 226 kB / 423.4 MB, free: 7.141 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000142/0.29, allocations: 400.3 kB / 423.8 MB, free: 6.746 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.2901, allocations: 142.2 kB / 424 MB, free: 6.602 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.247e-05/0.2902, allocations: 374.6 kB / 424.3 MB, free: 6.227 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.2903, allocations: 114.8 kB / 424.4 MB, free: 6.117 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001732/0.2905, allocations: 252.5 kB / 424.7 MB, free: 5.812 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003384/0.2908, allocations: 455.9 kB / 425.1 MB, free: 5.32 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.2908, allocations: 0 / 425.1 MB, free: 5.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.0005302/0.2914, allocations: 0.5213 MB / 425.7 MB, free: 4.777 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.2914, allocations: 8 kB / 425.7 MB, free: 4.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.425e-06/0.2914, allocations: 4 kB / 425.7 MB, free: 4.766 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001945/0.2916, allocations: 85.33 kB / 425.7 MB, free: 4.676 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005047/0.2921, allocations: 212.6 kB / 426 MB, free: 4.469 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1365/0.4286, allocations: 16.47 MB / 442.4 MB, free: 87.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003014/0.4289, allocations: 29.22 kB / 442.5 MB, free: 87.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.816e-05/0.4289, allocations: 25.2 kB / 442.5 MB, free: 87.34 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 12 (volume1.medium.sat.vap.phase,volume1.medium.sat.liq.phase,volume1.medium.state.phase,ambient.medium.sat.vap.phase,ambient.medium.sat.liq.phase,ambient.medium.state.phase,fixedMassFlowRate.medium.sat.vap.phase,fixedMassFlowRate.medium.sat.liq.phase,fixedMassFlowRate.medium.state.phase,volume.medium.sat.vap.phase,volume.medium.sat.liq.phase,volume.medium.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001712/0.4291, allocations: 160.8 kB / 442.6 MB, free: 87.22 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.229e-05/0.4292, allocations: 54.36 kB / 442.7 MB, free: 87.22 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001052/0.4302, allocations: 1.659 MB / 444.3 MB, free: 86.95 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004352/0.4306, allocations: 0.6117 MB / 445 MB, free: 86.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.4307, allocations: 0 / 445 MB, free: 86.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004684/0.4311, allocations: 0.8402 MB / 445.8 MB, free: 86.41 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001143/0.4323, allocations: 1.33 MB / 447.1 MB, free: 86.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.4323, allocations: 4 kB / 447.1 MB, free: 86.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002798/0.4325, allocations: 146.3 kB / 447.3 MB, free: 86.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002295/0.4328, allocations: 166.8 kB / 447.4 MB, free: 86.02 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.419e-05/0.4328, allocations: 13.72 kB / 447.5 MB, free: 86.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008744/0.4337, allocations: 3.431 MB / 450.9 MB, free: 82.72 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.4337, allocations: 0 / 450.9 MB, free: 82.72 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007152/0.4344, allocations: 0.9295 MB / 451.8 MB, free: 82.45 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.289e-05/0.4344, allocations: 57.81 kB / 451.9 MB, free: 82.42 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.792e-05/0.4345, allocations: 13.09 kB / 451.9 MB, free: 82.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/0.4346, allocations: 28.7 kB / 451.9 MB, free: 82.42 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.4348, allocations: 76.56 kB / 452 MB, free: 82.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.527e-05/0.4348, allocations: 21.59 kB / 452 MB, free: 82.41 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.456e-05/0.4349, allocations: 107.3 kB / 452.1 MB, free: 82.4 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.4349, allocations: 0 / 452.1 MB, free: 82.4 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001678/0.4365, allocations: 1.03 MB / 453.1 MB, free: 82.39 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (volume.medium.p,volume.medium.h,volume1.medium.p,volume1.medium.h) * Number of discrete variables: 14 (volume.medium.sat.liq.phase,volume.medium.sat.vap.phase,$cse7.phase,$cse10.phase,$cse11.phase,$cse12.phase,volume.medium.state.phase,fixedMassFlowRate.medium.state.phase,fixedMassFlowRate.medium.sat.liq.phase,fixedMassFlowRate.medium.sat.vap.phase,ambient.medium.state.phase,volume1.medium.state.phase,volume1.medium.sat.liq.phase,volume1.medium.sat.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002098/0.4386, allocations: 1.458 MB / 454.6 MB, free: 82.24 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001143/0.4398, allocations: 0.9585 MB / 455.6 MB, free: 81.86 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/0.4398, allocations: 3.875 kB / 455.6 MB, free: 81.86 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004465/0.4402, allocations: 0.5902 MB / 456.2 MB, free: 81.57 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000989/0.4412, allocations: 0.4924 MB / 456.6 MB, free: 81.48 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001488/0.4427, allocations: 1.383 MB / 458 MB, free: 80.86 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001045/0.4428, allocations: 181.1 kB / 458.2 MB, free: 80.78 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003328/0.4431, allocations: 174.8 kB / 458.4 MB, free: 80.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005072/0.4437, allocations: 347 kB / 458.7 MB, free: 80.68 MB / 378.7 MB Notification: Performance of SimCode: time 1.032e-06/0.4437, allocations: 3.812 kB / 458.7 MB, free: 80.68 MB / 378.7 MB Notification: Performance of Templates: time 0.03755/0.4812, allocations: 47.16 MB / 0.494 GB, free: 37.5 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.559316970873624]