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.0008788/0.0008788, allocations: 79.75 kB / 20.12 MB, free: 4.152 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.0009669/0.0009669, allocations: 160.5 kB / 23.55 MB, free: 0.7188 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.9014/0.9014, allocations: 177.2 MB / 204 MB, free: 5.406 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.04745/0.04745, allocations: 11.69 MB / 272.2 MB, free: 1.828 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.543e-06/1.543e-06, allocations: 0 / 291.6 MB, free: 17.51 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.161e-05/1.315e-05, allocations: 2.312 kB / 291.6 MB, free: 17.5 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Derivatives.CheckDerivativesHelium): time 0.04074/0.04075, allocations: 59.14 MB / 350.7 MB, free: 13.02 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01653/0.05728, allocations: 25.66 MB / 376.4 MB, free: 3.301 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.189e-05/0.05734, allocations: 0 / 376.4 MB, free: 3.301 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005708/0.05791, allocations: 230.9 kB / 376.6 MB, free: 3.074 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03498/0.09288, allocations: 17.97 MB / 394.6 MB, free: 1.02 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002668/0.09315, allocations: 143.4 kB / 394.7 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001876/0.09334, allocations: 218.8 kB / 394.9 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.388e-05/0.09338, allocations: 17.81 kB / 394.9 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001624/0.09354, allocations: 139.6 kB / 395.1 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.866e-05/0.09362, allocations: 39.91 kB / 395.1 MB, free: 484 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.09364, allocations: 4 kB / 395.1 MB, free: 480 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03194/0.1256, allocations: 17.38 MB / 412.5 MB, free: 15.06 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.768e-05/0.1256, allocations: 11.94 kB / 412.5 MB, free: 15.05 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.613e-05/0.1257, allocations: 47.84 kB / 412.5 MB, free: 15 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01373/0.1394, allocations: 7.665 MB / 420.2 MB, free: 7.316 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1394, allocations: 0 / 420.2 MB, free: 7.316 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1394, allocations: 0 / 420.2 MB, free: 7.316 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.89e-06/0.1394, allocations: 0 / 420.2 MB, free: 7.316 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.001488/0.1409, allocations: 1.314 MB / 421.5 MB, free: 5.973 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.1409, allocations: 16.02 kB / 421.5 MB, free: 5.957 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001196/0.141, allocations: 47.91 kB / 421.6 MB, free: 5.91 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.807e-05/0.1411, allocations: 137 kB / 421.7 MB, free: 5.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.095e-06/0.1411, allocations: 4 kB / 421.7 MB, free: 5.746 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.436e-05/0.1412, allocations: 4 kB / 421.7 MB, free: 5.742 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003517/0.1415, allocations: 102 kB / 421.8 MB, free: 5.629 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.1415, allocations: 0 / 421.8 MB, free: 5.629 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.785e-06/0.1415, allocations: 4 kB / 421.8 MB, free: 5.625 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.1415, allocations: 7.938 kB / 421.8 MB, free: 5.617 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.097e-05/0.1416, allocations: 37.64 kB / 421.9 MB, free: 5.578 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002825/0.1419, allocations: 332.6 kB / 422.2 MB, free: 5.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/0.142, allocations: 81.12 kB / 422.3 MB, free: 5.133 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.262e-05/0.142, allocations: 41.83 kB / 422.3 MB, free: 5.086 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02248/0.1645, allocations: 18.76 MB / 441.1 MB, free: 2.309 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.1645, allocations: 34.56 kB / 441.1 MB, free: 2.266 MB / 394.7 MB Notification: Performance of pre-optimization done (n=24): time 1.353e-06/0.1645, allocations: 0 / 441.1 MB, free: 2.266 MB / 394.7 MB Notification: Performance of matching and sorting (n=24): time 0.0001894/0.1647, allocations: 123.4 kB / 441.2 MB, free: 2.141 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.1647, allocations: 81.11 kB / 441.3 MB, free: 2.043 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.556e-05/0.1648, allocations: 120.8 kB / 441.4 MB, free: 1.914 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.06e-05/0.1648, allocations: 25.7 kB / 441.5 MB, free: 1.883 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.378e-05/0.1648, allocations: 96.56 kB / 441.5 MB, free: 1.785 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.927e-05/0.1649, allocations: 83.2 kB / 441.6 MB, free: 1.703 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-05/0.1649, allocations: 37.67 kB / 441.7 MB, free: 1.66 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.595e-05/0.165, allocations: 322.8 kB / 442 MB, free: 1.336 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.101e-05/0.165, allocations: 19.98 kB / 442 MB, free: 1.316 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.972e-05/0.165, allocations: 37.69 kB / 442 MB, free: 1.273 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.252e-05/0.1651, allocations: 71.55 kB / 442.1 MB, free: 1.199 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1651, allocations: 0 / 442.1 MB, free: 1.199 MB / 394.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 9.18e-05/0.1652, allocations: 114.5 kB / 442.2 MB, free: 1.082 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/0.1652, allocations: 4 kB / 442.2 MB, free: 1.078 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.1652, allocations: 4 kB / 442.2 MB, free: 1.074 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.915e-06/0.1652, allocations: 4 kB / 442.2 MB, free: 1.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.864e-05/0.1652, allocations: 20 kB / 442.3 MB, free: 1.051 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.885e-06/0.1652, allocations: 3.938 kB / 442.3 MB, free: 1.047 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.194e-05/0.1653, allocations: 11.89 kB / 442.3 MB, free: 1.035 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.1653, allocations: 7.984 kB / 442.3 MB, free: 1.027 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.024e-05/0.1653, allocations: 109.8 kB / 442.4 MB, free: 0.9102 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.741e-05/0.1654, allocations: 15.94 kB / 442.4 MB, free: 0.8945 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1145/0.2799, allocations: 1.468 MB / 443.9 MB, free: 97.78 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001081/0.281, allocations: 1.097 MB / 445 MB, free: 97.7 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.281, allocations: 0.5312 kB / 445 MB, free: 97.7 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.281, allocations: 2.891 kB / 445 MB, free: 97.7 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001647/0.2826, allocations: 2.024 MB / 447 MB, free: 97.26 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.2826, allocations: 5.5 kB / 447 MB, free: 97.26 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000115/0.2828, allocations: 36.34 kB / 447 MB, free: 97.26 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.2828, allocations: 3.266 kB / 447 MB, free: 97.26 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.2828, allocations: 6.703 kB / 447 MB, free: 97.26 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.2828, allocations: 4.375 kB / 447 MB, free: 97.26 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.2828, allocations: 6.25 kB / 447 MB, free: 97.26 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001226/0.284, allocations: 1.707 MB / 448.8 MB, free: 96.9 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.763e-05/0.284, allocations: 90.66 kB / 448.8 MB, free: 96.86 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.2841, allocations: 4.594 kB / 448.9 MB, free: 96.86 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.495e-05/0.2841, allocations: 6.062 kB / 448.9 MB, free: 96.86 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.404e-05/0.2842, allocations: 18.86 kB / 448.9 MB, free: 96.86 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.2842, allocations: 4.516 kB / 448.9 MB, free: 96.86 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.041e-05/0.2842, allocations: 22.56 kB / 448.9 MB, free: 96.86 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2842, allocations: 0.8125 kB / 448.9 MB, free: 96.86 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001664/0.2859, allocations: 1.051 MB / 450 MB, free: 96.86 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.002359/0.2882, allocations: 1.918 MB / 451.9 MB, free: 96.77 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002891/0.2885, allocations: 440.6 kB / 452.3 MB, free: 96.68 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.2885, allocations: 0 / 452.3 MB, free: 96.68 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001916/0.2887, allocations: 365.2 kB / 452.7 MB, free: 96.66 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004738/0.2892, allocations: 146.1 kB / 452.8 MB, free: 96.65 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/0.2904, allocations: 1.453 MB / 454.3 MB, free: 96.2 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.904e-05/0.2905, allocations: 168.7 kB / 454.4 MB, free: 96.12 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.424e-05/0.2906, allocations: 29.22 kB / 454.4 MB, free: 96.12 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000168/0.2908, allocations: 148.9 kB / 454.6 MB, free: 96.07 MB / 394.7 MB Notification: Performance of SimCode: time 4.21e-07/0.2908, allocations: 0 / 454.6 MB, free: 96.07 MB / 394.7 MB Notification: Performance of Templates: time 0.02408/0.3148, allocations: 31.81 MB / 486.4 MB, free: 76.85 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.997742305509746]