Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesHelium.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.0009219/0.0009219, allocations: 80.88 kB / 20.8 MB, free: 3.66 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.0008906/0.0008906, allocations: 165 kB / 24.23 MB, free: 244 kB / 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.8499/0.8499, allocations: 177.1 MB / 204.7 MB, free: 5.441 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.04329/0.04329, allocations: 11.4 MB / 272.6 MB, free: 2.164 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 3.0.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.Validation.Derivatives.CheckDerivativesHelium,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesHelium") translateModel(HelmholtzMedia.Validation.Derivatives.CheckDerivativesHelium,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesHelium") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 291.7 MB, free: 17.71 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.731e-05/1.888e-05, allocations: 4.562 kB / 291.7 MB, free: 17.7 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Derivatives.CheckDerivativesHelium): time 0.03635/0.03637, allocations: 59.04 MB / 350.8 MB, free: 13.93 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01608/0.05245, allocations: 25.67 MB / 376.5 MB, free: 4.188 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.782e-05/0.05248, allocations: 0 / 376.5 MB, free: 4.188 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004628/0.05295, allocations: 215 kB / 376.7 MB, free: 3.977 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02762/0.08057, allocations: 17.98 MB / 394.7 MB, free: 1.914 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002037/0.08078, allocations: 131.5 kB / 394.8 MB, free: 1.785 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001467/0.08092, allocations: 226.8 kB / 395 MB, free: 1.562 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.233e-05/0.08096, allocations: 13.77 kB / 395 MB, free: 1.551 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001232/0.08109, allocations: 131.6 kB / 395.1 MB, free: 1.422 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.408e-05/0.08115, allocations: 47.83 kB / 395.2 MB, free: 1.375 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.21e-05/0.08116, allocations: 4 kB / 395.2 MB, free: 1.371 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02276/0.1039, allocations: 17.37 MB / 412.6 MB, free: 15.96 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.933e-05/0.1039, allocations: 23.77 kB / 412.6 MB, free: 15.94 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.026e-05/0.104, allocations: 35.94 kB / 412.6 MB, free: 15.91 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01222/0.1162, allocations: 7.667 MB / 420.3 MB, free: 8.219 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1162, allocations: 0 / 420.3 MB, free: 8.219 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1162, allocations: 7.938 kB / 420.3 MB, free: 8.211 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.1162, allocations: 0 / 420.3 MB, free: 8.211 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.001259/0.1175, allocations: 1.331 MB / 421.6 MB, free: 6.848 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.769e-05/0.1175, allocations: 8.031 kB / 421.6 MB, free: 6.84 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001309/0.1176, allocations: 55.83 kB / 421.7 MB, free: 6.785 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.1178, allocations: 126 kB / 421.8 MB, free: 6.637 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.015e-06/0.1178, allocations: 4 kB / 421.8 MB, free: 6.633 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.664e-05/0.1178, allocations: 11.94 kB / 421.8 MB, free: 6.621 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001063/0.1179, allocations: 87.5 kB / 421.9 MB, free: 6.523 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.1179, allocations: 4 kB / 421.9 MB, free: 6.52 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.485e-06/0.1179, allocations: 4 kB / 421.9 MB, free: 6.516 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.1179, allocations: 7.984 kB / 421.9 MB, free: 6.508 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.209e-05/0.1179, allocations: 34.64 kB / 422 MB, free: 6.473 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002971/0.1182, allocations: 332.8 kB / 422.3 MB, free: 6.125 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.1184, allocations: 87.03 kB / 422.4 MB, free: 6.023 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.112e-05/0.1184, allocations: 34.94 kB / 422.4 MB, free: 5.984 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02191/0.1403, allocations: 18.76 MB / 441.2 MB, free: 3.207 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.1403, allocations: 38.56 kB / 441.2 MB, free: 3.16 MB / 394.7 MB Notification: Performance of pre-optimization done (n=24): time 1.653e-06/0.1403, allocations: 4 kB / 441.2 MB, free: 3.156 MB / 394.7 MB Notification: Performance of matching and sorting (n=24): time 0.0002121/0.1405, allocations: 126.5 kB / 441.3 MB, free: 3.027 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.1406, allocations: 89.03 kB / 441.4 MB, free: 2.922 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.817e-05/0.1406, allocations: 115.2 kB / 441.5 MB, free: 2.797 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.045e-05/0.1406, allocations: 29.7 kB / 441.6 MB, free: 2.762 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.669e-05/0.1407, allocations: 84.59 kB / 441.6 MB, free: 2.676 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.764e-05/0.1407, allocations: 91.23 kB / 441.7 MB, free: 2.586 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.648e-05/0.1407, allocations: 33.69 kB / 441.8 MB, free: 2.547 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.373e-05/0.1408, allocations: 322.8 kB / 442.1 MB, free: 2.223 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.81e-05/0.1408, allocations: 16 kB / 442.1 MB, free: 2.207 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.362e-05/0.1409, allocations: 45.69 kB / 442.1 MB, free: 2.156 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.236e-05/0.1409, allocations: 71.92 kB / 442.2 MB, free: 2.086 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1409, allocations: 0 / 442.2 MB, free: 2.086 MB / 394.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 9.763e-05/0.141, allocations: 101.6 kB / 442.3 MB, free: 1.98 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.141, allocations: 4 kB / 442.3 MB, free: 1.977 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.1411, allocations: 0 / 442.3 MB, free: 1.977 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.1411, allocations: 7.938 kB / 442.3 MB, free: 1.969 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.08e-05/0.1411, allocations: 27.92 kB / 442.4 MB, free: 1.941 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.785e-06/0.1411, allocations: 0 / 442.4 MB, free: 1.941 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.917e-05/0.1411, allocations: 11.89 kB / 442.4 MB, free: 1.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.1412, allocations: 11.94 kB / 442.4 MB, free: 1.918 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (state_p.phase,state_h.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 5.342e-05/0.1412, allocations: 109.8 kB / 442.5 MB, free: 1.801 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.11e-05/0.1412, allocations: 15.98 kB / 442.5 MB, free: 1.785 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009484/0.1422, allocations: 1.474 MB / 444 MB, free: 312 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1102/0.2524, allocations: 1.099 MB / 445.1 MB, free: 98.01 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.034e-06/0.2524, allocations: 0.6875 kB / 445.1 MB, free: 98.01 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.2524, allocations: 4.109 kB / 445.1 MB, free: 98.01 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001756/0.2541, allocations: 2.013 MB / 447.1 MB, free: 97.57 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.2541, allocations: 2.031 kB / 447.1 MB, free: 97.57 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001252/0.2543, allocations: 39.14 kB / 447.1 MB, free: 97.57 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.81e-06/0.2543, allocations: 2.906 kB / 447.1 MB, free: 97.57 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.2543, allocations: 7.141 kB / 447.1 MB, free: 97.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.2543, allocations: 6.641 kB / 447.1 MB, free: 97.57 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.2543, allocations: 0.8125 kB / 447.1 MB, free: 97.57 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001385/0.2557, allocations: 1.704 MB / 448.8 MB, free: 97.22 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.704e-05/0.2557, allocations: 89.86 kB / 448.9 MB, free: 97.18 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.2558, allocations: 7.656 kB / 448.9 MB, free: 97.18 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.403e-05/0.2558, allocations: 9 kB / 449 MB, free: 97.18 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.834e-05/0.2559, allocations: 16.25 kB / 449 MB, free: 97.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.2559, allocations: 7.891 kB / 449 MB, free: 97.18 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.514e-05/0.2559, allocations: 17.19 kB / 449 MB, free: 97.17 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.2559, allocations: 0 / 449 MB, free: 97.17 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001745/0.2576, allocations: 1.032 MB / 450 MB, free: 97.17 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (d_h_int,d_p_int) * Number of discrete variables: 8 (state_h.phase,$cse3.sat.vap.phase,$cse3.sat.liq.phase,$cse4.phase,state_p.phase,$cse1.sat.vap.phase,$cse1.sat.liq.phase,$cse2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.002898/0.2605, allocations: 1.881 MB / 451.9 MB, free: 97.09 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003818/0.2609, allocations: 444.8 kB / 452.3 MB, free: 97 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.2609, allocations: 0 / 452.3 MB, free: 97 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002018/0.2611, allocations: 367.8 kB / 452.7 MB, free: 96.98 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004961/0.2616, allocations: 145 kB / 452.8 MB, free: 96.97 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001462/0.2631, allocations: 1.457 MB / 454.3 MB, free: 96.52 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001021/0.2632, allocations: 172 kB / 454.5 MB, free: 96.44 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001199/0.2633, allocations: 27.58 kB / 454.5 MB, free: 96.43 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001805/0.2635, allocations: 144.9 kB / 454.6 MB, free: 96.38 MB / 394.7 MB Notification: Performance of SimCode: time 1.002e-06/0.2635, allocations: 0 / 454.6 MB, free: 96.38 MB / 394.7 MB Notification: Performance of Templates: time 0.02525/0.2887, allocations: 31.36 MB / 486 MB, free: 78.47 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesHelium.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesHelium.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesHelium.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesHelium.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesHelium.sim & ./HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesHelium -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesHelium.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7527547869831324]