Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.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.001377/0.001377, allocations: 88.72 kB / 19.44 MB, free: 356 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.001678/0.001678, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.475/1.475, allocations: 177.1 MB / 203.1 MB, free: 5.586 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.05272/0.05272, allocations: 7.509 MB / 267.1 MB, free: 6.02 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.BaseProps_sweep,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep") translateModel(HelmholtzMedia.Examples.BaseProps_sweep,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.146e-06/3.146e-06, allocations: 4 kB / 337.9 MB, free: 11.36 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.514e-05/2.828e-05, allocations: 2.312 kB / 337.9 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.BaseProps_sweep): time 0.01699/0.01702, allocations: 16.25 MB / 354.1 MB, free: 11.04 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0393/0.05632, allocations: 28.58 MB / 382.7 MB, free: 14.36 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001826/0.0565, allocations: 7.938 kB / 382.7 MB, free: 14.36 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00112/0.05762, allocations: 374.2 kB / 383.1 MB, free: 13.99 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005359/0.05816, allocations: 158.9 kB / 383.2 MB, free: 13.83 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0274/0.08556, allocations: 10.14 MB / 393.4 MB, free: 3.641 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007308/0.08629, allocations: 402.2 kB / 393.8 MB, free: 3.246 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.73e-05/0.08635, allocations: 12.59 kB / 393.8 MB, free: 3.234 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000641/0.087, allocations: 239.3 kB / 394 MB, free: 3 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002252/0.08722, allocations: 99.7 kB / 394.1 MB, free: 2.902 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.908e-05/0.08726, allocations: 16 kB / 394.1 MB, free: 2.887 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01792/0.1052, allocations: 8.208 MB / 402.3 MB, free: 10.66 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001066/0.1053, allocations: 39.84 kB / 402.4 MB, free: 10.62 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001847/0.1055, allocations: 75.83 kB / 402.5 MB, free: 10.55 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01251/0.118, allocations: 4.905 MB / 407.4 MB, free: 5.629 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.118, allocations: 0 / 407.4 MB, free: 5.629 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.118, allocations: 0 / 407.4 MB, free: 5.629 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.748e-06/0.118, allocations: 0 / 407.4 MB, free: 5.629 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.002958/0.121, allocations: 1.101 MB / 408.5 MB, free: 4.492 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.121, allocations: 8.625 kB / 408.5 MB, free: 4.484 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008677/0.1219, allocations: 119.5 kB / 408.6 MB, free: 4.367 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003159/0.1222, allocations: 178.2 kB / 408.8 MB, free: 4.164 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.817e-05/0.1222, allocations: 8 kB / 408.8 MB, free: 4.156 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.06e-05/0.1222, allocations: 12 kB / 408.8 MB, free: 4.145 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000764/0.123, allocations: 326.7 kB / 409.1 MB, free: 3.789 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.123, allocations: 0 / 409.1 MB, free: 3.789 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.078e-05/0.123, allocations: 11.98 kB / 409.1 MB, free: 3.777 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.414e-05/0.1231, allocations: 7.984 kB / 409.1 MB, free: 3.77 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007286/0.1238, allocations: 226.2 kB / 409.3 MB, free: 3.551 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00128/0.1251, allocations: 0.8382 MB / 410.2 MB, free: 2.664 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000604/0.1257, allocations: 226.3 kB / 410.4 MB, free: 2.406 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003705/0.126, allocations: 139.4 kB / 410.5 MB, free: 2.258 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1829/0.3089, allocations: 14.63 MB / 425.2 MB, free: 77.94 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.819e-05/0.309, allocations: 38.41 kB / 425.2 MB, free: 77.89 MB / 330.7 MB Notification: Performance of pre-optimization done (n=28): time 2.064e-06/0.309, allocations: 4 kB / 425.2 MB, free: 77.89 MB / 330.7 MB Notification: Performance of matching and sorting (n=28): time 0.001433/0.3104, allocations: 489.5 kB / 425.7 MB, free: 77.44 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/0.3104, allocations: 136.4 kB / 425.8 MB, free: 77.28 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.3106, allocations: 181.4 kB / 426 MB, free: 77.09 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.3106, allocations: 25.7 kB / 426 MB, free: 77.06 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.043e-05/0.3106, allocations: 133.3 kB / 426.2 MB, free: 76.93 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.712e-05/0.3107, allocations: 90.09 kB / 426.2 MB, free: 76.86 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.52e-05/0.3108, allocations: 46.48 kB / 426.3 MB, free: 76.81 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.91e-05/0.3108, allocations: 330.8 kB / 426.6 MB, free: 76.48 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002534/0.3111, allocations: 112 kB / 426.7 MB, free: 76.37 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002565/0.3113, allocations: 163 kB / 426.9 MB, free: 76.19 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005153/0.3118, allocations: 296.2 kB / 427.2 MB, free: 75.89 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.3118, allocations: 3.938 kB / 427.2 MB, free: 75.89 MB / 330.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006351/0.3125, allocations: 330.2 kB / 427.5 MB, free: 75.56 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.3125, allocations: 4 kB / 427.5 MB, free: 75.55 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.3125, allocations: 0 / 427.5 MB, free: 75.55 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.655e-05/0.3125, allocations: 4 kB / 427.5 MB, free: 75.55 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002696/0.3128, allocations: 56.08 kB / 427.6 MB, free: 75.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.667e-06/0.3128, allocations: 7.938 kB / 427.6 MB, free: 75.49 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001929/0.313, allocations: 30.11 kB / 427.6 MB, free: 75.46 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.759e-05/0.313, allocations: 8 kB / 427.6 MB, free: 75.46 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 (medium.sat.vap.phase,medium.sat.liq.phase,medium.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001056/0.3131, allocations: 132.2 kB / 427.7 MB, free: 75.32 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.3132, allocations: 35.84 kB / 427.8 MB, free: 75.29 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005742/0.3138, allocations: 375.5 kB / 428.1 MB, free: 74.91 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/0.3138, allocations: 10.27 kB / 428.1 MB, free: 74.91 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.3138, allocations: 0 / 428.1 MB, free: 74.91 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.3138, allocations: 15.75 kB / 428.2 MB, free: 74.89 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003543/0.3142, allocations: 233 kB / 428.4 MB, free: 74.64 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.3142, allocations: 0 / 428.4 MB, free: 74.64 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002042/0.3144, allocations: 43.89 kB / 428.4 MB, free: 74.6 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.3144, allocations: 4 kB / 428.4 MB, free: 74.6 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.3144, allocations: 11.98 kB / 428.4 MB, free: 74.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.3144, allocations: 3.312 kB / 428.4 MB, free: 74.59 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3144, allocations: 0 / 428.4 MB, free: 74.59 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006455/0.3151, allocations: 0.6571 MB / 429.1 MB, free: 73.91 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.957e-05/0.3151, allocations: 24.64 kB / 429.1 MB, free: 73.89 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.746e-05/0.3151, allocations: 0 / 429.1 MB, free: 73.89 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003114/0.3154, allocations: 27.97 kB / 429.2 MB, free: 73.87 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.874e-05/0.3155, allocations: 23.89 kB / 429.2 MB, free: 73.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.3155, allocations: 4 kB / 429.2 MB, free: 73.84 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.003e-05/0.3156, allocations: 132.4 kB / 429.3 MB, free: 73.71 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3156, allocations: 0 / 429.3 MB, free: 73.71 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001968/0.3176, allocations: 0.8063 MB / 430.1 MB, free: 73.05 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 ($cse1.phase,medium.state.phase,medium.sat.liq.phase,medium.sat.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003316/0.3209, allocations: 1.308 MB / 431.4 MB, free: 71.93 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006972/0.3216, allocations: 270.7 kB / 431.7 MB, free: 71.67 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.3216, allocations: 3.938 kB / 431.7 MB, free: 71.66 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002992/0.3219, allocations: 152.2 kB / 431.8 MB, free: 71.52 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009106/0.3228, allocations: 92.14 kB / 431.9 MB, free: 71.43 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006883/0.3235, allocations: 489.5 kB / 432.4 MB, free: 70.92 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.611e-05/0.3236, allocations: 129.7 kB / 432.5 MB, free: 70.77 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001606/0.3237, allocations: 51.53 kB / 432.6 MB, free: 70.73 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.274e-05/0.3238, allocations: 24.48 kB / 432.6 MB, free: 70.71 MB / 330.7 MB Notification: Performance of SimCode: time 6.51e-07/0.3238, allocations: 0 / 432.6 MB, free: 70.71 MB / 330.7 MB Notification: Performance of Templates: time 0.02921/0.353, allocations: 24.4 MB / 457 MB, free: 46.43 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.896652610041201]