Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2.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.0009413/0.0009413, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.0009625/0.0009625, allocations: 177 kB / 23.36 MB, free: 1.129 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 0.918/0.918, allocations: 177.1 MB / 203.8 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] 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.03044/0.03044, allocations: 7.524 MB / 267.8 MB, free: 5.863 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.EthanolTestModel2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2") translateModel(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 285.9 MB, free: 3.703 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.106e-05/2.23e-05, allocations: 6.25 kB / 285.9 MB, free: 3.695 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2): time 0.12/0.12, allocations: 21.66 MB / 307.6 MB, free: 9.246 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02396/0.144, allocations: 33.54 MB / 341.1 MB, free: 9.809 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008137/0.1448, allocations: 15.88 kB / 341.1 MB, free: 9.793 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001428/0.1462, allocations: 465.8 kB / 341.6 MB, free: 9.336 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001842/0.1481, allocations: 0.8743 MB / 342.5 MB, free: 8.457 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.021/0.1691, allocations: 11.15 MB / 353.6 MB, free: 13.27 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002387/0.1715, allocations: 2.014 MB / 355.6 MB, free: 11.24 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00028/0.1717, allocations: 139.6 kB / 355.8 MB, free: 11.09 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001433/0.1732, allocations: 1.083 MB / 356.9 MB, free: 10 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006628/0.1738, allocations: 456.9 kB / 357.3 MB, free: 9.559 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.328e-05/0.1739, allocations: 60 kB / 357.4 MB, free: 9.5 MB / 314.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:888:13-888:51:writable] Warning: 'RSS_ls' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:888:13-888:51:writable] Warning: 'lambda_ls' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:1232:13-1232:51:writable] Warning: 'RSS_ls' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:1232:13-1232:51:writable] Warning: 'lambda_ls' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. Notification: Performance of NFFlatten.collectFunctions: time 0.01299/0.1869, allocations: 8.591 MB / 366 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002119/0.1871, allocations: 183.3 kB / 366.1 MB, free: 0.7109 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005649/0.1877, allocations: 315.4 kB / 366.4 MB, free: 412 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01035/0.198, allocations: 5.248 MB / 371.7 MB, free: 11.14 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.198, allocations: 4 kB / 371.7 MB, free: 11.14 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.198, allocations: 0 / 371.7 MB, free: 11.14 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.375e-05/0.1981, allocations: 0 / 371.7 MB, free: 11.14 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: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.002251/0.2003, allocations: 1.461 MB / 373.2 MB, free: 9.645 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.2003, allocations: 8.031 kB / 373.2 MB, free: 9.637 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005698/0.2009, allocations: 230.8 kB / 373.4 MB, free: 9.41 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003751/0.2013, allocations: 283.7 kB / 373.7 MB, free: 9.105 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.054e-05/0.2013, allocations: 41 kB / 373.7 MB, free: 9.066 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.546e-05/0.2014, allocations: 52.56 kB / 373.8 MB, free: 9.016 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008514/0.2022, allocations: 0.7655 MB / 374.5 MB, free: 8.16 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.2022, allocations: 0 / 374.5 MB, free: 8.16 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.229e-05/0.2023, allocations: 20 kB / 374.5 MB, free: 8.141 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.368e-05/0.2023, allocations: 36.41 kB / 374.6 MB, free: 8.105 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005115/0.2028, allocations: 306.5 kB / 374.9 MB, free: 7.812 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00191/0.2047, allocations: 1.699 MB / 376.6 MB, free: 6.066 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006057/0.2053, allocations: 405.3 kB / 377 MB, free: 5.664 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001319/0.2055, allocations: 131.3 kB / 377.1 MB, free: 5.531 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09125/0.2967, allocations: 42.32 MB / 419.4 MB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.1e-05/0.2968, allocations: 39.06 kB / 419.5 MB, free: 11.14 MB / 378.7 MB Notification: Performance of pre-optimization done (n=109): time 3.497e-06/0.2968, allocations: 2.953 kB / 419.5 MB, free: 11.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=117): time 0.003615/0.3004, allocations: 1.952 MB / 421.4 MB, free: 9.148 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.611e-05/0.3004, allocations: 63.89 kB / 421.5 MB, free: 9.074 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001717/0.3006, allocations: 254.9 kB / 421.7 MB, free: 8.816 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.983e-05/0.3006, allocations: 37.7 kB / 421.8 MB, free: 8.773 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.685e-05/0.3007, allocations: 225.9 kB / 422 MB, free: 8.547 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000171/0.3009, allocations: 400.3 kB / 422.4 MB, free: 8.152 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/0.301, allocations: 142.2 kB / 422.5 MB, free: 8.008 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.794e-05/0.3011, allocations: 374.6 kB / 422.9 MB, free: 7.633 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001293/0.3012, allocations: 116.8 kB / 423 MB, free: 7.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000174/0.3014, allocations: 248.5 kB / 423.2 MB, free: 7.219 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003658/0.3017, allocations: 449.2 kB / 423.7 MB, free: 6.734 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.3017, allocations: 3.984 kB / 423.7 MB, free: 6.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.0005641/0.3023, allocations: 0.5249 MB / 424.2 MB, free: 6.184 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.3023, allocations: 4 kB / 424.2 MB, free: 6.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.527e-06/0.3023, allocations: 4 kB / 424.2 MB, free: 6.176 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002046/0.3025, allocations: 86.91 kB / 424.3 MB, free: 6.082 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005178/0.3031, allocations: 212.5 kB / 424.5 MB, free: 5.875 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1364/0.4395, allocations: 16.48 MB / 441 MB, free: 87.81 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003109/0.4398, allocations: 32.02 kB / 441 MB, free: 87.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.91e-05/0.4398, allocations: 23.44 kB / 441 MB, free: 87.81 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 12 (volume1.medium.sat.vap.phase,volume1.medium.sat.liq.phase,volume1.medium.state.phase,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 (73): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 3 * 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): 4 systems {1, 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001809/0.44, allocations: 162.7 kB / 441.2 MB, free: 87.69 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.054e-05/0.4401, allocations: 49.94 kB / 441.2 MB, free: 87.69 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001186/0.4413, allocations: 1.652 MB / 442.9 MB, free: 87.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005099/0.4418, allocations: 0.6187 MB / 443.5 MB, free: 87.31 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.4418, allocations: 2 kB / 443.5 MB, free: 87.31 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004748/0.4423, allocations: 0.8419 MB / 444.4 MB, free: 86.88 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001276/0.4435, allocations: 1.33 MB / 445.7 MB, free: 86.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.4435, allocations: 0 / 445.7 MB, free: 86.56 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002998/0.4438, allocations: 154.7 kB / 445.8 MB, free: 86.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002373/0.4441, allocations: 157.8 kB / 446 MB, free: 86.51 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.874e-05/0.4441, allocations: 12.78 kB / 446 MB, free: 86.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009719/0.4451, allocations: 3.436 MB / 449.4 MB, free: 83.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.4451, allocations: 4 kB / 449.4 MB, free: 83.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007817/0.4459, allocations: 0.9291 MB / 450.4 MB, free: 82.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.057e-05/0.4459, allocations: 57.08 kB / 450.4 MB, free: 82.9 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.11e-05/0.446, allocations: 13.47 kB / 450.4 MB, free: 82.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001729/0.4462, allocations: 27.98 kB / 450.5 MB, free: 82.9 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.752e-05/0.4463, allocations: 80.02 kB / 450.6 MB, free: 82.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.479e-05/0.4463, allocations: 15.95 kB / 450.6 MB, free: 82.9 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.434e-05/0.4463, allocations: 105.4 kB / 450.7 MB, free: 82.88 MB / 378.7 MB Notification: Performance of sort global known variables: time 3e-08/0.4463, allocations: 0 / 450.7 MB, free: 82.88 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001717/0.4481, allocations: 1.018 MB / 451.7 MB, free: 82.88 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (volume.medium.p,volume.medium.h,volume1.medium.p,volume1.medium.h) * Number of discrete variables: 14 (volume.medium.sat.liq.phase,volume.medium.sat.vap.phase,$cse7.phase,$cse10.phase,$cse11.phase,$cse12.phase,volume.medium.state.phase,fixedMassFlowRate.medium.state.phase,fixedMassFlowRate.medium.sat.liq.phase,fixedMassFlowRate.medium.sat.vap.phase,ambient.medium.state.phase,volume1.medium.state.phase,volume1.medium.sat.liq.phase,volume1.medium.sat.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002475/0.4505, allocations: 1.468 MB / 453.2 MB, free: 82.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001369/0.4519, allocations: 0.9584 MB / 454.1 MB, free: 82.36 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.366e-05/0.4519, allocations: 7.688 kB / 454.1 MB, free: 82.36 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005133/0.4524, allocations: 0.5893 MB / 454.7 MB, free: 82.08 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001159/0.4536, allocations: 0.5238 MB / 455.2 MB, free: 81.99 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001615/0.4552, allocations: 1.372 MB / 456.6 MB, free: 81.39 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001143/0.4553, allocations: 176.4 kB / 456.8 MB, free: 81.31 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003795/0.4557, allocations: 170.5 kB / 456.9 MB, free: 81.29 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005139/0.4562, allocations: 344.9 kB / 457.3 MB, free: 81.23 MB / 378.7 MB Notification: Performance of SimCode: time 1.493e-06/0.4562, allocations: 0 / 457.3 MB, free: 81.23 MB / 378.7 MB Notification: Performance of Templates: time 0.03954/0.4958, allocations: 47.2 MB / 0.4927 GB, free: 38.77 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.944725776091218]