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.0009697/0.0009697, allocations: 73.88 kB / 20.66 MB, free: 3.848 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.0009923/0.0009923, allocations: 173 kB / 24.06 MB, free: 452 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 0.9639/0.9639, 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/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.03606/0.03606, allocations: 7.53 MB / 268.6 MB, free: 5.812 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.913e-06/1.913e-06, allocations: 0 / 339.9 MB, free: 11.72 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.445e-05/2.636e-05, allocations: 6.312 kB / 339.9 MB, free: 11.71 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2): time 0.02203/0.02206, allocations: 21.62 MB / 361.5 MB, free: 6 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02407/0.04612, allocations: 33.75 MB / 395.3 MB, free: 4.148 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000383/0.04651, allocations: 15.88 kB / 395.3 MB, free: 4.133 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001063/0.04757, allocations: 0.552 MB / 395.9 MB, free: 3.578 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001227/0.0488, allocations: 0.9017 MB / 396.8 MB, free: 2.672 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02255/0.07135, allocations: 11.56 MB / 408.3 MB, free: 7.07 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002181/0.07353, allocations: 2.075 MB / 410.4 MB, free: 4.988 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002801/0.07381, allocations: 131.5 kB / 410.5 MB, free: 4.844 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001891/0.0757, allocations: 1.111 MB / 411.6 MB, free: 3.73 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007539/0.07645, allocations: 490.5 kB / 412.1 MB, free: 3.25 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.694e-05/0.07654, allocations: 60 kB / 412.2 MB, free: 3.191 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01374/0.09028, allocations: 8.384 MB / 420.6 MB, free: 10.79 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002134/0.0905, allocations: 183.3 kB / 420.7 MB, free: 10.61 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004999/0.091, allocations: 307.4 kB / 421 MB, free: 10.31 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01001/0.101, allocations: 5.236 MB / 426.3 MB, free: 5.059 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.101, allocations: 0 / 426.3 MB, free: 5.059 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.101, allocations: 8 kB / 426.3 MB, free: 5.051 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.054e-05/0.101, allocations: 0 / 426.3 MB, free: 5.051 MB / 394.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.002609/0.1036, allocations: 1.609 MB / 427.9 MB, free: 3.398 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.1037, allocations: 12.03 kB / 427.9 MB, free: 3.387 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000717/0.1044, allocations: 230.5 kB / 428.1 MB, free: 3.16 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004401/0.1048, allocations: 354.4 kB / 428.5 MB, free: 2.785 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.108e-05/0.1049, allocations: 45 kB / 428.5 MB, free: 2.742 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.192e-05/0.105, allocations: 48 kB / 428.6 MB, free: 2.695 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001064/0.106, allocations: 0.7758 MB / 429.3 MB, free: 1.824 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/0.106, allocations: 7.938 kB / 429.3 MB, free: 1.816 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.429e-05/0.1061, allocations: 24 kB / 429.4 MB, free: 1.793 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.248e-05/0.1061, allocations: 23.97 kB / 429.4 MB, free: 1.77 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00066/0.1068, allocations: 315.5 kB / 429.7 MB, free: 1.465 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002184/0.1089, allocations: 2.332 MB / 432 MB, free: 15.06 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007633/0.1097, allocations: 375.2 kB / 432.4 MB, free: 14.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001896/0.1099, allocations: 154.1 kB / 432.5 MB, free: 14.53 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02914/0.139, allocations: 10.65 MB / 443.2 MB, free: 3.863 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.143e-05/0.1391, allocations: 41.89 kB / 443.2 MB, free: 3.812 MB / 410.7 MB Notification: Performance of pre-optimization done (n=109): time 2.846e-06/0.1391, allocations: 0 / 443.2 MB, free: 3.812 MB / 410.7 MB Notification: Performance of matching and sorting (n=117): time 0.00357/0.1426, allocations: 2 MB / 445.2 MB, free: 1.766 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/0.1427, allocations: 59.91 kB / 445.3 MB, free: 1.695 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002035/0.1429, allocations: 326 kB / 445.6 MB, free: 1.355 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.231e-05/0.1429, allocations: 33.7 kB / 445.7 MB, free: 1.316 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.143, allocations: 288.1 kB / 445.9 MB, free: 1.027 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001956/0.1432, allocations: 416.4 kB / 446.3 MB, free: 0.6172 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001488/0.1434, allocations: 167.9 kB / 446.5 MB, free: 456 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.1216/0.265, allocations: 0.5554 MB / 447.1 MB, free: 103.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003056/0.2653, allocations: 112.2 kB / 447.2 MB, free: 103.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002425/0.2655, allocations: 321.8 kB / 447.5 MB, free: 103.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004582/0.266, allocations: 494.1 kB / 448 MB, free: 103.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.266, allocations: 4 kB / 448 MB, free: 103.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.0008882/0.2669, allocations: 0.6425 MB / 448.6 MB, free: 103.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.2669, allocations: 8.281 kB / 448.6 MB, free: 103.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.2669, allocations: 6.5 kB / 448.6 MB, free: 103.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002626/0.2671, allocations: 91.8 kB / 448.7 MB, free: 103.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006223/0.2678, allocations: 198.7 kB / 448.9 MB, free: 103.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02896/0.2967, allocations: 19.45 MB / 468.4 MB, free: 91.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003569/0.2971, allocations: 29.22 kB / 468.4 MB, free: 91.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.716e-05/0.2971, allocations: 26.97 kB / 468.4 MB, free: 91.02 MB / 410.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.000198/0.2973, allocations: 210.8 kB / 468.6 MB, free: 90.85 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.973e-05/0.2974, allocations: 79.69 kB / 468.7 MB, free: 90.85 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001394/0.2988, allocations: 2.026 MB / 470.7 MB, free: 90.47 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005397/0.2993, allocations: 0.7066 MB / 471.4 MB, free: 90.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.2993, allocations: 0 / 471.4 MB, free: 90.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005656/0.2999, allocations: 0.9236 MB / 472.4 MB, free: 89.86 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001431/0.3013, allocations: 1.6 MB / 474 MB, free: 89.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.3013, allocations: 0 / 474 MB, free: 89.47 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002693/0.3016, allocations: 134.7 kB / 474.1 MB, free: 89.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002598/0.3019, allocations: 167.6 kB / 474.3 MB, free: 89.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.091e-05/0.3019, allocations: 20.36 kB / 474.3 MB, free: 89.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001162/0.3031, allocations: 5.07 MB / 479.3 MB, free: 84.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.3031, allocations: 0 / 479.3 MB, free: 84.41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009041/0.304, allocations: 1.052 MB / 480.4 MB, free: 84.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.396e-05/0.304, allocations: 59.89 kB / 480.5 MB, free: 84.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.586e-05/0.3041, allocations: 13.16 kB / 480.5 MB, free: 84.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001887/0.3043, allocations: 29.75 kB / 480.5 MB, free: 84.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.3044, allocations: 72.41 kB / 480.6 MB, free: 84.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.24e-05/0.3044, allocations: 22.61 kB / 480.6 MB, free: 84.05 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001009/0.3045, allocations: 230.7 kB / 480.8 MB, free: 83.93 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3045, allocations: 0 / 480.8 MB, free: 83.93 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002059/0.3066, allocations: 1.018 MB / 481.8 MB, free: 83.93 MB / 410.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.002577/0.3092, allocations: 1.45 MB / 483.3 MB, free: 83.77 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001439/0.3106, allocations: 1.179 MB / 484.5 MB, free: 83.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.3106, allocations: 3.094 kB / 484.5 MB, free: 83.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005877/0.3112, allocations: 0.7339 MB / 485.2 MB, free: 82.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001266/0.3124, allocations: 0.4898 MB / 485.7 MB, free: 82.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001889/0.3143, allocations: 1.433 MB / 487.1 MB, free: 82.04 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001564/0.3145, allocations: 185.3 kB / 487.3 MB, free: 81.95 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004186/0.3149, allocations: 176.2 kB / 487.5 MB, free: 81.92 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005712/0.3155, allocations: 398.1 kB / 487.9 MB, free: 81.86 MB / 410.7 MB Notification: Performance of SimCode: time 1.733e-06/0.3155, allocations: 0 / 487.9 MB, free: 81.86 MB / 410.7 MB Notification: Performance of Templates: time 0.04399/0.3595, allocations: 47.69 MB / 0.523 GB, free: 55.61 MB / 410.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 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.044730860739946]