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.00182/0.00182, allocations: 93.47 kB / 19.44 MB, free: 336 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.001979/0.001979, allocations: 169.2 kB / 22.76 MB, free: 1.664 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 1.536/1.536, allocations: 177.1 MB / 203.1 MB, free: 5.562 MB / 186.7 MB " [Timeout remaining time 178] 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.05889/0.05889, allocations: 7.521 MB / 267.1 MB, free: 6.051 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.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.263e-06/1.263e-06, allocations: 0 / 338 MB, free: 11.29 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.914e-05/2.04e-05, allocations: 6.25 kB / 338 MB, free: 11.29 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph): time 0.2894/0.2894, allocations: 143.5 MB / 481.5 MB, free: 14.3 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.3191/0.6085, allocations: 99.26 MB / 0.5671 GB, free: 3.246 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000501/0.609, allocations: 10.91 kB / 0.5671 GB, free: 3.246 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002645/0.6117, allocations: 1.246 MB / 0.5683 GB, free: 3.238 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003265/0.6149, allocations: 1.607 MB / 0.5699 GB, free: 3.223 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.06682/0.6817, allocations: 31.78 MB / 0.6009 GB, free: 15.58 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.00183/0.6836, allocations: 1.438 MB / 0.6024 GB, free: 15.25 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002046/0.6838, allocations: 78.33 kB / 0.6024 GB, free: 15.24 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:621:5-621:120:writable] Warning: assert triggered: setState_pTX: d_min and d_max did not bracket the root Notification: Performance of NFEvalConstants.evaluate: time 0.01673/0.7005, allocations: 10.43 MB / 0.6126 GB, free: 12.28 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005311/0.701, allocations: 346 kB / 0.6129 GB, free: 12.17 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 6.704e-05/0.7011, allocations: 41.09 kB / 0.613 GB, free: 12.17 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04083/0.7419, allocations: 21.75 MB / 0.6342 GB, free: 5.574 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002761/0.7422, allocations: 133.5 kB / 0.6344 GB, free: 5.5 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005442/0.7428, allocations: 218.1 kB / 0.6346 GB, free: 5.34 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03631/0.7791, allocations: 12.75 MB / 0.647 GB, free: 12.34 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.7791, allocations: 0 / 0.647 GB, free: 12.34 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.7791, allocations: 2.719 kB / 0.647 GB, free: 12.34 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.877e-06/0.7791, allocations: 4 kB / 0.647 GB, free: 12.34 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.006254/0.7853, allocations: 2.427 MB / 0.6494 GB, free: 10 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.7854, allocations: 8.625 kB / 0.6494 GB, free: 9.992 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00066/0.786, allocations: 149.8 kB / 0.6495 GB, free: 9.855 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004943/0.7865, allocations: 288.8 kB / 0.6498 GB, free: 9.605 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.049e-05/0.7866, allocations: 29.78 kB / 0.6498 GB, free: 9.59 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.258e-05/0.7866, allocations: 39.5 kB / 0.6499 GB, free: 9.566 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001319/0.788, allocations: 0.6772 MB / 0.6505 GB, free: 8.883 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.788, allocations: 3 kB / 0.6505 GB, free: 8.883 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.902e-05/0.788, allocations: 16 kB / 0.6506 GB, free: 8.867 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.484e-05/0.7881, allocations: 19.28 kB / 0.6506 GB, free: 8.852 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001102/0.7892, allocations: 393.2 kB / 0.651 GB, free: 8.477 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002755/0.7919, allocations: 1.948 MB / 0.6529 GB, free: 6.496 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000974/0.7929, allocations: 357.3 kB / 0.6532 GB, free: 6.145 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004185/0.7933, allocations: 185.2 kB / 0.6534 GB, free: 5.961 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1759/0.9692, allocations: 35.9 MB / 0.6884 GB, free: 2.184 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.728e-05/0.9693, allocations: 41.67 kB / 0.6885 GB, free: 2.133 MB / 490.7 MB Notification: Performance of pre-optimization done (n=78): time 2.745e-06/0.9693, allocations: 0 / 0.6885 GB, free: 2.133 MB / 490.7 MB Notification: Performance of matching and sorting (n=82): time 0.005594/0.9749, allocations: 1.737 MB / 0.6902 GB, free: 368 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/0.9749, allocations: 55.41 kB / 0.6902 GB, free: 300 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003836/0.9753, allocations: 322.6 kB / 0.6905 GB, free: 15.96 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 4.028e-05/0.9754, allocations: 29.7 kB / 0.6906 GB, free: 15.93 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001985/0.9756, allocations: 252.6 kB / 0.6908 GB, free: 15.68 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002922/0.9758, allocations: 307.6 kB / 0.6911 GB, free: 15.38 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000358/0.9762, allocations: 147.8 kB / 0.6912 GB, free: 15.23 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.000343/0.9765, allocations: 0.5586 MB / 0.6918 GB, free: 14.66 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003952/0.9769, allocations: 161.4 kB / 0.6919 GB, free: 14.5 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005926/0.9775, allocations: 354.8 kB / 0.6923 GB, free: 14.1 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001017/0.9786, allocations: 0.5401 MB / 0.6928 GB, free: 13.51 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-06/0.9786, allocations: 4 kB / 0.6928 GB, free: 13.5 MB / 0.4949 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001427/0.98, allocations: 0.6323 MB / 0.6934 GB, free: 12.88 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.98, allocations: 6.812 kB / 0.6934 GB, free: 12.87 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.98, allocations: 4 kB / 0.6934 GB, free: 12.87 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006197/0.9806, allocations: 130 kB / 0.6936 GB, free: 12.73 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005042/0.9811, allocations: 99.41 kB / 0.6937 GB, free: 12.64 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07631/1.057, allocations: 18.59 MB / 0.7118 GB, free: 9.758 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003926/1.058, allocations: 15.98 kB / 0.7118 GB, free: 9.742 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.411e-05/1.058, allocations: 20 kB / 0.7118 GB, free: 9.723 MB / 0.5105 GB 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 (47): * Single equations (assignments): 40 * 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.0003628/1.058, allocations: 238.6 kB / 0.7121 GB, free: 9.484 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/1.058, allocations: 47.77 kB / 0.7121 GB, free: 9.438 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003018/1.061, allocations: 1.922 MB / 0.714 GB, free: 7.43 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-05/1.061, allocations: 12.53 kB / 0.714 GB, free: 7.418 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/1.061, allocations: 0 / 0.714 GB, free: 7.418 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001451/1.063, allocations: 0.9248 MB / 0.7149 GB, free: 6.398 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002338/1.065, allocations: 1.325 MB / 0.7162 GB, free: 5.039 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/1.065, allocations: 0 / 0.7162 GB, free: 5.039 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003032/1.066, allocations: 66.95 kB / 0.7163 GB, free: 4.977 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004111/1.066, allocations: 164.2 kB / 0.7164 GB, free: 4.809 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.46e-05/1.066, allocations: 16.06 kB / 0.7164 GB, free: 4.793 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002824/1.069, allocations: 3.469 MB / 0.7198 GB, free: 1.145 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/1.069, allocations: 7.875 kB / 0.7198 GB, free: 1.137 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001958/1.071, allocations: 1.037 MB / 0.7208 GB, free: 76 kB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.857e-05/1.071, allocations: 43.75 kB / 0.7209 GB, free: 32 kB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.659e-05/1.071, allocations: 15.92 kB / 0.7209 GB, free: 16 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002696/1.071, allocations: 16 kB / 0.7209 GB, free: 0 / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001488/1.071, allocations: 50.53 kB / 0.721 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.195e-05/1.071, allocations: 12 kB / 0.721 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002751/1.072, allocations: 249.1 kB / 0.7212 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/1.072, allocations: 0 / 0.7212 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005763/1.077, allocations: 2.142 MB / 0.7233 GB, free: 13.55 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 10 ($cse4.phase,$cse5.phase,$cse6.phase,volume.medium.state.phase,volume.medium.sat.liq.phase,volume.medium.sat.vap.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 (37): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 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): 2 systems {(1,1), (2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009062/1.086, allocations: 3.297 MB / 0.7265 GB, free: 10.56 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002054/1.089, allocations: 0.8747 MB / 0.7274 GB, free: 9.652 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/1.089, allocations: 0 / 0.7274 GB, free: 9.652 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008436/1.089, allocations: 477.2 kB / 0.7278 GB, free: 9.172 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002011/1.091, allocations: 386.2 kB / 0.7282 GB, free: 8.801 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00194/1.093, allocations: 1.061 MB / 0.7292 GB, free: 7.715 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002785/1.094, allocations: 245.3 kB / 0.7295 GB, free: 7.461 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003572/1.094, allocations: 107.2 kB / 0.7296 GB, free: 7.355 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/1.094, allocations: 40.5 kB / 0.7296 GB, free: 7.316 MB / 0.5261 GB Notification: Performance of SimCode: time 6.61e-07/1.094, allocations: 0 / 0.7296 GB, free: 7.316 MB / 0.5261 GB Notification: Performance of Templates: time 0.2155/1.31, allocations: 74.16 MB / 0.802 GB, free: 250.3 MB / 0.5417 GB " [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: 11.356956314994022]