Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary") translateModel(HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009718/0.0009718, allocations: 90.52 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008277/0.008277, allocations: 171.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.442/1.442, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04515/0.04515, allocations: 9.075 MB / 279.8 MB, free: 12.15 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000502/0.0005021, allocations: 16.2 kB / 339.7 MB, free: 25.64 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08056/0.08109, allocations: 49.2 MB / 388.9 MB, free: 8.398 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary): time 0.01987/0.101, allocations: 19.45 MB / 408.4 MB, free: 4.867 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01631/0.1174, allocations: 17.18 MB / 425.6 MB, free: 3.637 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004097/0.1178, allocations: 0 / 425.6 MB, free: 3.637 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001342/0.1192, allocations: 0.5177 MB / 426.1 MB, free: 3.117 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1784/0.2976, allocations: 4.505 MB / 430.6 MB, free: 14.62 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002612/0.3002, allocations: 0.85 MB / 431.4 MB, free: 14.62 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001192/0.3014, allocations: 0.776 MB / 432.2 MB, free: 14.62 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.3015, allocations: 41.36 kB / 432.2 MB, free: 14.61 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007573/0.3023, allocations: 327.4 kB / 432.6 MB, free: 14.61 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006463/0.3029, allocations: 307.8 kB / 432.9 MB, free: 14.61 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.708e-05/0.303, allocations: 29.94 kB / 432.9 MB, free: 14.61 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01753/0.3206, allocations: 8.793 MB / 441.7 MB, free: 14.25 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001868/0.3208, allocations: 91.17 kB / 441.8 MB, free: 14.24 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006194/0.3214, allocations: 301.4 kB / 442.1 MB, free: 14.21 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0106/0.3321, allocations: 3.966 MB / 446 MB, free: 13.33 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3321, allocations: 0 / 446 MB, free: 13.33 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3321, allocations: 0 / 446 MB, free: 13.33 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.84e-05/0.3321, allocations: 0 / 446 MB, free: 13.33 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.002638/0.3348, allocations: 1.165 MB / 447.2 MB, free: 12.51 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.3348, allocations: 9.5 kB / 447.2 MB, free: 12.51 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004816/0.3353, allocations: 93.12 kB / 447.3 MB, free: 12.47 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001799/0.3355, allocations: 229 kB / 447.5 MB, free: 12.22 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.778e-05/0.3355, allocations: 22.12 kB / 447.5 MB, free: 12.22 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.032e-05/0.3356, allocations: 30.47 kB / 447.6 MB, free: 12.22 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001391/0.337, allocations: 1.262 MB / 448.8 MB, free: 12 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.337, allocations: 0 / 448.8 MB, free: 12 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.747e-05/0.3371, allocations: 18.44 kB / 448.9 MB, free: 12 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.442e-05/0.3371, allocations: 29.42 kB / 448.9 MB, free: 11.99 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002304/0.3394, allocations: 2.323 MB / 451.2 MB, free: 11.75 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002326/0.3418, allocations: 2.161 MB / 453.4 MB, free: 11.12 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001245/0.343, allocations: 1.356 MB / 454.7 MB, free: 10.64 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009528/0.344, allocations: 1.287 MB / 456 MB, free: 9.863 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01772/0.3617, allocations: 10.9 MB / 466.9 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.031e-05/0.3618, allocations: 47.12 kB / 467 MB, free: 14.6 MB / 334.1 MB Notification: Performance of pre-optimization done (n=185): time 2.745e-06/0.3618, allocations: 0 / 467 MB, free: 14.6 MB / 334.1 MB Notification: Performance of matching and sorting (n=185): time 0.004619/0.3664, allocations: 3.611 MB / 470.6 MB, free: 10.98 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.943e-05/0.3665, allocations: 59.95 kB / 470.6 MB, free: 10.91 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.3666, allocations: 114.5 kB / 470.7 MB, free: 10.79 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.515e-05/0.3667, allocations: 37.64 kB / 470.8 MB, free: 10.75 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.26e-05/0.3668, allocations: 83.08 kB / 470.9 MB, free: 10.66 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000514/0.3673, allocations: 0.5731 MB / 471.4 MB, free: 10.09 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/0.3674, allocations: 101.6 kB / 471.5 MB, free: 9.988 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.3675, allocations: 309.9 kB / 471.8 MB, free: 9.68 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001153/0.3687, allocations: 1.033 MB / 472.9 MB, free: 8.648 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001101/0.3698, allocations: 1.035 MB / 473.9 MB, free: 7.617 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002366/0.3722, allocations: 2.248 MB / 476.2 MB, free: 5.363 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.3722, allocations: 0 / 476.2 MB, free: 5.363 MB / 334.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.002727/0.3749, allocations: 2.344 MB / 478.5 MB, free: 3.012 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.375, allocations: 6.5 kB / 478.5 MB, free: 3.008 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.375, allocations: 0 / 478.5 MB, free: 3.008 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.375, allocations: 4 kB / 478.5 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006097/0.3756, allocations: 123.8 kB / 478.6 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.3756, allocations: 0 / 478.6 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004508/0.3761, allocations: 98.73 kB / 478.7 MB, free: 2.785 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-05/0.3761, allocations: 27.98 kB / 478.8 MB, free: 2.758 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (sat_pminus.vap.phase,sat_pminus.liq.phase,sat_pplus.vap.phase,sat_pplus.liq.phase,sat_Tminus.vap.phase,sat_Tminus.liq.phase,sat_Tplus.vap.phase,sat_Tplus.liq.phase,sat.vap.phase,sat.liq.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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.0002264/0.3764, allocations: 165.7 kB / 478.9 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001725/0.3766, allocations: 51 kB / 479 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003143/0.3797, allocations: 2.654 MB / 481.6 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.175e-05/0.3798, allocations: 29.28 kB / 481.6 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.3798, allocations: 4 kB / 481.6 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/0.3798, allocations: 7.922 kB / 481.7 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001176/0.381, allocations: 1.157 MB / 482.8 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/0.381, allocations: 3.938 kB / 482.8 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006445/0.3816, allocations: 147.8 kB / 483 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-06/0.3817, allocations: 0 / 483 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.723e-05/0.3817, allocations: 12 kB / 483 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.3817, allocations: 4 kB / 483 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.3817, allocations: 0 / 483 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002611/0.3843, allocations: 2.364 MB / 485.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002892/0.3846, allocations: 215.8 kB / 485.6 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.187e-05/0.3847, allocations: 20 kB / 485.6 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003996/0.3851, allocations: 27.98 kB / 485.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.3852, allocations: 48.92 kB / 485.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.124e-05/0.3853, allocations: 23.94 kB / 485.7 MB, free: 11.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.665e-05/0.3853, allocations: 91.56 kB / 485.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.2e-07/0.3853, allocations: 0 / 485.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002425/0.3878, allocations: 0.8746 MB / 486.6 MB, free: 10.81 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (sat.liq.phase,sat.vap.phase,sat_Tplus.liq.phase,sat_Tplus.vap.phase,sat_Tminus.liq.phase,sat_Tminus.vap.phase,sat_pplus.liq.phase,sat_pplus.vap.phase,sat_pminus.liq.phase,sat_pminus.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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.004154/0.3919, allocations: 1.313 MB / 487.9 MB, free: 9.645 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002681/0.3946, allocations: 2.369 MB / 490.3 MB, free: 7.273 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.3946, allocations: 0 / 490.3 MB, free: 7.273 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001295/0.3959, allocations: 1.264 MB / 491.6 MB, free: 6.012 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001968/0.3979, allocations: 343.8 kB / 491.9 MB, free: 5.684 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002219/0.4001, allocations: 1.963 MB / 493.9 MB, free: 3.691 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004013/0.4006, allocations: 0.8899 MB / 494.8 MB, free: 2.773 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005864/0.4012, allocations: 254.6 kB / 495 MB, free: 2.527 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001928/0.4014, allocations: 59.41 kB / 495.1 MB, free: 2.473 MB / 350.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4014, allocations: 0 / 495.1 MB, free: 2.473 MB / 350.1 MB Notification: Performance of Templates: time 0.05227/0.4536, allocations: 36.89 MB / 0.5195 GB, free: 13.67 MB / 398.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.makefile Environment - environmentSimulation: (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.pipe 2>&1) Environment - environmentSimulation: