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.000939/0.000939, allocations: 93.06 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.0009279/0.0009279, allocations: 165 kB / 23.01 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 1.043/1.043, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.03415/0.03415, allocations: 7.528 MB / 267.5 MB, free: 5.988 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.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 1.743e-06/1.743e-06, allocations: 0 / 338.7 MB, free: 10.96 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.736e-05/2.911e-05, allocations: 2.312 kB / 338.7 MB, free: 10.96 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesButane): time 0.01618/0.01621, allocations: 17.62 MB / 356.3 MB, free: 9.266 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01241/0.02862, allocations: 17.25 MB / 373.5 MB, free: 7.957 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.484e-05/0.02868, allocations: 0 / 373.5 MB, free: 7.957 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006184/0.0293, allocations: 283.2 kB / 373.8 MB, free: 7.68 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01282/0.04212, allocations: 7.091 MB / 380.9 MB, free: 0.5586 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001221/0.04334, allocations: 0.7118 MB / 381.6 MB, free: 15.84 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001987/0.04354, allocations: 238.7 kB / 381.9 MB, free: 15.61 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.236e-05/0.04358, allocations: 5.312 kB / 381.9 MB, free: 15.6 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001564/0.04374, allocations: 147.6 kB / 382 MB, free: 15.46 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.038e-05/0.04382, allocations: 51.83 kB / 382.1 MB, free: 15.41 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.04383, allocations: 8 kB / 382.1 MB, free: 15.4 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009894/0.05373, allocations: 7.211 MB / 389.3 MB, free: 8.172 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.557e-05/0.05375, allocations: 15.92 kB / 389.3 MB, free: 8.156 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.933e-05/0.05382, allocations: 43.86 kB / 389.3 MB, free: 8.113 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007587/0.06141, allocations: 4.036 MB / 393.4 MB, free: 4.066 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.06142, allocations: 0 / 393.4 MB, free: 4.066 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.06142, allocations: 0 / 393.4 MB, free: 4.066 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.06142, allocations: 0 / 393.4 MB, free: 4.066 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0018/0.06322, allocations: 0.9481 MB / 394.3 MB, free: 3.078 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.06326, allocations: 8.625 kB / 394.3 MB, free: 3.07 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001572/0.06342, allocations: 39.81 kB / 394.4 MB, free: 3.031 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.06358, allocations: 139.9 kB / 394.5 MB, free: 2.867 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.06359, allocations: 4 kB / 394.5 MB, free: 2.863 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.015e-05/0.06362, allocations: 8 kB / 394.5 MB, free: 2.855 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.06376, allocations: 110.3 kB / 394.6 MB, free: 2.738 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.06377, allocations: 0 / 394.6 MB, free: 2.738 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.06378, allocations: 0 / 394.6 MB, free: 2.738 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.333e-05/0.06379, allocations: 12 kB / 394.6 MB, free: 2.727 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.385e-05/0.06386, allocations: 47.91 kB / 394.7 MB, free: 2.68 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004659/0.06432, allocations: 498.4 kB / 395.2 MB, free: 2.152 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001721/0.0645, allocations: 114.1 kB / 395.3 MB, free: 2.016 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.916e-05/0.06455, allocations: 59.41 kB / 395.3 MB, free: 1.949 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02356/0.08812, allocations: 10.37 MB / 405.7 MB, free: 7.562 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.08815, allocations: 41.39 kB / 405.7 MB, free: 7.512 MB / 330.7 MB Notification: Performance of pre-optimization done (n=24): time 2.755e-06/0.08815, allocations: 0 / 405.7 MB, free: 7.512 MB / 330.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004457/0.0886, allocations: 201.3 kB / 405.9 MB, free: 7.309 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.08864, allocations: 81.11 kB / 406 MB, free: 7.211 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.216e-05/0.08873, allocations: 177.9 kB / 406.2 MB, free: 7.02 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/0.08874, allocations: 25.7 kB / 406.2 MB, free: 6.988 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.394e-05/0.08878, allocations: 135.4 kB / 406.4 MB, free: 6.852 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.456e-05/0.08884, allocations: 91.17 kB / 406.4 MB, free: 6.762 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002906/0.08913, allocations: 39.36 kB / 406.5 MB, free: 6.715 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.08923, allocations: 0.4962 MB / 407 MB, free: 6.207 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.109e-05/0.08927, allocations: 35.98 kB / 407 MB, free: 6.172 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.632e-05/0.08933, allocations: 67.27 kB / 407.1 MB, free: 6.098 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.947e-05/0.08943, allocations: 94.98 kB / 407.2 MB, free: 6 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.08943, allocations: 4 kB / 407.2 MB, free: 5.996 MB / 330.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001562/0.08959, allocations: 145.5 kB / 407.3 MB, free: 5.848 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.0896, allocations: 8.625 kB / 407.3 MB, free: 5.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.08961, allocations: 0 / 407.3 MB, free: 5.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.08963, allocations: 0 / 407.3 MB, free: 5.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.779e-05/0.08968, allocations: 19.98 kB / 407.3 MB, free: 5.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.08969, allocations: 4 kB / 407.4 MB, free: 5.816 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.827e-05/0.08973, allocations: 11.84 kB / 407.4 MB, free: 5.805 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/0.08974, allocations: 12 kB / 407.4 MB, free: 5.793 MB / 330.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 7.791e-05/0.08982, allocations: 164.5 kB / 407.5 MB, free: 5.621 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.419e-05/0.08986, allocations: 15.89 kB / 407.6 MB, free: 5.605 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003039/0.09016, allocations: 240.7 kB / 407.8 MB, free: 5.367 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001658/0.09033, allocations: 188 kB / 408 MB, free: 5.18 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.09033, allocations: 0 / 408 MB, free: 5.18 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.09034, allocations: 8.109 kB / 408 MB, free: 5.172 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006888/0.09103, allocations: 0.7262 MB / 408.7 MB, free: 4.402 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.09103, allocations: 0 / 408.7 MB, free: 4.402 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.09114, allocations: 43.92 kB / 408.7 MB, free: 4.359 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.09114, allocations: 4 kB / 408.8 MB, free: 4.355 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.09116, allocations: 11.92 kB / 408.8 MB, free: 4.344 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.09116, allocations: 4 kB / 408.8 MB, free: 4.34 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.09116, allocations: 0 / 408.8 MB, free: 4.34 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003694/0.09153, allocations: 0.5179 MB / 409.3 MB, free: 3.805 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.725e-05/0.09156, allocations: 19.84 kB / 409.3 MB, free: 3.785 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.09158, allocations: 11.95 kB / 409.3 MB, free: 3.773 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.653e-05/0.09165, allocations: 12 kB / 409.3 MB, free: 3.762 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.549e-05/0.09167, allocations: 15.97 kB / 409.3 MB, free: 3.746 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.09168, allocations: 8 kB / 409.4 MB, free: 3.738 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.09e-05/0.09172, allocations: 135.2 kB / 409.5 MB, free: 3.605 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.09172, allocations: 0 / 409.5 MB, free: 3.605 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001667/0.09339, allocations: 0.9385 MB / 410.4 MB, free: 2.664 MB / 330.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: 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.002648/0.09604, allocations: 1.531 MB / 412 MB, free: 1.121 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002622/0.0963, allocations: 222.6 kB / 412.2 MB, free: 0.8867 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.0963, allocations: 0 / 412.2 MB, free: 0.8867 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.581e-05/0.09639, allocations: 95.97 kB / 412.3 MB, free: 0.793 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005292/0.09692, allocations: 145.8 kB / 412.4 MB, free: 0.6523 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009016/0.09782, allocations: 445.9 kB / 412.8 MB, free: 184 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.581e-05/0.09787, allocations: 84.81 kB / 412.9 MB, free: 76 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001089/0.09798, allocations: 46.09 kB / 413 MB, free: 32 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.445e-05/0.09803, allocations: 28.5 kB / 413 MB, free: 4 kB / 330.7 MB Notification: Performance of SimCode: time 1.172e-06/0.09803, allocations: 0 / 413 MB, free: 4 kB / 330.7 MB Notification: Performance of Templates: time 0.143/0.241, allocations: 27.4 MB / 440.4 MB, free: 44.32 MB / 330.7 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=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.687608755193651]