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.0009919/0.0009919, allocations: 93.06 kB / 19.65 MB, free: 280 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.001022/0.001022, allocations: 169.3 kB / 23.02 MB, free: 1.547 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.9161/0.9161, allocations: 177.2 MB / 203.4 MB, free: 5.625 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.04258/0.04258, allocations: 7.518 MB / 267.5 MB, free: 6 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.904e-06/1.904e-06, allocations: 0 / 338.7 MB, free: 10.94 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.091e-05/2.281e-05, allocations: 4.703 kB / 338.7 MB, free: 10.93 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary): time 0.01374/0.01376, allocations: 19.87 MB / 358.6 MB, free: 6.988 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0111/0.02486, allocations: 17.23 MB / 375.8 MB, free: 5.707 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000159/0.02502, allocations: 0 / 375.8 MB, free: 5.707 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009917/0.02602, allocations: 0.5296 MB / 376.3 MB, free: 5.176 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009078/0.03509, allocations: 5.631 MB / 382 MB, free: 15.52 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002181/0.03727, allocations: 1.108 MB / 383.1 MB, free: 14.41 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006995/0.03797, allocations: 0.8287 MB / 383.9 MB, free: 13.57 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.428e-05/0.03805, allocations: 29.97 kB / 383.9 MB, free: 13.54 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004889/0.03854, allocations: 478.7 kB / 384.4 MB, free: 13.07 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002818/0.03882, allocations: 235.3 kB / 384.6 MB, free: 12.84 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.339e-05/0.03886, allocations: 28 kB / 384.6 MB, free: 12.81 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008671/0.04753, allocations: 6.657 MB / 391.3 MB, free: 6.141 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.369e-05/0.0476, allocations: 95.52 kB / 391.4 MB, free: 6.047 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001713/0.04777, allocations: 187.5 kB / 391.6 MB, free: 5.863 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004558/0.05233, allocations: 3.849 MB / 395.4 MB, free: 2.004 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.05233, allocations: 0 / 395.4 MB, free: 2.004 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.05233, allocations: 0 / 395.4 MB, free: 2.004 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.05234, allocations: 0 / 395.4 MB, free: 2.004 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.001552/0.05389, allocations: 1.268 MB / 396.7 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.05393, allocations: 8.625 kB / 396.7 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004127/0.05434, allocations: 171.3 kB / 396.9 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.05447, allocations: 179.3 kB / 397 MB, free: 320 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.515e-05/0.05449, allocations: 20.66 kB / 397.1 MB, free: 300 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.192e-05/0.05453, allocations: 27.94 kB / 397.1 MB, free: 272 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007855/0.05532, allocations: 0.61 MB / 397.7 MB, free: 15.64 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.05533, allocations: 0 / 397.7 MB, free: 15.64 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.217e-05/0.05536, allocations: 11.98 kB / 397.7 MB, free: 15.63 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.553e-05/0.05539, allocations: 23.97 kB / 397.7 MB, free: 15.61 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001021/0.05641, allocations: 0.9241 MB / 398.7 MB, free: 14.68 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001627/0.05804, allocations: 1.379 MB / 400 MB, free: 13.27 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006841/0.05872, allocations: 0.5654 MB / 400.6 MB, free: 12.69 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005155/0.05924, allocations: 0.4963 MB / 401.1 MB, free: 12.2 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01353/0.07276, allocations: 3.763 MB / 404.9 MB, free: 8.43 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.07279, allocations: 42.05 kB / 404.9 MB, free: 8.379 MB / 330.7 MB Notification: Performance of pre-optimization done (n=185): time 2.795e-06/0.0728, allocations: 0 / 404.9 MB, free: 8.379 MB / 330.7 MB Notification: Performance of matching and sorting (n=185): time 0.005479/0.07828, allocations: 1.996 MB / 406.9 MB, free: 6.375 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.07831, allocations: 60.06 kB / 407 MB, free: 6.305 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.365e-05/0.07839, allocations: 173.9 kB / 407.1 MB, free: 6.117 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.425e-05/0.07843, allocations: 37.7 kB / 407.2 MB, free: 6.074 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.229e-05/0.07847, allocations: 133.8 kB / 407.3 MB, free: 5.938 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003413/0.07881, allocations: 0.6196 MB / 407.9 MB, free: 5.312 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003205/0.08202, allocations: 187.9 kB / 408.1 MB, free: 5.121 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.08212, allocations: 484.4 kB / 408.6 MB, free: 4.641 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004777/0.0826, allocations: 434.5 kB / 409 MB, free: 4.215 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004927/0.08309, allocations: 440.5 kB / 409.4 MB, free: 3.789 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001126/0.08422, allocations: 1.05 MB / 410.5 MB, free: 2.734 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.08422, allocations: 7.875 kB / 410.5 MB, free: 2.727 MB / 330.7 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.004516/0.08874, allocations: 1.296 MB / 411.8 MB, free: 1.43 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.08875, allocations: 8 kB / 411.8 MB, free: 1.422 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.08876, allocations: 4 kB / 411.8 MB, free: 1.418 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.08877, allocations: 0 / 411.8 MB, free: 1.418 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004003/0.08917, allocations: 115.8 kB / 411.9 MB, free: 1.305 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.08918, allocations: 0 / 411.9 MB, free: 1.305 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002146/0.08939, allocations: 83.25 kB / 412 MB, free: 1.223 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.251e-05/0.08944, allocations: 27.97 kB / 412 MB, free: 1.195 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.0001477/0.08958, allocations: 184.5 kB / 412.2 MB, free: 1.004 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001871/0.08977, allocations: 119.5 kB / 412.3 MB, free: 0.8867 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1198/0.2096, allocations: 1.555 MB / 413.9 MB, free: 79.88 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-05/0.2096, allocations: 24.72 kB / 413.9 MB, free: 79.88 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.2096, allocations: 1.219 kB / 413.9 MB, free: 79.88 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.176e-06/0.2096, allocations: 4.312 kB / 413.9 MB, free: 79.88 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004684/0.2101, allocations: 0.6568 MB / 414.6 MB, free: 79.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.2101, allocations: 6.25 kB / 414.6 MB, free: 79.73 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000331/0.2104, allocations: 135.6 kB / 414.7 MB, free: 79.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.2104, allocations: 2 kB / 414.7 MB, free: 79.73 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.58e-05/0.2104, allocations: 18.34 kB / 414.7 MB, free: 79.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.2104, allocations: 2 kB / 414.7 MB, free: 79.73 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.2104, allocations: 5.031 kB / 414.7 MB, free: 79.73 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001216/0.2117, allocations: 1.526 MB / 416.2 MB, free: 79.4 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/0.2118, allocations: 145.2 kB / 416.4 MB, free: 79.36 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.441e-05/0.2118, allocations: 14.62 kB / 416.4 MB, free: 79.36 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001523/0.212, allocations: 22.27 kB / 416.4 MB, free: 79.36 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.532e-05/0.212, allocations: 48.3 kB / 416.5 MB, free: 79.36 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.571e-05/0.2121, allocations: 24.28 kB / 416.5 MB, free: 79.36 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.399e-05/0.2121, allocations: 126.9 kB / 416.6 MB, free: 79.25 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2121, allocations: 0 / 416.6 MB, free: 79.25 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001663/0.2138, allocations: 0.8984 MB / 417.5 MB, free: 79.24 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.002632/0.2164, allocations: 1.413 MB / 418.9 MB, free: 79.02 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00115/0.2175, allocations: 1.122 MB / 420.1 MB, free: 78.98 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.2175, allocations: 0 / 420.1 MB, free: 78.98 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004048/0.2179, allocations: 0.5932 MB / 420.6 MB, free: 78.96 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009479/0.2189, allocations: 371 kB / 421 MB, free: 78.81 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.2202, allocations: 1.12 MB / 422.1 MB, free: 77.88 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.378e-05/0.2203, allocations: 165.8 kB / 422.3 MB, free: 77.71 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003569/0.2207, allocations: 255.7 kB / 422.5 MB, free: 77.57 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/0.2208, allocations: 59.3 kB / 422.6 MB, free: 77.52 MB / 330.7 MB Notification: Performance of SimCode: time 9.82e-07/0.2208, allocations: 0 / 422.6 MB, free: 77.52 MB / 330.7 MB Notification: Performance of Templates: time 0.03784/0.2587, allocations: 47.94 MB / 470.5 MB, free: 31.19 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: 4.618399480823427]