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.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.001129/0.001129, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001465/0.001465, allocations: 173 kB / 23.49 MB, free: 1.059 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.9595/0.9595, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.03189/0.03189, allocations: 7.511 MB / 267.8 MB, free: 6.07 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.Validation.Derivatives_SaturationBoundary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary") translateModel(HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 338.7 MB, free: 11.27 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.856e-05/2.033e-05, allocations: 2.312 kB / 338.7 MB, free: 11.27 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary): time 0.01373/0.01375, allocations: 19.84 MB / 358.6 MB, free: 7.344 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01241/0.02616, allocations: 17.22 MB / 375.8 MB, free: 6.07 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003429/0.0265, allocations: 7.938 kB / 375.8 MB, free: 6.062 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001046/0.02755, allocations: 0.5141 MB / 376.3 MB, free: 5.547 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009352/0.0369, allocations: 5.631 MB / 381.9 MB, free: 15.89 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001854/0.03876, allocations: 1.108 MB / 383 MB, free: 14.78 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006659/0.03942, allocations: 0.8287 MB / 383.9 MB, free: 13.95 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.116e-05/0.03949, allocations: 29.97 kB / 383.9 MB, free: 13.91 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003755/0.03987, allocations: 478.7 kB / 384.4 MB, free: 13.44 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002196/0.04009, allocations: 235.3 kB / 384.6 MB, free: 13.21 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.553e-05/0.04012, allocations: 36 kB / 384.6 MB, free: 13.18 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008222/0.04835, allocations: 6.649 MB / 391.3 MB, free: 6.512 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.712e-05/0.04841, allocations: 91.52 kB / 391.4 MB, free: 6.422 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001607/0.04857, allocations: 187.5 kB / 391.6 MB, free: 6.238 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00627/0.05484, allocations: 3.849 MB / 395.4 MB, free: 2.379 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.05485, allocations: 0 / 395.4 MB, free: 2.379 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.05485, allocations: 0 / 395.4 MB, free: 2.379 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.533e-06/0.05486, allocations: 0 / 395.4 MB, free: 2.379 MB / 314.7 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.001639/0.0565, allocations: 1.264 MB / 396.7 MB, free: 1.07 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.05653, allocations: 12.62 kB / 396.7 MB, free: 1.059 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003879/0.05692, allocations: 171.3 kB / 396.8 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.05704, allocations: 171.3 kB / 397 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.462e-05/0.05707, allocations: 20.66 kB / 397 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.572e-05/0.0571, allocations: 28 kB / 397.1 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006575/0.05776, allocations: 0.6138 MB / 397.7 MB, free: 24 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.05777, allocations: 3.984 kB / 397.7 MB, free: 20 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.675e-05/0.0578, allocations: 12 kB / 397.7 MB, free: 8 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.473e-05/0.05783, allocations: 27.95 kB / 397.7 MB, free: 15.98 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008236/0.05866, allocations: 0.928 MB / 398.6 MB, free: 15.05 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00118/0.05984, allocations: 1.375 MB / 400 MB, free: 13.64 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005858/0.06042, allocations: 0.5654 MB / 400.6 MB, free: 13.06 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006568/0.06108, allocations: 0.4924 MB / 401.1 MB, free: 12.57 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008481/0.06956, allocations: 3.755 MB / 404.8 MB, free: 8.812 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.06959, allocations: 42.05 kB / 404.9 MB, free: 8.762 MB / 330.7 MB Notification: Performance of pre-optimization done (n=185): time 2.154e-06/0.06959, allocations: 0 / 404.9 MB, free: 8.762 MB / 330.7 MB Notification: Performance of matching and sorting (n=185): time 0.001802/0.07139, allocations: 2 MB / 406.9 MB, free: 6.754 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.368e-05/0.07143, allocations: 64.05 kB / 406.9 MB, free: 6.68 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.504e-05/0.07151, allocations: 173.9 kB / 407.1 MB, free: 6.492 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.974e-05/0.07154, allocations: 37.7 kB / 407.1 MB, free: 6.449 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.86e-05/0.07159, allocations: 133.8 kB / 407.3 MB, free: 6.312 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002857/0.07188, allocations: 0.6118 MB / 407.9 MB, free: 5.695 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001541/0.07203, allocations: 191.9 kB / 408.1 MB, free: 5.5 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003348/0.07237, allocations: 488.4 kB / 408.6 MB, free: 5.016 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003756/0.07274, allocations: 426.6 kB / 409 MB, free: 4.598 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003895/0.07313, allocations: 444.5 kB / 409.4 MB, free: 4.168 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008791/0.07401, allocations: 1.047 MB / 410.5 MB, free: 3.117 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.07401, allocations: 3.938 kB / 410.5 MB, free: 3.113 MB / 330.7 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.001173/0.07519, allocations: 1.296 MB / 411.8 MB, free: 1.816 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.0752, allocations: 7.938 kB / 411.8 MB, free: 1.809 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.07521, allocations: 0 / 411.8 MB, free: 1.809 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.07523, allocations: 4 kB / 411.8 MB, free: 1.805 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003039/0.07553, allocations: 115.9 kB / 411.9 MB, free: 1.691 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.07554, allocations: 4 kB / 411.9 MB, free: 1.688 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001639/0.0757, allocations: 83.23 kB / 412 MB, free: 1.605 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.879e-05/0.07573, allocations: 19.98 kB / 412 MB, free: 1.586 MB / 330.7 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.0001325/0.07586, allocations: 196.4 kB / 412.2 MB, free: 1.383 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001513/0.07602, allocations: 115.5 kB / 412.3 MB, free: 1.27 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1076/0.1836, allocations: 1.56 MB / 413.8 MB, free: 83.91 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.9e-05/0.1837, allocations: 31.03 kB / 413.9 MB, free: 83.91 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.1837, allocations: 1.312 kB / 413.9 MB, free: 83.91 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.569e-05/0.1837, allocations: 7.906 kB / 413.9 MB, free: 83.91 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005988/0.1843, allocations: 0.6532 MB / 414.5 MB, free: 83.76 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.207e-06/0.1843, allocations: 3.75 kB / 414.5 MB, free: 83.76 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003538/0.1847, allocations: 131.1 kB / 414.7 MB, free: 83.76 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.1847, allocations: 3.969 kB / 414.7 MB, free: 83.76 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.98e-05/0.1847, allocations: 22.14 kB / 414.7 MB, free: 83.76 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.1847, allocations: 3.781 kB / 414.7 MB, free: 83.76 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.1847, allocations: 0 / 414.7 MB, free: 83.76 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001402/0.1861, allocations: 1.523 MB / 416.2 MB, free: 83.44 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001553/0.1863, allocations: 149 kB / 416.4 MB, free: 83.38 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.61e-05/0.1863, allocations: 16.12 kB / 416.4 MB, free: 83.37 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001807/0.1865, allocations: 20.02 kB / 416.4 MB, free: 83.36 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.738e-05/0.1866, allocations: 53.55 kB / 416.5 MB, free: 83.35 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.524e-05/0.1866, allocations: 19.12 kB / 416.5 MB, free: 83.35 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.979e-05/0.1866, allocations: 132.2 kB / 416.6 MB, free: 83.23 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1866, allocations: 2.062 kB / 416.6 MB, free: 83.23 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001678/0.1883, allocations: 0.8965 MB / 417.5 MB, free: 83.14 MB / 330.7 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.002517/0.1908, allocations: 1.406 MB / 418.9 MB, free: 82.86 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001048/0.1919, allocations: 1.113 MB / 420 MB, free: 82.75 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1919, allocations: 0 / 420 MB, free: 82.75 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004434/0.1923, allocations: 0.6009 MB / 420.6 MB, free: 82.6 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000959/0.1933, allocations: 355.9 kB / 421 MB, free: 82.38 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/0.1946, allocations: 1.135 MB / 422.1 MB, free: 81.32 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.86e-05/0.1947, allocations: 161.7 kB / 422.3 MB, free: 81.16 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003599/0.1951, allocations: 256.5 kB / 422.5 MB, free: 81.01 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001249/0.1952, allocations: 60.23 kB / 422.6 MB, free: 80.96 MB / 330.7 MB Notification: Performance of SimCode: time 1.202e-06/0.1952, allocations: 0 / 422.6 MB, free: 80.96 MB / 330.7 MB Notification: Performance of Templates: time 0.02903/0.2242, allocations: 39.48 MB / 462.1 MB, free: 42.26 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.makefile [Timeout 660] (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=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.89419186511077]