Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.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.0007615/0.0007615, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008938/0.001655, 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.0007106/0.0007106, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009852/0.001696, 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.865/0.865, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07604/0.941, 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.0572/0.0572, allocations: 11.7 MB / 255.7 MB, free: 3.934 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004324/0.06152, allocations: 3.091 MB / 258.8 MB, free: 0.8359 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.ButaneTestModel_dT_component_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph") translateModel(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 260.1 MB, free: 15.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.042e-05/1.17e-05, allocations: 2.312 kB / 260.1 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph): time 0.1505/0.1506, allocations: 61.74 MB / 321.8 MB, free: 5.719 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03337/0.1839, allocations: 48.39 MB / 370.2 MB, free: 5.199 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002898/0.1842, allocations: 7.938 kB / 370.2 MB, free: 5.191 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008364/0.1851, allocations: 438.5 kB / 370.6 MB, free: 4.762 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007979/0.1859, allocations: 0.5943 MB / 371.2 MB, free: 4.164 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.03968/0.2255, allocations: 21.29 MB / 392.5 MB, free: 14.8 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001234/0.2268, allocations: 1.394 MB / 393.9 MB, free: 13.39 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001761/0.2269, allocations: 97.69 kB / 394 MB, free: 13.3 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004863/0.2318, allocations: 4.939 MB / 399 MB, free: 8.348 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003892/0.2322, allocations: 339 kB / 399.3 MB, free: 8.016 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.677e-05/0.2322, allocations: 40 kB / 399.3 MB, free: 7.977 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02665/0.2589, allocations: 18.43 MB / 417.8 MB, free: 5.516 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001603/0.2591, allocations: 103.6 kB / 417.9 MB, free: 5.414 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000365/0.2594, allocations: 195.7 kB / 418.1 MB, free: 5.223 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1353/0.3947, allocations: 7.423 MB / 425.5 MB, free: 69.49 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.618e-05/0.3947, allocations: 0 / 425.5 MB, free: 69.49 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3947, allocations: 1.25 kB / 425.5 MB, free: 69.49 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.284e-05/0.3947, allocations: 0 / 425.5 MB, free: 69.49 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.003887/0.3986, allocations: 2.625 MB / 428.1 MB, free: 68.41 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.3987, allocations: 8.438 kB / 428.1 MB, free: 68.41 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002658/0.3989, allocations: 91.19 kB / 428.2 MB, free: 68.39 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003116/0.3992, allocations: 249.8 kB / 428.4 MB, free: 68.23 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.647e-05/0.3993, allocations: 26.62 kB / 428.5 MB, free: 68.23 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.287e-05/0.3993, allocations: 36.84 kB / 428.5 MB, free: 68.23 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006292/0.3999, allocations: 0.5616 MB / 429.1 MB, free: 67.93 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.4, allocations: 0.8438 kB / 429.1 MB, free: 67.93 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.402e-05/0.4, allocations: 18.97 kB / 429.1 MB, free: 67.93 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.698e-05/0.4, allocations: 15.33 kB / 429.1 MB, free: 67.93 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000389/0.4004, allocations: 238.9 kB / 429.3 MB, free: 67.92 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001116/0.4015, allocations: 1.269 MB / 430.6 MB, free: 67.21 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004548/0.402, allocations: 303.1 kB / 430.9 MB, free: 67.14 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.4021, allocations: 97.44 kB / 431 MB, free: 67.13 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08474/0.4868, allocations: 75.72 MB / 0.4948 GB, free: 29.03 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.598e-05/0.4868, allocations: 45.73 kB / 0.4949 GB, free: 28.98 MB / 394.7 MB Notification: Performance of pre-optimization done (n=81): time 2.425e-06/0.4868, allocations: 0 / 0.4949 GB, free: 28.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=85): time 0.003379/0.4902, allocations: 1.638 MB / 0.4965 GB, free: 27.35 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.661e-05/0.4902, allocations: 55.73 kB / 0.4965 GB, free: 27.29 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.4903, allocations: 215.8 kB / 0.4967 GB, free: 27.09 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.4904, allocations: 29.7 kB / 0.4968 GB, free: 27.05 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.746e-05/0.4904, allocations: 186.4 kB / 0.4969 GB, free: 26.88 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.179e-05/0.4905, allocations: 280.5 kB / 0.4972 GB, free: 26.62 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.864e-05/0.4906, allocations: 116.5 kB / 0.4973 GB, free: 26.52 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.447e-05/0.4906, allocations: 359.2 kB / 0.4977 GB, free: 26.18 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.939e-05/0.4907, allocations: 92.3 kB / 0.4978 GB, free: 26.09 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.4908, allocations: 207.2 kB / 0.498 GB, free: 25.86 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002121/0.491, allocations: 359.4 kB / 0.4983 GB, free: 25.48 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.666e-06/0.491, allocations: 15.45 kB / 0.4983 GB, free: 25.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0008669/0.4919, allocations: 0.5517 MB / 0.4988 GB, free: 24.95 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.4919, allocations: 8 kB / 0.4989 GB, free: 24.94 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.4919, allocations: 4 kB / 0.4989 GB, free: 24.94 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007071/0.4926, allocations: 240.8 kB / 0.4991 GB, free: 24.71 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004179/0.493, allocations: 158.8 kB / 0.4992 GB, free: 24.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002353/0.4954, allocations: 5.59 MB / 0.5047 GB, free: 18.88 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002681/0.4957, allocations: 17.5 kB / 0.5047 GB, free: 18.87 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.764e-05/0.4957, allocations: 19.98 kB / 0.5047 GB, free: 18.85 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,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,ambient.medium.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 2} * 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 0.0001535/0.4958, allocations: 136.9 kB / 0.5049 GB, free: 18.71 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.17e-05/0.4959, allocations: 42.06 kB / 0.5049 GB, free: 18.67 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001588/0.4975, allocations: 3.26 MB / 0.5081 GB, free: 15.86 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006873/0.4982, allocations: 1.418 MB / 0.5095 GB, free: 14.44 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.4982, allocations: 0 / 0.5095 GB, free: 14.44 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007053/0.4989, allocations: 1.703 MB / 0.5111 GB, free: 12.65 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001799/0.5007, allocations: 2.075 MB / 0.5132 GB, free: 10.63 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.349e-06/0.5007, allocations: 0 / 0.5132 GB, free: 10.63 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004386/0.5011, allocations: 161.8 kB / 0.5133 GB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.289e-05/0.5012, allocations: 80.28 kB / 0.5134 GB, free: 10.4 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005408/0.5017, allocations: 195.9 kB / 0.5136 GB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.459e-05/0.5018, allocations: 12 kB / 0.5136 GB, free: 10.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006156/0.5024, allocations: 2.32 MB / 0.5159 GB, free: 7.77 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.5024, allocations: 0 / 0.5159 GB, free: 7.77 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001269/0.5037, allocations: 1.592 MB / 0.5174 GB, free: 6.195 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.272e-05/0.5037, allocations: 8 kB / 0.5174 GB, free: 6.188 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/0.5039, allocations: 12.12 kB / 0.5174 GB, free: 6.176 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.233e-05/0.5039, allocations: 48.42 kB / 0.5175 GB, free: 6.125 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.078e-05/0.5039, allocations: 11.98 kB / 0.5175 GB, free: 6.113 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.114e-05/0.504, allocations: 91.88 kB / 0.5176 GB, free: 6.031 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.504, allocations: 0 / 0.5176 GB, free: 6.031 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003036/0.507, allocations: 1.282 MB / 0.5188 GB, free: 4.75 MB / 394.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 (57): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {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 {(2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003907/0.5109, allocations: 2.349 MB / 0.5211 GB, free: 2.625 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008718/0.5118, allocations: 0.9829 MB / 0.5221 GB, free: 1.66 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.026e-05/0.5118, allocations: 6.812 kB / 0.5221 GB, free: 1.656 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004212/0.5123, allocations: 0.5695 MB / 0.5226 GB, free: 1.09 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000887/0.5131, allocations: 451.1 kB / 0.5231 GB, free: 0.6641 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007102/0.5202, allocations: 1.58 MB / 0.5246 GB, free: 15.08 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001427/0.5204, allocations: 206 kB / 0.5248 GB, free: 14.86 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003445/0.5207, allocations: 177.5 kB / 0.525 GB, free: 14.69 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004092/0.5211, allocations: 269.1 kB / 0.5252 GB, free: 14.43 MB / 410.7 MB Notification: Performance of SimCode: time 1.162e-06/0.5211, allocations: 0 / 0.5252 GB, free: 14.43 MB / 410.7 MB Notification: Performance of Templates: time 0.1607/0.6819, allocations: 48.04 MB / 0.5722 GB, free: 118.1 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.229037918150425]