Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane.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.001763/0.001763, allocations: 75.75 kB / 19.76 MB, free: 1.875 MB / 14.72 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.002183/0.002183, allocations: 156 kB / 23.01 MB, free: 4.605 MB / 14.72 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 1.444/1.444, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] 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.04984/0.04984, allocations: 7.534 MB / 267.3 MB, free: 9.594 MB / 254.1 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.CheckDerivativesButane,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane") translateModel(HelmholtzMedia.Examples.Validation.CheckDerivativesButane,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002151/0.002151, allocations: 71.89 kB / 392.8 MB, free: 11.63 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1082, allocations: 54.91 MB / 447.7 MB, free: 4.613 MB / 414.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesButane): time 0.0207/0.1289, allocations: 15.85 MB / 463.5 MB, free: 4.691 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01902/0.1479, allocations: 14.98 MB / 478.5 MB, free: 5.664 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.538e-05/0.148, allocations: 4 kB / 478.5 MB, free: 5.66 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006603/0.1486, allocations: 235.3 kB / 478.7 MB, free: 5.426 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2004/0.349, allocations: 6.405 MB / 485.1 MB, free: 47.32 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001251/0.3503, allocations: 0.6138 MB / 485.8 MB, free: 47.32 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000182/0.3505, allocations: 203.9 kB / 486 MB, free: 47.32 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.138e-05/0.3505, allocations: 8.328 kB / 486 MB, free: 47.32 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001146/0.3506, allocations: 92.44 kB / 486.1 MB, free: 47.32 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.889e-05/0.3507, allocations: 58.95 kB / 486.1 MB, free: 47.32 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.3507, allocations: 3.125 kB / 486.1 MB, free: 47.32 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01102/0.3618, allocations: 6.947 MB / 493.1 MB, free: 47.32 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.617e-05/0.3618, allocations: 14.2 kB / 493.1 MB, free: 47.32 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.612e-05/0.3619, allocations: 44.89 kB / 493.1 MB, free: 47.32 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00798/0.3698, allocations: 3.44 MB / 496.6 MB, free: 47.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.3698, allocations: 3.469 kB / 496.6 MB, free: 47.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.3699, allocations: 0 / 496.6 MB, free: 47.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.3699, allocations: 0 / 496.6 MB, free: 47.21 MB / 446.1 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.001501/0.3714, allocations: 0.8446 MB / 497.4 MB, free: 46.64 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.3714, allocations: 10 kB / 497.4 MB, free: 46.64 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001754/0.3716, allocations: 28.84 kB / 497.4 MB, free: 46.64 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/0.3717, allocations: 140.8 kB / 497.6 MB, free: 46.5 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.935e-06/0.3717, allocations: 7.156 kB / 497.6 MB, free: 46.5 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.378e-05/0.3718, allocations: 6.625 kB / 497.6 MB, free: 46.5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/0.3719, allocations: 136.3 kB / 497.7 MB, free: 46.46 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.3719, allocations: 1.312 kB / 497.7 MB, free: 46.46 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.3719, allocations: 0 / 497.7 MB, free: 46.46 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.372, allocations: 5.188 kB / 497.7 MB, free: 46.46 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001072/0.3721, allocations: 103.7 kB / 497.8 MB, free: 46.46 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004924/0.3726, allocations: 423.7 kB / 498.3 MB, free: 46.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000215/0.3728, allocations: 117.2 kB / 498.4 MB, free: 46.11 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.73e-05/0.3728, allocations: 63.66 kB / 498.4 MB, free: 46.1 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04675/0.4196, allocations: 10.92 MB / 0.4974 GB, free: 45.82 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.4196, allocations: 33.03 kB / 0.4974 GB, free: 45.78 MB / 446.1 MB Notification: Performance of pre-optimization done (n=24): time 2.134e-06/0.4196, allocations: 0 / 0.4974 GB, free: 45.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=24): time 0.0006157/0.4202, allocations: 233.8 kB / 0.4977 GB, free: 45.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.66e-05/0.4203, allocations: 79.67 kB / 0.4977 GB, free: 45.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.481e-05/0.4203, allocations: 124.1 kB / 0.4979 GB, free: 45.54 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.053e-05/0.4203, allocations: 29.08 kB / 0.4979 GB, free: 45.51 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.483e-05/0.4204, allocations: 90.14 kB / 0.498 GB, free: 45.43 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.655e-05/0.4204, allocations: 84.81 kB / 0.4981 GB, free: 45.37 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.482e-05/0.4205, allocations: 36.8 kB / 0.4981 GB, free: 45.36 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.108e-05/0.4205, allocations: 328.6 kB / 0.4984 GB, free: 45.04 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.287e-05/0.4206, allocations: 45.58 kB / 0.4984 GB, free: 45.04 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.311e-05/0.4206, allocations: 69.61 kB / 0.4985 GB, free: 45.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.4208, allocations: 115.9 kB / 0.4986 GB, free: 45 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.4208, allocations: 3.281 kB / 0.4986 GB, free: 45 MB / 446.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002394/0.421, allocations: 166.8 kB / 0.4988 GB, free: 44.96 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.4211, allocations: 5.625 kB / 0.4988 GB, free: 44.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.4211, allocations: 0 / 0.4988 GB, free: 44.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.4211, allocations: 1.719 kB / 0.4988 GB, free: 44.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.86e-05/0.4212, allocations: 20.81 kB / 0.4988 GB, free: 44.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.4212, allocations: 6.547 kB / 0.4988 GB, free: 44.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.143e-05/0.4212, allocations: 20.8 kB / 0.4988 GB, free: 44.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.591e-05/0.4212, allocations: 8.781 kB / 0.4988 GB, free: 44.94 MB / 446.1 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.921e-05/0.4213, allocations: 117.2 kB / 0.499 GB, free: 44.83 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.334e-05/0.4214, allocations: 9.516 kB / 0.499 GB, free: 44.82 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000407/0.4218, allocations: 315.9 kB / 0.4993 GB, free: 44.77 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002806/0.422, allocations: 241.5 kB / 0.4995 GB, free: 44.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.4221, allocations: 1.25 kB / 0.4995 GB, free: 44.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.4221, allocations: 3.516 kB / 0.4995 GB, free: 44.73 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007688/0.4228, allocations: 0.6925 MB / 0.5002 GB, free: 44.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.4228, allocations: 1.125 kB / 0.5002 GB, free: 44.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001586/0.423, allocations: 37.39 kB / 0.5002 GB, free: 44.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.423, allocations: 2.375 kB / 0.5002 GB, free: 44.37 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.423, allocations: 9.359 kB / 0.5002 GB, free: 44.37 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.423, allocations: 1.375 kB / 0.5002 GB, free: 44.37 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.423, allocations: 1.641 kB / 0.5002 GB, free: 44.37 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004853/0.4235, allocations: 0.5305 MB / 0.5008 GB, free: 44.15 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.612e-05/0.4235, allocations: 25.38 kB / 0.5008 GB, free: 44.13 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.288e-05/0.4235, allocations: 5 kB / 0.5008 GB, free: 44.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.4237, allocations: 3.812 kB / 0.5008 GB, free: 44.13 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.41e-05/0.4237, allocations: 20.12 kB / 0.5008 GB, free: 44.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/0.4237, allocations: 10.34 kB / 0.5008 GB, free: 44.13 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.852e-05/0.4238, allocations: 92.17 kB / 0.5009 GB, free: 44.06 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4238, allocations: 0 / 0.5009 GB, free: 44.06 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002353/0.4261, allocations: 0.9436 MB / 0.5018 GB, free: 43.88 MB / 446.1 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: 4 (state_h.phase,$cse2.phase,state_p.phase,$cse1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 24 * 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 Backend phase and start with SimCode phase: time 0.003533/0.4296, allocations: 1.436 MB / 0.5032 GB, free: 43.55 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004464/0.4301, allocations: 253 kB / 0.5035 GB, free: 43.46 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.4301, allocations: 1.188 kB / 0.5035 GB, free: 43.46 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001376/0.4302, allocations: 108.2 kB / 0.5036 GB, free: 43.46 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009838/0.4312, allocations: 142 kB / 0.5037 GB, free: 43.45 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007852/0.432, allocations: 486.1 kB / 0.5042 GB, free: 43.18 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001089/0.4321, allocations: 124.1 kB / 0.5043 GB, free: 43.1 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001422/0.4323, allocations: 46.64 kB / 0.5043 GB, free: 43.09 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.602e-05/0.4323, allocations: 31.22 kB / 0.5044 GB, free: 43.08 MB / 446.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4323, allocations: 0 / 0.5044 GB, free: 43.08 MB / 446.1 MB Notification: Performance of Templates: time 0.03846/0.4708, allocations: 28.23 MB / 0.5319 GB, free: 34.38 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.648630675044842] Failed to read output from testmodel.py, exit status != 0: 0.4792335919337347 0.493348015 0.12013414000000001 Calling exit ...