Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.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.001409/0.001409, allocations: 88.83 kB / 19.44 MB, free: 352 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.001923/0.001923, allocations: 157.3 kB / 22.75 MB, free: 1.688 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.496/1.496, allocations: 177.1 MB / 203.1 MB, free: 5.609 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.05143/0.05143, allocations: 7.511 MB / 267.1 MB, free: 6.031 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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT") translateModel(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 338 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.691e-05/2.836e-05, allocations: 2.312 kB / 338 MB, free: 11.3 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT): time 0.3348/0.3348, allocations: 126.8 MB / 464.8 MB, free: 9.723 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.1229/0.4577, allocations: 86.75 MB / 0.5386 GB, free: 4.605 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007619/0.4585, allocations: 7.938 kB / 0.5386 GB, free: 4.598 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004332/0.4628, allocations: 1.245 MB / 0.5398 GB, free: 3.348 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005825/0.4687, allocations: 1.609 MB / 0.5414 GB, free: 1.73 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.3423/0.8109, allocations: 31.77 MB / 0.5724 GB, free: 14.95 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001858/0.8128, allocations: 1.444 MB / 0.5738 GB, free: 14.62 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002328/0.813, allocations: 78.31 kB / 0.5739 GB, free: 14.61 MB / 426.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.01672/0.8297, allocations: 10.43 MB / 0.5841 GB, free: 14.1 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006074/0.8303, allocations: 339.5 kB / 0.5844 GB, free: 14.06 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 7.349e-05/0.8304, allocations: 40.47 kB / 0.5844 GB, free: 14.06 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03937/0.8698, allocations: 20.22 MB / 0.6042 GB, free: 12.57 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003406/0.8701, allocations: 122.1 kB / 0.6043 GB, free: 12.53 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005809/0.8707, allocations: 222.4 kB / 0.6045 GB, free: 12.49 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03792/0.9086, allocations: 11.85 MB / 0.6161 GB, free: 8.469 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.9086, allocations: 0 / 0.6161 GB, free: 8.469 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.9086, allocations: 0 / 0.6161 GB, free: 8.469 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.9087, allocations: 2.344 kB / 0.6161 GB, free: 8.469 MB / 426.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.006944/0.9156, allocations: 2.139 MB / 0.6182 GB, free: 6.918 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.9156, allocations: 8.625 kB / 0.6182 GB, free: 6.91 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006326/0.9163, allocations: 150.4 kB / 0.6183 GB, free: 6.773 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005365/0.9168, allocations: 289 kB / 0.6186 GB, free: 6.523 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.957e-05/0.9169, allocations: 36.03 kB / 0.6186 GB, free: 6.504 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.653e-05/0.9169, allocations: 36.56 kB / 0.6187 GB, free: 6.48 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001118/0.918, allocations: 0.7393 MB / 0.6194 GB, free: 5.867 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.16e-05/0.9181, allocations: 6.438 kB / 0.6194 GB, free: 5.863 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.147e-05/0.9181, allocations: 17.81 kB / 0.6194 GB, free: 5.859 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.744e-05/0.9181, allocations: 15.84 kB / 0.6194 GB, free: 5.848 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00104/0.9192, allocations: 0.5291 MB / 0.62 GB, free: 5.484 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00183/0.921, allocations: 1.621 MB / 0.6215 GB, free: 4.188 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009051/0.9219, allocations: 451.7 kB / 0.622 GB, free: 3.895 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004561/0.9223, allocations: 296.6 kB / 0.6222 GB, free: 3.707 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1502/1.073, allocations: 34.44 MB / 0.6559 GB, free: 5.508 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.054e-05/1.073, allocations: 37.09 kB / 0.6559 GB, free: 5.465 MB / 458.7 MB Notification: Performance of pre-optimization done (n=78): time 2.856e-06/1.073, allocations: 0 / 0.6559 GB, free: 5.465 MB / 458.7 MB Notification: Performance of matching and sorting (n=83): time 0.007599/1.08, allocations: 2.494 MB / 0.6583 GB, free: 3.637 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.408e-05/1.08, allocations: 61.47 kB / 0.6584 GB, free: 3.566 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003418/1.081, allocations: 234.5 kB / 0.6586 GB, free: 3.359 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.347e-05/1.081, allocations: 33.83 kB / 0.6587 GB, free: 3.324 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001774/1.081, allocations: 192.2 kB / 0.6588 GB, free: 3.16 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002675/1.081, allocations: 281 kB / 0.6591 GB, free: 2.922 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001622/1.081, allocations: 98.05 kB / 0.6592 GB, free: 2.855 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002214/1.082, allocations: 346.5 kB / 0.6595 GB, free: 2.523 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008788/1.082, allocations: 297.2 kB / 0.6598 GB, free: 2.34 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007475/1.083, allocations: 414.4 kB / 0.6602 GB, free: 2.023 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001416/1.085, allocations: 0.7251 MB / 0.6609 GB, free: 1.531 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/1.085, allocations: 4 kB / 0.6609 GB, free: 1.527 MB / 458.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001977/1.087, allocations: 0.8532 MB / 0.6618 GB, free: 0.9375 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.912e-05/1.087, allocations: 8 kB / 0.6618 GB, free: 0.9297 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/1.087, allocations: 0 / 0.6618 GB, free: 0.9297 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009352/1.088, allocations: 157.6 kB / 0.6619 GB, free: 0.793 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006619/1.088, allocations: 123 kB / 0.662 GB, free: 0.6836 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003414/1.092, allocations: 3.621 MB / 0.6656 GB, free: 13 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004501/1.092, allocations: 25.98 kB / 0.6656 GB, free: 12.98 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.095e-05/1.092, allocations: 23.8 kB / 0.6656 GB, free: 12.96 MB / 474.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 (47): * Single equations (assignments): 39 * 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, 2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003403/1.092, allocations: 193.1 kB / 0.6658 GB, free: 12.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001856/1.093, allocations: 61.94 kB / 0.6659 GB, free: 12.75 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002756/1.095, allocations: 1.699 MB / 0.6675 GB, free: 11.13 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-05/1.095, allocations: 15.58 kB / 0.6675 GB, free: 11.12 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/1.095, allocations: 7.25 kB / 0.6675 GB, free: 11.12 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002329/1.098, allocations: 1.274 MB / 0.6688 GB, free: 9.758 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003127/1.101, allocations: 1.618 MB / 0.6704 GB, free: 8.109 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/1.101, allocations: 0 / 0.6704 GB, free: 8.109 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003965/1.101, allocations: 70.3 kB / 0.6704 GB, free: 8.043 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007873/1.102, allocations: 265 kB / 0.6707 GB, free: 7.777 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.292e-05/1.102, allocations: 11.98 kB / 0.6707 GB, free: 7.766 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001914/1.104, allocations: 1.788 MB / 0.6724 GB, free: 5.906 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/1.104, allocations: 0 / 0.6724 GB, free: 5.906 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00284/1.107, allocations: 1.518 MB / 0.6739 GB, free: 4.371 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001604/1.107, allocations: 35.73 kB / 0.674 GB, free: 4.336 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.068e-05/1.107, allocations: 12 kB / 0.674 GB, free: 4.324 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003645/1.107, allocations: 23.97 kB / 0.674 GB, free: 4.301 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/1.108, allocations: 47.86 kB / 0.674 GB, free: 4.254 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.156e-05/1.108, allocations: 11.98 kB / 0.6741 GB, free: 4.242 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002904/1.108, allocations: 201.2 kB / 0.6742 GB, free: 4.043 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/1.108, allocations: 0 / 0.6742 GB, free: 4.043 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007514/1.115, allocations: 2.01 MB / 0.6762 GB, free: 2.027 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.d,volume.medium.T) * Number of discrete variables: 10 ($cse1.phase,$cse2.phase,$cse3.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 (35): * Single equations (assignments): 29 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,1), (2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01348/1.129, allocations: 3.06 MB / 0.6792 GB, free: 15.26 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002773/1.132, allocations: 0.8539 MB / 0.68 GB, free: 14.39 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/1.132, allocations: 0 / 0.68 GB, free: 14.39 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009808/1.133, allocations: 396.4 kB / 0.6804 GB, free: 14.02 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002126/1.135, allocations: 386.3 kB / 0.6808 GB, free: 13.65 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002375/1.137, allocations: 1.146 MB / 0.6819 GB, free: 12.49 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005711/1.138, allocations: 254.2 kB / 0.6821 GB, free: 12.22 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003822/1.138, allocations: 79.17 kB / 0.6822 GB, free: 12.14 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/1.138, allocations: 36.48 kB / 0.6822 GB, free: 12.11 MB / 490.7 MB Notification: Performance of SimCode: time 1.303e-06/1.138, allocations: 0 / 0.6822 GB, free: 12.11 MB / 490.7 MB Notification: Performance of Templates: time 0.1367/1.275, allocations: 71.59 MB / 0.7522 GB, free: 4.918 MB / 0.5417 GB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.323439304949716]