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.001234/0.001234, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.0008778/0.0008778, allocations: 170 kB / 23.27 MB, free: 1.223 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.9057/0.9057, allocations: 177.2 MB / 203.7 MB, free: 5.512 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.02946/0.02946, allocations: 7.521 MB / 267.8 MB, free: 5.848 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.262e-06/1.262e-06, allocations: 0 / 339.1 MB, free: 10.71 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.204e-05/1.33e-05, allocations: 2.312 kB / 339.1 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesButane): time 0.01654/0.01655, allocations: 17.43 MB / 356.5 MB, free: 9.203 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01199/0.02854, allocations: 17.07 MB / 373.6 MB, free: 8.082 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.238e-05/0.02858, allocations: 0 / 373.6 MB, free: 8.082 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004523/0.02904, allocations: 283.2 kB / 373.9 MB, free: 7.805 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009737/0.03877, allocations: 7.094 MB / 381 MB, free: 0.6836 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008365/0.03961, allocations: 0.7079 MB / 381.7 MB, free: 15.97 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001543/0.03976, allocations: 242.8 kB / 381.9 MB, free: 15.73 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.217e-05/0.0398, allocations: 9.25 kB / 381.9 MB, free: 15.72 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001302/0.03993, allocations: 147.6 kB / 382.1 MB, free: 15.58 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.577e-05/0.03999, allocations: 47.83 kB / 382.1 MB, free: 15.53 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.162e-05/0.04, allocations: 8 kB / 382.1 MB, free: 15.52 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007074/0.04708, allocations: 7.219 MB / 389.4 MB, free: 8.289 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.468e-05/0.04709, allocations: 15.86 kB / 389.4 MB, free: 8.273 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.877e-05/0.04713, allocations: 39.92 kB / 389.4 MB, free: 8.234 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004383/0.05151, allocations: 4.036 MB / 393.4 MB, free: 4.188 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.05152, allocations: 0 / 393.4 MB, free: 4.188 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.05152, allocations: 0 / 393.4 MB, free: 4.188 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.456e-06/0.05152, allocations: 4 kB / 393.5 MB, free: 4.184 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.001016/0.05254, allocations: 0.9403 MB / 394.4 MB, free: 3.203 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.05257, allocations: 12.62 kB / 394.4 MB, free: 3.191 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001135/0.05269, allocations: 39.81 kB / 394.4 MB, free: 3.152 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.82e-05/0.05278, allocations: 139.8 kB / 394.6 MB, free: 2.988 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.384e-06/0.05279, allocations: 4 kB / 394.6 MB, free: 2.984 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.05281, allocations: 8 kB / 394.6 MB, free: 2.977 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.968e-05/0.05291, allocations: 96.95 kB / 394.7 MB, free: 2.867 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.05292, allocations: 0 / 394.7 MB, free: 2.867 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.653e-06/0.05292, allocations: 4 kB / 394.7 MB, free: 2.863 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.05293, allocations: 7.984 kB / 394.7 MB, free: 2.855 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.885e-05/0.05297, allocations: 31.98 kB / 394.7 MB, free: 2.824 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003545/0.05332, allocations: 494.9 kB / 395.2 MB, free: 2.309 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/0.05344, allocations: 106.1 kB / 395.3 MB, free: 2.18 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.845e-05/0.05348, allocations: 51.36 kB / 395.4 MB, free: 2.121 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0192/0.07268, allocations: 8.438 MB / 403.8 MB, free: 9.68 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.0727, allocations: 49.27 kB / 403.9 MB, free: 9.621 MB / 330.7 MB Notification: Performance of pre-optimization done (n=24): time 1.092e-06/0.0727, allocations: 3.938 kB / 403.9 MB, free: 9.617 MB / 330.7 MB Notification: Performance of matching and sorting (n=24): time 0.0002816/0.07299, allocations: 181.4 kB / 404 MB, free: 9.434 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.852e-05/0.07301, allocations: 81.05 kB / 404.1 MB, free: 9.336 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.614e-05/0.07308, allocations: 173.9 kB / 404.3 MB, free: 9.148 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.07309, allocations: 37.64 kB / 404.3 MB, free: 9.105 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001947/0.07329, allocations: 135.4 kB / 404.5 MB, free: 8.969 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.39e-05/0.07333, allocations: 87.2 kB / 404.5 MB, free: 8.883 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.883e-05/0.07337, allocations: 47.34 kB / 404.6 MB, free: 8.828 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.448e-05/0.07347, allocations: 0.4923 MB / 405.1 MB, free: 8.324 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.415e-05/0.07349, allocations: 19.98 kB / 405.1 MB, free: 8.305 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.796e-05/0.07353, allocations: 57.08 kB / 405.1 MB, free: 8.242 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.062e-05/0.0736, allocations: 98.52 kB / 405.2 MB, free: 8.141 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.0736, allocations: 0 / 405.2 MB, free: 8.141 MB / 330.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001056/0.07371, allocations: 121.6 kB / 405.4 MB, free: 8.016 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.07372, allocations: 11.94 kB / 405.4 MB, free: 8.004 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.07372, allocations: 0 / 405.4 MB, free: 8.004 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.811e-06/0.07373, allocations: 0 / 405.4 MB, free: 8.004 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.753e-05/0.07378, allocations: 23.94 kB / 405.4 MB, free: 7.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.014e-06/0.07378, allocations: 4 kB / 405.4 MB, free: 7.977 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.981e-05/0.07381, allocations: 11.89 kB / 405.4 MB, free: 7.965 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.849e-06/0.07382, allocations: 7.984 kB / 405.4 MB, free: 7.957 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 5.768e-05/0.07387, allocations: 160.6 kB / 405.6 MB, free: 7.789 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.27e-05/0.07391, allocations: 23.84 kB / 405.6 MB, free: 7.766 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001926/0.0741, allocations: 216.7 kB / 405.8 MB, free: 7.551 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001086/0.07421, allocations: 168.2 kB / 406 MB, free: 7.383 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.07421, allocations: 0 / 406 MB, free: 7.383 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.07422, allocations: 3.984 kB / 406 MB, free: 7.379 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004628/0.07468, allocations: 0.6872 MB / 406.7 MB, free: 6.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.07468, allocations: 4.125 kB / 406.7 MB, free: 6.656 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.08e-05/0.07476, allocations: 39.98 kB / 406.7 MB, free: 6.617 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-06/0.07476, allocations: 0 / 406.7 MB, free: 6.617 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.07477, allocations: 7.984 kB / 406.7 MB, free: 6.609 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.07477, allocations: 0 / 406.7 MB, free: 6.609 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.07478, allocations: 11.88 kB / 406.7 MB, free: 6.598 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002566/0.07503, allocations: 0.4954 MB / 407.2 MB, free: 6.086 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.708e-05/0.07505, allocations: 19.84 kB / 407.2 MB, free: 6.066 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.07506, allocations: 7.984 kB / 407.3 MB, free: 6.059 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.458e-05/0.07513, allocations: 8 kB / 407.3 MB, free: 6.051 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.669e-05/0.07514, allocations: 15.91 kB / 407.3 MB, free: 6.035 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.126e-06/0.07515, allocations: 8 kB / 407.3 MB, free: 6.027 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.448e-05/0.07519, allocations: 135.2 kB / 407.4 MB, free: 5.895 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.07519, allocations: 0 / 407.4 MB, free: 5.895 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001215/0.0764, allocations: 0.9385 MB / 408.4 MB, free: 4.953 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.002063/0.07846, allocations: 1.575 MB / 409.9 MB, free: 3.367 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001628/0.07863, allocations: 198.6 kB / 410.1 MB, free: 3.156 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.07863, allocations: 0 / 410.1 MB, free: 3.156 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.027e-05/0.07869, allocations: 91.22 kB / 410.2 MB, free: 3.062 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004612/0.07915, allocations: 149.2 kB / 410.4 MB, free: 2.918 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006508/0.0798, allocations: 438 kB / 410.8 MB, free: 2.453 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.783e-05/0.07985, allocations: 88.81 kB / 410.9 MB, free: 2.344 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.896e-05/0.07993, allocations: 46.09 kB / 410.9 MB, free: 2.301 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001688/0.0801, allocations: 170.1 kB / 411.1 MB, free: 2.133 MB / 330.7 MB Notification: Performance of SimCode: time 4.31e-07/0.0801, allocations: 0 / 411.1 MB, free: 2.133 MB / 330.7 MB Notification: Performance of Templates: time 0.1194/0.1995, allocations: 32.7 MB / 443.8 MB, free: 41.04 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.397483910899609]