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.00157/0.00157, allocations: 92.22 kB / 19.65 MB, free: 276 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.001298/0.001298, allocations: 169 kB / 23.02 MB, free: 1.551 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.9397/0.9397, allocations: 177.1 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.03667/0.03667, allocations: 7.52 MB / 267.5 MB, free: 5.992 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 2.875e-06/2.875e-06, allocations: 0 / 338.7 MB, free: 10.92 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.673e-05/2.961e-05, allocations: 2.312 kB / 338.7 MB, free: 10.92 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary): time 0.01527/0.0153, allocations: 19.87 MB / 358.6 MB, free: 6.973 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01334/0.02864, allocations: 17.22 MB / 375.8 MB, free: 5.703 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005054/0.02914, allocations: 7.938 kB / 375.8 MB, free: 5.695 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001449/0.03059, allocations: 0.518 MB / 376.3 MB, free: 5.176 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01039/0.04099, allocations: 5.639 MB / 381.9 MB, free: 15.51 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002372/0.04336, allocations: 1.104 MB / 383 MB, free: 14.4 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001121/0.04448, allocations: 0.8248 MB / 383.9 MB, free: 13.57 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.313e-05/0.04456, allocations: 33.95 kB / 383.9 MB, free: 13.54 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004502/0.04501, allocations: 478.7 kB / 384.4 MB, free: 13.07 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000244/0.04526, allocations: 235.3 kB / 384.6 MB, free: 12.84 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.018e-05/0.0453, allocations: 28 kB / 384.6 MB, free: 12.81 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009665/0.05496, allocations: 6.653 MB / 391.3 MB, free: 6.141 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.946e-05/0.05505, allocations: 91.52 kB / 391.4 MB, free: 6.051 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003253/0.05538, allocations: 191.5 kB / 391.6 MB, free: 5.863 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007971/0.06335, allocations: 3.853 MB / 395.4 MB, free: 2 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.06335, allocations: 0 / 395.4 MB, free: 2 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.306e-06/0.06335, allocations: 7.984 kB / 395.4 MB, free: 1.992 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.06336, allocations: 0 / 395.4 MB, free: 1.992 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.002105/0.06547, allocations: 1.264 MB / 396.7 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.06552, allocations: 8.625 kB / 396.7 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003998/0.06592, allocations: 171.3 kB / 396.9 MB, free: 0.5078 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.06604, allocations: 167.3 kB / 397 MB, free: 324 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.06606, allocations: 16.66 kB / 397 MB, free: 308 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.746e-05/0.0661, allocations: 32 kB / 397.1 MB, free: 276 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006508/0.06675, allocations: 0.6099 MB / 397.7 MB, free: 15.65 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.06676, allocations: 4 kB / 397.7 MB, free: 15.64 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.539e-05/0.06679, allocations: 12 kB / 397.7 MB, free: 15.63 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.702e-05/0.06681, allocations: 35.94 kB / 397.7 MB, free: 15.6 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001091/0.0679, allocations: 0.9202 MB / 398.6 MB, free: 14.68 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001236/0.06914, allocations: 1.371 MB / 400 MB, free: 13.27 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005758/0.06972, allocations: 0.5693 MB / 400.6 MB, free: 12.69 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004292/0.07015, allocations: 0.4924 MB / 401.1 MB, free: 12.2 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00872/0.07887, allocations: 3.747 MB / 404.8 MB, free: 8.445 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.0789, allocations: 42.05 kB / 404.9 MB, free: 8.395 MB / 330.7 MB Notification: Performance of pre-optimization done (n=185): time 2.465e-06/0.0789, allocations: 0 / 404.9 MB, free: 8.395 MB / 330.7 MB Notification: Performance of matching and sorting (n=185): time 0.002204/0.0811, allocations: 2.008 MB / 406.9 MB, free: 6.379 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/0.08113, allocations: 64.06 kB / 406.9 MB, free: 6.305 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.205e-05/0.08121, allocations: 169.9 kB / 407.1 MB, free: 6.121 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/0.08124, allocations: 41.7 kB / 407.1 MB, free: 6.074 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.124e-05/0.08128, allocations: 129.8 kB / 407.3 MB, free: 5.941 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002951/0.08158, allocations: 0.6196 MB / 407.9 MB, free: 5.316 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001563/0.08174, allocations: 187.9 kB / 408.1 MB, free: 5.125 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.08184, allocations: 484.4 kB / 408.5 MB, free: 4.645 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003742/0.08221, allocations: 426.6 kB / 409 MB, free: 4.227 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003853/0.0826, allocations: 444.5 kB / 409.4 MB, free: 3.797 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008861/0.08348, allocations: 1.047 MB / 410.4 MB, free: 2.746 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.08349, allocations: 11.88 kB / 410.5 MB, free: 2.734 MB / 330.7 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.001181/0.08467, allocations: 1.296 MB / 411.8 MB, free: 1.438 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.08469, allocations: 4 kB / 411.8 MB, free: 1.434 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.0847, allocations: 4 kB / 411.8 MB, free: 1.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.08472, allocations: 0 / 411.8 MB, free: 1.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003316/0.08505, allocations: 115.9 kB / 411.9 MB, free: 1.316 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.08506, allocations: 3.938 kB / 411.9 MB, free: 1.312 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001713/0.08523, allocations: 83.23 kB / 412 MB, free: 1.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.124e-05/0.08526, allocations: 23.98 kB / 412 MB, free: 1.207 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.0001454/0.0854, allocations: 197.1 kB / 412.2 MB, free: 1.004 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001498/0.08555, allocations: 119.5 kB / 412.3 MB, free: 0.8867 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1157/0.2013, allocations: 1.562 MB / 413.9 MB, free: 79.69 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.88e-05/0.2013, allocations: 28.66 kB / 413.9 MB, free: 79.69 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.2013, allocations: 0.7969 kB / 413.9 MB, free: 79.69 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/0.2013, allocations: 9.703 kB / 413.9 MB, free: 79.69 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004792/0.2018, allocations: 0.648 MB / 414.5 MB, free: 79.54 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.2018, allocations: 3.562 kB / 414.5 MB, free: 79.54 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003382/0.2022, allocations: 135.2 kB / 414.7 MB, free: 79.54 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.2022, allocations: 5.844 kB / 414.7 MB, free: 79.54 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.598e-05/0.2022, allocations: 21.59 kB / 414.7 MB, free: 79.54 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.379e-06/0.2022, allocations: 3.469 kB / 414.7 MB, free: 79.54 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.2022, allocations: 0.5625 kB / 414.7 MB, free: 79.54 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001358/0.2035, allocations: 1.518 MB / 416.2 MB, free: 79.21 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001556/0.2037, allocations: 148.2 kB / 416.4 MB, free: 79.17 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.195e-05/0.2037, allocations: 14.34 kB / 416.4 MB, free: 79.17 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001778/0.2039, allocations: 24.47 kB / 416.4 MB, free: 79.17 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.986e-05/0.204, allocations: 55.56 kB / 416.5 MB, free: 79.17 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.004e-05/0.204, allocations: 22.28 kB / 416.5 MB, free: 79.17 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.574e-05/0.2041, allocations: 130.4 kB / 416.6 MB, free: 79.05 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2041, allocations: 1.594 kB / 416.6 MB, free: 79.05 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001919/0.206, allocations: 0.897 MB / 417.5 MB, free: 79.05 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.002486/0.2085, allocations: 1.409 MB / 418.9 MB, free: 78.88 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001003/0.2095, allocations: 1.113 MB / 420 MB, free: 78.84 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2095, allocations: 0 / 420 MB, free: 78.84 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004072/0.2099, allocations: 0.5992 MB / 420.6 MB, free: 78.82 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008914/0.2108, allocations: 356 kB / 421 MB, free: 78.72 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/0.2121, allocations: 1.134 MB / 422.1 MB, free: 77.79 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.132e-05/0.2122, allocations: 162.5 kB / 422.3 MB, free: 77.62 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003551/0.2125, allocations: 256.1 kB / 422.5 MB, free: 77.48 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/0.2126, allocations: 58.44 kB / 422.6 MB, free: 77.43 MB / 330.7 MB Notification: Performance of SimCode: time 8.02e-07/0.2126, allocations: 0 / 422.6 MB, free: 77.43 MB / 330.7 MB Notification: Performance of Templates: time 0.02945/0.2421, allocations: 39.48 MB / 462.1 MB, free: 39.41 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.1140627739951015]