Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.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.0009926/0.0009926, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001331/0.002324, 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.001093/0.001093, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001371/0.002463, 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.929/0.929, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08784/1.017, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia 3.0.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia 3.0.0-main/package.mo): time 0.04548/0.04548, allocations: 11.71 MB / 255.7 MB, free: 3.926 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003834/0.04931, allocations: 3.084 MB / 258.8 MB, free: 0.832 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia 3.0.0-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.IsobutaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 260.1 MB, free: 15.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.446e-06/9.869e-06, allocations: 5.406 kB / 260.1 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel): time 0.1511/0.1511, allocations: 61.99 MB / 322.1 MB, free: 5.438 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03208/0.1832, allocations: 48.76 MB / 370.8 MB, free: 4.539 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002381/0.1835, allocations: 11.88 kB / 370.8 MB, free: 4.527 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008178/0.1843, allocations: 478.6 kB / 371.3 MB, free: 4.059 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000856/0.1851, allocations: 0.6685 MB / 372 MB, free: 3.387 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.03946/0.2246, allocations: 23.83 MB / 395.8 MB, free: 11.48 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001225/0.2258, allocations: 1.495 MB / 397.3 MB, free: 9.977 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001649/0.226, allocations: 93.69 kB / 397.4 MB, free: 9.883 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004605/0.2306, allocations: 5.045 MB / 402.4 MB, free: 4.828 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003224/0.2309, allocations: 336.2 kB / 402.8 MB, free: 4.5 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.448e-05/0.2309, allocations: 47.94 kB / 402.8 MB, free: 4.453 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0244/0.2553, allocations: 18.32 MB / 421.1 MB, free: 2.102 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001226/0.2555, allocations: 103.6 kB / 421.2 MB, free: 2 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002827/0.2558, allocations: 195.7 kB / 421.4 MB, free: 1.809 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1414/0.3971, allocations: 7.106 MB / 428.5 MB, free: 48.96 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.358e-05/0.3971, allocations: 0.9688 kB / 428.5 MB, free: 48.96 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3971, allocations: 1.312 kB / 428.5 MB, free: 48.96 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.431e-05/0.3972, allocations: 0 / 428.5 MB, free: 48.96 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.002923/0.4001, allocations: 2.502 MB / 431 MB, free: 47.88 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.4001, allocations: 10.19 kB / 431.1 MB, free: 47.88 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002319/0.4003, allocations: 95.62 kB / 431.1 MB, free: 47.87 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002427/0.4006, allocations: 241.6 kB / 431.4 MB, free: 47.7 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/0.4006, allocations: 26.5 kB / 431.4 MB, free: 47.7 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.222e-05/0.4007, allocations: 35.78 kB / 431.4 MB, free: 47.7 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005048/0.4012, allocations: 0.5601 MB / 432 MB, free: 47.41 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.4012, allocations: 4.844 kB / 432 MB, free: 47.41 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.117e-05/0.4012, allocations: 18 kB / 432 MB, free: 47.41 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.576e-05/0.4012, allocations: 18.69 kB / 432 MB, free: 47.41 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003371/0.4015, allocations: 243.5 kB / 432.3 MB, free: 47.4 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009749/0.4025, allocations: 1.258 MB / 433.5 MB, free: 46.69 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000395/0.4029, allocations: 312.4 kB / 433.8 MB, free: 46.62 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.985e-05/0.403, allocations: 89.3 kB / 433.9 MB, free: 46.61 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07496/0.478, allocations: 70.86 MB / 0.493 GB, free: 14.15 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.478, allocations: 44.05 kB / 0.493 GB, free: 14.11 MB / 394.7 MB Notification: Performance of pre-optimization done (n=80): time 3.286e-06/0.478, allocations: 4 kB / 0.493 GB, free: 14.1 MB / 394.7 MB Notification: Performance of matching and sorting (n=84): time 0.002843/0.4808, allocations: 1.489 MB / 0.4945 GB, free: 12.7 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.769e-05/0.4809, allocations: 55.73 kB / 0.4945 GB, free: 12.64 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.481, allocations: 219.8 kB / 0.4947 GB, free: 12.44 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.481, allocations: 33.58 kB / 0.4948 GB, free: 12.41 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.875e-05/0.481, allocations: 191.9 kB / 0.4949 GB, free: 12.23 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.263e-05/0.4811, allocations: 277.5 kB / 0.4952 GB, free: 11.99 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.159e-05/0.4812, allocations: 116.7 kB / 0.4953 GB, free: 11.91 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.34e-05/0.4812, allocations: 363.4 kB / 0.4957 GB, free: 11.57 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.982e-05/0.4813, allocations: 92.17 kB / 0.4957 GB, free: 11.49 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.848e-05/0.4814, allocations: 200.3 kB / 0.4959 GB, free: 11.28 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002171/0.4816, allocations: 371.8 kB / 0.4963 GB, free: 10.91 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.4816, allocations: 0 / 0.4963 GB, free: 10.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0003692/0.482, allocations: 432.8 kB / 0.4967 GB, free: 10.52 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.482, allocations: 8 kB / 0.4967 GB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.482, allocations: 4 kB / 0.4967 GB, free: 10.51 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001946/0.4822, allocations: 88.7 kB / 0.4968 GB, free: 10.44 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009332/0.4832, allocations: 331.8 kB / 0.4971 GB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002244/0.4854, allocations: 6.126 MB / 0.5031 GB, free: 3.996 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001289/0.4855, allocations: 11.12 kB / 0.5031 GB, free: 3.992 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.494e-05/0.4856, allocations: 19.8 kB / 0.5031 GB, free: 3.977 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 9 (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 (51): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * 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): 3 systems {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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 9.777e-05/0.4857, allocations: 147.4 kB / 0.5033 GB, free: 3.844 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.355e-05/0.4857, allocations: 39.83 kB / 0.5033 GB, free: 3.809 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001475/0.4872, allocations: 3.201 MB / 0.5064 GB, free: 1.133 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007001/0.4879, allocations: 1.385 MB / 0.5078 GB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.4879, allocations: 0 / 0.5078 GB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009389/0.4888, allocations: 1.69 MB / 0.5094 GB, free: 13.98 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001521/0.4903, allocations: 1.948 MB / 0.5113 GB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.4903, allocations: 1.062 kB / 0.5113 GB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007185/0.4911, allocations: 259.5 kB / 0.5116 GB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.445e-05/0.4911, allocations: 75.28 kB / 0.5117 GB, free: 12.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001146/0.4912, allocations: 39.11 kB / 0.5117 GB, free: 11.97 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.003e-05/0.4913, allocations: 16 kB / 0.5117 GB, free: 11.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008072/0.4921, allocations: 2.334 MB / 0.514 GB, free: 9.547 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4921, allocations: 0 / 0.514 GB, free: 9.547 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001184/0.4932, allocations: 1.46 MB / 0.5154 GB, free: 8.137 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.45e-05/0.4933, allocations: 15.38 kB / 0.5154 GB, free: 8.129 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.4934, allocations: 15.73 kB / 0.5154 GB, free: 8.121 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.256e-05/0.4934, allocations: 34.61 kB / 0.5155 GB, free: 8.086 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.946e-05/0.4935, allocations: 12.56 kB / 0.5155 GB, free: 8.078 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.361e-05/0.4935, allocations: 93.38 kB / 0.5156 GB, free: 8 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.4935, allocations: 0 / 0.5156 GB, free: 8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003073/0.4966, allocations: 1.238 MB / 0.5168 GB, free: 6.809 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 12 (volume.medium.sat.liq.phase,volume.medium.sat.vap.phase,$cse5.phase,$cse6.phase,$cse7.phase,$cse9.sat.vap.phase,$cse9.sat.liq.phase,volume.medium.state.phase,fixedMassFlowRate.medium.state.phase,fixedMassFlowRate.medium.sat.liq.phase,fixedMassFlowRate.medium.sat.vap.phase,ambient.medium.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002878/0.4995, allocations: 2.232 MB / 0.519 GB, free: 4.84 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007809/0.5003, allocations: 0.959 MB / 0.5199 GB, free: 3.922 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.472e-05/0.5003, allocations: 15.94 kB / 0.5199 GB, free: 3.906 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004401/0.5007, allocations: 0.5599 MB / 0.5205 GB, free: 3.375 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008702/0.5016, allocations: 464.5 kB / 0.5209 GB, free: 2.996 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007183/0.5088, allocations: 1.563 MB / 0.5224 GB, free: 1.562 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000315/0.5091, allocations: 206.7 kB / 0.5226 GB, free: 1.34 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003074/0.5094, allocations: 177.4 kB / 0.5228 GB, free: 1.172 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004121/0.5098, allocations: 282.2 kB / 0.5231 GB, free: 0.9023 MB / 410.7 MB Notification: Performance of SimCode: time 7.01e-07/0.5098, allocations: 0 / 0.5231 GB, free: 0.9023 MB / 410.7 MB Notification: Performance of Templates: time 0.04471/0.5545, allocations: 44.74 MB / 0.5668 GB, free: 5.371 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.201545841991901]