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.001151/0.001151, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001727/0.002878, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001115/0.001115, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001495/0.00261, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.88/0.88, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06914/0.9492, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia 3.0.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia 3.0.0-main/package.mo): time 0.04973/0.04973, allocations: 11.74 MB / 255.9 MB, free: 3.793 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003839/0.05357, allocations: 3.08 MB / 259 MB, free: 0.7031 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia 3.0.0-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.243e-06/1.243e-06, allocations: 0 / 260.3 MB, free: 15.37 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.356e-06/9.599e-06, allocations: 6.312 kB / 260.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Derivatives.CheckDerivativesHelium): time 0.1364/0.1364, allocations: 58.95 MB / 319.2 MB, free: 8.285 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01637/0.1528, allocations: 27.06 MB / 346.3 MB, free: 13.15 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.879e-05/0.1529, allocations: 4 kB / 346.3 MB, free: 13.15 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003651/0.1532, allocations: 214.8 kB / 346.5 MB, free: 12.94 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0237/0.1769, allocations: 18.24 MB / 364.8 MB, free: 10.63 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002673/0.1772, allocations: 191.1 kB / 364.9 MB, free: 10.44 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001462/0.1773, allocations: 218.9 kB / 365.2 MB, free: 10.23 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.636e-05/0.1774, allocations: 9.953 kB / 365.2 MB, free: 10.22 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001414/0.1775, allocations: 151.6 kB / 365.3 MB, free: 10.07 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.589e-05/0.1776, allocations: 35.86 kB / 365.3 MB, free: 10.04 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.131e-05/0.1776, allocations: 4 kB / 365.3 MB, free: 10.03 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02054/0.1981, allocations: 18.16 MB / 383.5 MB, free: 7.848 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.965e-05/0.1981, allocations: 13.19 kB / 383.5 MB, free: 7.836 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.375e-05/0.1982, allocations: 35.94 kB / 383.6 MB, free: 7.801 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008744/0.2069, allocations: 6.702 MB / 390.3 MB, free: 1.082 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.408e-06/0.2069, allocations: 4 kB / 390.3 MB, free: 1.078 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2069, allocations: 0 / 390.3 MB, free: 1.078 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.352e-05/0.207, allocations: 4 kB / 390.3 MB, free: 1.074 MB / 362.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.00208/0.209, allocations: 2.032 MB / 392.3 MB, free: 14.99 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.842e-05/0.2091, allocations: 8.031 kB / 392.3 MB, free: 14.98 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001343/0.2092, allocations: 49.14 kB / 392.4 MB, free: 14.94 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.2093, allocations: 141 kB / 392.5 MB, free: 14.77 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.315e-06/0.2093, allocations: 7.938 kB / 392.5 MB, free: 14.77 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.2093, allocations: 8 kB / 392.5 MB, free: 14.76 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001062/0.2094, allocations: 90.17 kB / 392.6 MB, free: 14.66 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.2095, allocations: 4 kB / 392.6 MB, free: 14.65 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.2095, allocations: 4 kB / 392.6 MB, free: 14.65 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.2095, allocations: 0 / 392.6 MB, free: 14.65 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.799e-05/0.2095, allocations: 42.95 kB / 392.6 MB, free: 14.61 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002927/0.2098, allocations: 336.6 kB / 393 MB, free: 14.25 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.2099, allocations: 81.7 kB / 393.1 MB, free: 14.16 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.467e-05/0.21, allocations: 46.41 kB / 393.1 MB, free: 14.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02241/0.2324, allocations: 19.23 MB / 412.3 MB, free: 10.87 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.2324, allocations: 38.5 kB / 412.4 MB, free: 10.82 MB / 394.7 MB Notification: Performance of pre-optimization done (n=24): time 1.693e-06/0.2324, allocations: 0 / 412.4 MB, free: 10.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=24): time 0.0001888/0.2326, allocations: 124.3 kB / 412.5 MB, free: 10.7 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.706e-05/0.2326, allocations: 85.11 kB / 412.6 MB, free: 10.59 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.666e-05/0.2327, allocations: 124.5 kB / 412.7 MB, free: 10.46 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.155e-05/0.2327, allocations: 29.7 kB / 412.7 MB, free: 10.43 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.616e-05/0.2327, allocations: 84.64 kB / 412.8 MB, free: 10.34 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.657e-05/0.2327, allocations: 95.12 kB / 412.9 MB, free: 10.24 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.405e-05/0.2328, allocations: 33.69 kB / 412.9 MB, free: 10.2 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.773e-05/0.2328, allocations: 322.8 kB / 413.2 MB, free: 9.879 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.789e-05/0.2329, allocations: 12 kB / 413.3 MB, free: 9.867 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.19e-05/0.2329, allocations: 37.69 kB / 413.3 MB, free: 9.824 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.509e-05/0.233, allocations: 82.08 kB / 413.4 MB, free: 9.742 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.233, allocations: 0 / 413.4 MB, free: 9.742 MB / 394.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 8.645e-05/0.233, allocations: 101.7 kB / 413.5 MB, free: 9.637 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.2331, allocations: 8 kB / 413.5 MB, free: 9.629 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.2331, allocations: 3.938 kB / 413.5 MB, free: 9.625 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.2331, allocations: 0 / 413.5 MB, free: 9.625 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.462e-05/0.2331, allocations: 23.98 kB / 413.5 MB, free: 9.602 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.076e-06/0.2331, allocations: 3.938 kB / 413.5 MB, free: 9.598 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.29e-05/0.2332, allocations: 18.45 kB / 413.5 MB, free: 9.582 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.367e-06/0.2332, allocations: 4 kB / 413.5 MB, free: 9.578 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.177e-05/0.2332, allocations: 109.8 kB / 413.6 MB, free: 9.461 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.811e-05/0.2333, allocations: 11.98 kB / 413.7 MB, free: 9.449 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009737/0.2342, allocations: 1.483 MB / 415.1 MB, free: 7.965 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000727/0.235, allocations: 1.095 MB / 416.2 MB, free: 6.863 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.235, allocations: 0 / 416.2 MB, free: 6.863 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.235, allocations: 3.938 kB / 416.2 MB, free: 6.859 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001304/0.2363, allocations: 2.019 MB / 418.3 MB, free: 4.812 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.2363, allocations: 0 / 418.3 MB, free: 4.812 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.204e-05/0.2364, allocations: 51.86 kB / 418.3 MB, free: 4.762 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.963e-05/0.2364, allocations: 99.08 kB / 418.4 MB, free: 4.664 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.2364, allocations: 0 / 418.4 MB, free: 4.664 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.2364, allocations: 8 kB / 418.4 MB, free: 4.656 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.2364, allocations: 0 / 418.4 MB, free: 4.656 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2364, allocations: 0 / 418.4 MB, free: 4.656 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/0.2375, allocations: 1.719 MB / 420.1 MB, free: 2.922 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.2375, allocations: 8 kB / 420.1 MB, free: 2.914 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.151e-05/0.2376, allocations: 4 kB / 420.1 MB, free: 2.91 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.995e-05/0.2376, allocations: 15.97 kB / 420.2 MB, free: 2.895 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.226e-06/0.2376, allocations: 11.94 kB / 420.2 MB, free: 2.883 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.787e-05/0.2376, allocations: 20.86 kB / 420.2 MB, free: 2.859 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2376, allocations: 4 kB / 420.2 MB, free: 2.855 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001291/0.2389, allocations: 1.133 MB / 421.3 MB, free: 1.719 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.09767/0.3366, allocations: 2.216 MB / 423.5 MB, free: 91.59 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004221/0.337, allocations: 440.1 kB / 424 MB, free: 91.5 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.134e-05/0.337, allocations: 6.891 kB / 424 MB, free: 91.5 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002613/0.3373, allocations: 386.8 kB / 424.4 MB, free: 91.49 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005745/0.3379, allocations: 332.2 kB / 424.7 MB, free: 91.3 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0033/0.3412, allocations: 1.426 MB / 426.1 MB, free: 90.86 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001071/0.3413, allocations: 173.8 kB / 426.3 MB, free: 90.78 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 9.169e-05/0.3414, allocations: 28.66 kB / 426.3 MB, free: 90.78 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000186/0.3415, allocations: 140.3 kB / 426.4 MB, free: 90.73 MB / 394.7 MB Notification: Performance of SimCode: time 8.52e-07/0.3415, allocations: 1.906 kB / 426.4 MB, free: 90.73 MB / 394.7 MB Notification: Performance of Templates: time 0.02566/0.3672, allocations: 33.23 MB / 459.7 MB, free: 81.03 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.5128504671156406]