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.001121/0.001121, allocations: 88.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001512/0.001512, allocations: 173 kB / 23.02 MB, free: 1.543 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.9376/0.9376, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.03576/0.03576, allocations: 7.528 MB / 267.5 MB, free: 6 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.332e-06/1.332e-06, allocations: 0 / 338.7 MB, free: 10.95 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.305e-05/1.438e-05, allocations: 2.312 kB / 338.7 MB, free: 10.94 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2): time 0.01401/0.01403, allocations: 21.83 MB / 360.5 MB, free: 5.027 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02419/0.03822, allocations: 34.11 MB / 394.6 MB, free: 2.809 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003029/0.03852, allocations: 15.88 kB / 394.7 MB, free: 2.793 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001031/0.03955, allocations: 0.556 MB / 395.2 MB, free: 2.234 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001351/0.0409, allocations: 0.8938 MB / 396.1 MB, free: 1.336 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01936/0.06026, allocations: 11.57 MB / 407.7 MB, free: 5.719 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0021/0.06236, allocations: 2.063 MB / 409.7 MB, free: 3.645 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000282/0.06264, allocations: 127.7 kB / 409.9 MB, free: 3.508 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001552/0.0642, allocations: 1.119 MB / 411 MB, free: 2.387 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005295/0.06472, allocations: 486.6 kB / 411.5 MB, free: 1.91 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.037e-05/0.0648, allocations: 60 kB / 411.5 MB, free: 1.852 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1429/0.2077, allocations: 8.382 MB / 419.9 MB, free: 34.47 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002472/0.2079, allocations: 183.7 kB / 420.1 MB, free: 34.47 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007355/0.2087, allocations: 307.2 kB / 420.4 MB, free: 34.47 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01335/0.222, allocations: 5.243 MB / 425.6 MB, free: 34.34 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.222, allocations: 0.875 kB / 425.6 MB, free: 34.34 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.222, allocations: 6.031 kB / 425.6 MB, free: 34.34 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.272e-05/0.2221, allocations: 0.5 kB / 425.6 MB, free: 34.34 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.003084/0.2251, allocations: 1.599 MB / 427.2 MB, free: 33.43 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.2252, allocations: 11.62 kB / 427.2 MB, free: 33.43 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005906/0.2258, allocations: 235.1 kB / 427.5 MB, free: 33.32 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004341/0.2262, allocations: 346.6 kB / 427.8 MB, free: 33.14 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.352e-05/0.2263, allocations: 45.31 kB / 427.9 MB, free: 33.14 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.184e-05/0.2263, allocations: 55.88 kB / 427.9 MB, free: 33.14 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009356/0.2273, allocations: 0.8174 MB / 428.7 MB, free: 32.72 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/0.2273, allocations: 6 kB / 428.7 MB, free: 32.72 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.752e-05/0.2273, allocations: 17.78 kB / 428.7 MB, free: 32.72 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.202e-05/0.2273, allocations: 22.23 kB / 428.8 MB, free: 32.72 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005977/0.2279, allocations: 388.3 kB / 429.1 MB, free: 32.71 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001792/0.2297, allocations: 2.386 MB / 431.5 MB, free: 31.3 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006356/0.2304, allocations: 415 kB / 431.9 MB, free: 31.26 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000187/0.2305, allocations: 182.3 kB / 432.1 MB, free: 31.24 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03092/0.2615, allocations: 13.81 MB / 445.9 MB, free: 27.87 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.922e-05/0.2615, allocations: 41.55 kB / 446 MB, free: 27.82 MB / 330.7 MB Notification: Performance of pre-optimization done (n=109): time 3.186e-06/0.2615, allocations: 0 / 446 MB, free: 27.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=117): time 0.003858/0.2654, allocations: 2.205 MB / 448.2 MB, free: 26.52 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.145e-05/0.2654, allocations: 55.91 kB / 448.2 MB, free: 26.45 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001867/0.2656, allocations: 331.6 kB / 448.5 MB, free: 26.14 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.755e-05/0.2656, allocations: 33.52 kB / 448.6 MB, free: 26.11 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.704e-05/0.2657, allocations: 287 kB / 448.9 MB, free: 25.86 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001465/0.2658, allocations: 412.3 kB / 449.3 MB, free: 25.52 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001366/0.266, allocations: 165 kB / 449.4 MB, free: 25.41 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.031e-05/0.2661, allocations: 0.5528 MB / 450 MB, free: 24.88 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001735/0.2662, allocations: 153 kB / 450.1 MB, free: 24.75 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002359/0.2665, allocations: 358.3 kB / 450.5 MB, free: 24.37 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004589/0.2669, allocations: 0.5405 MB / 451 MB, free: 23.86 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.2669, allocations: 4 kB / 451 MB, free: 23.86 MB / 330.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.0007477/0.2677, allocations: 0.7065 MB / 451.7 MB, free: 23.24 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.2677, allocations: 4 kB / 451.7 MB, free: 23.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.2677, allocations: 4.469 kB / 451.7 MB, free: 23.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002459/0.268, allocations: 97.7 kB / 451.8 MB, free: 23.13 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004634/0.2684, allocations: 198.5 kB / 452 MB, free: 22.96 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02559/0.294, allocations: 20.01 MB / 472 MB, free: 2.648 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000363/0.2944, allocations: 27.73 kB / 472.1 MB, free: 2.629 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.046e-05/0.2944, allocations: 34.86 kB / 472.1 MB, free: 2.602 MB / 330.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.0002199/0.2946, allocations: 203.2 kB / 472.3 MB, free: 2.422 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.081e-05/0.2947, allocations: 75.12 kB / 472.4 MB, free: 2.355 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001529/0.2962, allocations: 2.075 MB / 474.4 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007504/0.297, allocations: 0.8071 MB / 475.3 MB, free: 15.98 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/0.297, allocations: 7.938 kB / 475.3 MB, free: 15.97 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008926/0.2979, allocations: 1.034 MB / 476.3 MB, free: 14.92 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00189/0.2998, allocations: 1.753 MB / 478 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.2998, allocations: 3.984 kB / 478 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000286/0.3001, allocations: 137.5 kB / 478.2 MB, free: 13.38 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002922/0.3004, allocations: 173.4 kB / 478.4 MB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.435e-05/0.3004, allocations: 27.92 kB / 478.4 MB, free: 13.19 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001885/0.3023, allocations: 5.101 MB / 483.5 MB, free: 7.891 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3023, allocations: 7.062 kB / 483.5 MB, free: 7.887 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001164/0.3034, allocations: 1.183 MB / 484.7 MB, free: 6.812 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.814e-05/0.3035, allocations: 51.56 kB / 484.7 MB, free: 6.762 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.056e-05/0.3036, allocations: 20.06 kB / 484.7 MB, free: 6.754 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001832/0.3038, allocations: 26.48 kB / 484.8 MB, free: 6.738 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.3039, allocations: 77.12 kB / 484.8 MB, free: 6.676 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.149e-05/0.3039, allocations: 26.11 kB / 484.9 MB, free: 6.656 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001475/0.3041, allocations: 242.7 kB / 485.1 MB, free: 6.445 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3041, allocations: 3.375 kB / 485.1 MB, free: 6.445 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002451/0.3065, allocations: 1.018 MB / 486.1 MB, free: 5.473 MB / 346.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.003019/0.3095, allocations: 1.4 MB / 487.5 MB, free: 4.258 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002011/0.3115, allocations: 1.245 MB / 488.8 MB, free: 3.055 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3115, allocations: 3.062 kB / 488.8 MB, free: 3.055 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008647/0.3124, allocations: 0.7795 MB / 489.6 MB, free: 2.309 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001589/0.314, allocations: 0.4933 MB / 490 MB, free: 1.875 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002276/0.3163, allocations: 1.444 MB / 491.5 MB, free: 0.543 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001501/0.3164, allocations: 185.4 kB / 491.7 MB, free: 356 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004547/0.3169, allocations: 176.6 kB / 491.8 MB, free: 176 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001251/0.317, allocations: 60.12 kB / 491.9 MB, free: 120 kB / 346.7 MB Notification: Performance of SimCode: time 1.042e-06/0.317, allocations: 0 / 491.9 MB, free: 120 kB / 346.7 MB Notification: Performance of Templates: time 0.05895/0.376, allocations: 47.93 MB / 0.5272 GB, free: 0.8125 MB / 394.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: 7.718360529281199]