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.001109/0.001109, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001182/0.001182, allocations: 193.8 kB / 16.13 MB, free: 6.652 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.276/1.276, allocations: 205.1 MB / 222 MB, free: 4.762 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04303/0.04303, allocations: 9.086 MB / 278.4 MB, free: 12.38 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.001236/0.001236, allocations: 59.92 kB / 337.3 MB, free: 25.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07778/0.07903, allocations: 48.17 MB / 385.5 MB, free: 9.684 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary): time 0.01949/0.09856, allocations: 20.01 MB / 405.5 MB, free: 5.586 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01503/0.1136, allocations: 17.37 MB / 422.9 MB, free: 4.156 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003629/0.114, allocations: 0 / 422.9 MB, free: 4.156 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001259/0.1153, allocations: 0.5177 MB / 423.4 MB, free: 3.637 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1618/0.2772, allocations: 4.486 MB / 427.9 MB, free: 15.12 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002499/0.2797, allocations: 0.8551 MB / 428.7 MB, free: 15.11 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009121/0.2806, allocations: 0.7788 MB / 429.5 MB, free: 15.11 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.2807, allocations: 44.19 kB / 429.6 MB, free: 15.1 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005467/0.2813, allocations: 321.6 kB / 429.9 MB, free: 15.1 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003597/0.2817, allocations: 304.8 kB / 430.2 MB, free: 15.1 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.326e-05/0.2817, allocations: 29.03 kB / 430.2 MB, free: 15.1 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01576/0.2975, allocations: 8.802 MB / 439 MB, free: 15.04 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001712/0.2977, allocations: 89.27 kB / 439.1 MB, free: 15.04 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000537/0.2983, allocations: 277.4 kB / 439.4 MB, free: 14.98 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01152/0.3098, allocations: 3.974 MB / 443.3 MB, free: 14.38 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.3099, allocations: 0 / 443.3 MB, free: 14.38 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3099, allocations: 1.219 kB / 443.3 MB, free: 14.38 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.263e-05/0.3099, allocations: 0 / 443.3 MB, free: 14.38 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.00427/0.3142, allocations: 1.2 MB / 444.5 MB, free: 13.56 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.703e-05/0.3142, allocations: 12.81 kB / 444.5 MB, free: 13.56 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006039/0.3148, allocations: 94.09 kB / 444.6 MB, free: 13.51 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002829/0.3151, allocations: 214.3 kB / 444.8 MB, free: 13.27 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.453e-05/0.3152, allocations: 24.09 kB / 444.9 MB, free: 13.27 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.275e-05/0.3153, allocations: 25.03 kB / 444.9 MB, free: 13.27 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00162/0.3169, allocations: 1.268 MB / 446.2 MB, free: 13.05 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.3169, allocations: 0 / 446.2 MB, free: 13.05 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.886e-05/0.317, allocations: 16.25 kB / 446.2 MB, free: 13.05 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.815e-05/0.317, allocations: 25.59 kB / 446.2 MB, free: 13.05 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002407/0.3194, allocations: 2.312 MB / 448.5 MB, free: 12.81 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002332/0.3218, allocations: 2.159 MB / 450.7 MB, free: 12.12 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001245/0.323, allocations: 1.349 MB / 452 MB, free: 11.3 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009466/0.324, allocations: 1.282 MB / 453.3 MB, free: 10.53 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01818/0.3422, allocations: 11.21 MB / 464.5 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.796e-05/0.3423, allocations: 39.12 kB / 464.6 MB, free: 15.06 MB / 334.1 MB Notification: Performance of pre-optimization done (n=185): time 2.625e-06/0.3423, allocations: 0 / 464.6 MB, free: 15.06 MB / 334.1 MB Notification: Performance of matching and sorting (n=185): time 0.003923/0.3462, allocations: 3.6 MB / 468.2 MB, free: 11.46 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/0.3462, allocations: 63.91 kB / 468.2 MB, free: 11.38 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.472e-05/0.3463, allocations: 105.8 kB / 468.3 MB, free: 11.27 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.275e-05/0.3464, allocations: 45.69 kB / 468.4 MB, free: 11.22 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.49e-05/0.3464, allocations: 83.08 kB / 468.4 MB, free: 11.13 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003457/0.3468, allocations: 0.5806 MB / 469 MB, free: 10.56 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001898/0.347, allocations: 158.2 kB / 469.2 MB, free: 10.4 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.3471, allocations: 313.9 kB / 469.5 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001015/0.3481, allocations: 1.018 MB / 470.5 MB, free: 9.07 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001048/0.3492, allocations: 1.031 MB / 471.5 MB, free: 8.039 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002281/0.3515, allocations: 2.237 MB / 473.8 MB, free: 5.801 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.3515, allocations: 0 / 473.8 MB, free: 5.801 MB / 334.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.002584/0.3541, allocations: 2.332 MB / 476.1 MB, free: 3.461 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.3541, allocations: 6.344 kB / 476.1 MB, free: 3.457 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.3541, allocations: 7.984 kB / 476.1 MB, free: 3.449 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.3541, allocations: 0 / 476.1 MB, free: 3.449 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005991/0.3547, allocations: 115.9 kB / 476.2 MB, free: 3.336 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.3548, allocations: 11.47 kB / 476.2 MB, free: 3.328 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003696/0.3551, allocations: 87.91 kB / 476.3 MB, free: 3.242 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.59e-05/0.3552, allocations: 29.78 kB / 476.4 MB, free: 3.215 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.0002066/0.3554, allocations: 166.8 kB / 476.5 MB, free: 3.043 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001478/0.3556, allocations: 51.25 kB / 476.6 MB, free: 2.992 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002889/0.3585, allocations: 2.638 MB / 479.2 MB, free: 356 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-05/0.3585, allocations: 27.5 kB / 479.2 MB, free: 332 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.3585, allocations: 3.938 kB / 479.2 MB, free: 328 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.3585, allocations: 11.86 kB / 479.3 MB, free: 316 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001108/0.3596, allocations: 1.168 MB / 480.4 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.3597, allocations: 0 / 480.4 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006238/0.3603, allocations: 131.9 kB / 480.5 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.3603, allocations: 4 kB / 480.6 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.911e-05/0.3603, allocations: 19.98 kB / 480.6 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.072e-06/0.3604, allocations: 7.938 kB / 480.6 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3604, allocations: 0 / 480.6 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002447/0.3628, allocations: 2.337 MB / 482.9 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00023/0.3631, allocations: 219.8 kB / 483.1 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.337e-05/0.3631, allocations: 15.94 kB / 483.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003446/0.3635, allocations: 19.98 kB / 483.2 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.3636, allocations: 52.92 kB / 483.2 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.157e-05/0.3636, allocations: 31.92 kB / 483.2 MB, free: 12.26 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.994e-05/0.3637, allocations: 83.28 kB / 483.3 MB, free: 12.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3637, allocations: 0 / 483.3 MB, free: 12.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002395/0.3661, allocations: 0.8785 MB / 484.2 MB, free: 11.3 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.003313/0.3694, allocations: 1.314 MB / 485.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002467/0.3719, allocations: 2.357 MB / 487.9 MB, free: 7.781 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.3719, allocations: 0 / 487.9 MB, free: 7.781 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001145/0.3731, allocations: 1.256 MB / 489.1 MB, free: 6.527 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001685/0.3748, allocations: 339.2 kB / 489.5 MB, free: 6.199 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002074/0.3768, allocations: 1.944 MB / 491.4 MB, free: 4.242 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003439/0.3772, allocations: 0.8899 MB / 492.3 MB, free: 3.324 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005623/0.3778, allocations: 246.2 kB / 492.5 MB, free: 3.09 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001846/0.378, allocations: 59.34 kB / 492.6 MB, free: 3.035 MB / 350.1 MB Notification: Performance of SimCode: time 4.4e-07/0.378, allocations: 0 / 492.6 MB, free: 3.035 MB / 350.1 MB Notification: Performance of Templates: time 0.04754/0.4255, allocations: 37.13 MB / 0.5173 GB, free: 14.01 MB / 398.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.makefile (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)