Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide.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.001147/0.001147, allocations: 92.22 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.001141/0.001141, allocations: 173 kB / 23.02 MB, free: 1.547 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.955/0.955, allocations: 177.1 MB / 203.4 MB, free: 5.609 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.03034/0.03034, allocations: 7.523 MB / 267.5 MB, free: 5.973 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.CheckDerivativesCarbondioxide,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide") translateModel(HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 338.7 MB, free: 10.96 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.796e-05/1.932e-05, allocations: 2.312 kB / 338.7 MB, free: 10.96 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide): time 0.01175/0.01177, allocations: 17.64 MB / 356.3 MB, free: 9.258 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01096/0.02273, allocations: 17.26 MB / 373.6 MB, free: 7.941 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.962e-05/0.02277, allocations: 0 / 373.6 MB, free: 7.941 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005344/0.0233, allocations: 275.2 kB / 373.8 MB, free: 7.672 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01039/0.03369, allocations: 7.289 MB / 381.1 MB, free: 360 kB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000866/0.03456, allocations: 0.7196 MB / 381.8 MB, free: 15.62 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001549/0.03471, allocations: 234.7 kB / 382.1 MB, free: 15.4 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.869e-05/0.03475, allocations: 5.312 kB / 382.1 MB, free: 15.39 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000378/0.03513, allocations: 151.6 kB / 382.2 MB, free: 15.24 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.09e-05/0.03521, allocations: 47.84 kB / 382.3 MB, free: 15.2 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.03523, allocations: 3.984 kB / 382.3 MB, free: 15.19 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007641/0.04287, allocations: 7.722 MB / 390 MB, free: 7.453 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.613e-05/0.04288, allocations: 15.88 kB / 390 MB, free: 7.438 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.779e-05/0.04293, allocations: 43.91 kB / 390.1 MB, free: 7.395 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004306/0.04724, allocations: 4.114 MB / 394.2 MB, free: 3.27 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.04724, allocations: 4 kB / 394.2 MB, free: 3.266 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.04724, allocations: 0 / 394.2 MB, free: 3.266 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.04725, allocations: 0 / 394.2 MB, free: 3.266 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.001087/0.04833, allocations: 0.9364 MB / 395.1 MB, free: 2.289 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.04837, allocations: 8.625 kB / 395.1 MB, free: 2.281 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001477/0.04852, allocations: 43.81 kB / 395.2 MB, free: 2.238 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.04865, allocations: 139.9 kB / 395.3 MB, free: 2.074 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.04866, allocations: 7.984 kB / 395.3 MB, free: 2.066 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.836e-05/0.04868, allocations: 8 kB / 395.3 MB, free: 2.059 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.04882, allocations: 107.6 kB / 395.4 MB, free: 1.941 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.04882, allocations: 4 kB / 395.4 MB, free: 1.938 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.04883, allocations: 0 / 395.4 MB, free: 1.938 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.819e-06/0.04884, allocations: 0 / 395.4 MB, free: 1.938 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.569e-05/0.04892, allocations: 51.97 kB / 395.5 MB, free: 1.887 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005281/0.04945, allocations: 498.3 kB / 396 MB, free: 1.359 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001939/0.04964, allocations: 114.2 kB / 396.1 MB, free: 1.223 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.859e-05/0.04971, allocations: 51.42 kB / 396.1 MB, free: 1.164 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05481/0.1045, allocations: 10.39 MB / 406.5 MB, free: 6.766 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/0.1046, allocations: 37.39 kB / 406.5 MB, free: 6.719 MB / 330.7 MB Notification: Performance of pre-optimization done (n=24): time 2.585e-06/0.1046, allocations: 0 / 406.5 MB, free: 6.719 MB / 330.7 MB Notification: Performance of matching and sorting (n=24): time 0.000413/0.105, allocations: 205.3 kB / 406.7 MB, free: 6.512 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/0.105, allocations: 81.11 kB / 406.8 MB, free: 6.414 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.413e-05/0.1051, allocations: 177.9 kB / 407 MB, free: 6.223 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.1051, allocations: 29.69 kB / 407 MB, free: 6.188 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.263e-05/0.1051, allocations: 135.4 kB / 407.2 MB, free: 6.051 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.861e-05/0.1052, allocations: 83.22 kB / 407.2 MB, free: 5.969 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.437e-05/0.1052, allocations: 51.36 kB / 407.3 MB, free: 5.91 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.1054, allocations: 0.4923 MB / 407.8 MB, free: 5.406 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.549e-05/0.1054, allocations: 27.98 kB / 407.8 MB, free: 5.379 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.427e-05/0.1055, allocations: 63.34 kB / 407.9 MB, free: 5.309 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001395/0.1056, allocations: 103.2 kB / 408 MB, free: 5.203 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1056, allocations: 0 / 408 MB, free: 5.203 MB / 330.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002169/0.1059, allocations: 149.5 kB / 408.1 MB, free: 5.051 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.1059, allocations: 4 kB / 408.1 MB, free: 5.047 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.1059, allocations: 4 kB / 408.1 MB, free: 5.043 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.1059, allocations: 0 / 408.1 MB, free: 5.043 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.442e-05/0.106, allocations: 23.92 kB / 408.2 MB, free: 5.02 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.106, allocations: 4 kB / 408.2 MB, free: 5.016 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.308e-05/0.106, allocations: 11.89 kB / 408.2 MB, free: 5.004 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.787e-05/0.1061, allocations: 8 kB / 408.2 MB, free: 4.996 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 8.194e-05/0.1061, allocations: 160.6 kB / 408.3 MB, free: 4.828 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.564e-05/0.1062, allocations: 19.84 kB / 408.4 MB, free: 4.809 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003491/0.1065, allocations: 244.8 kB / 408.6 MB, free: 4.566 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001575/0.1067, allocations: 192.4 kB / 408.8 MB, free: 4.375 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.1067, allocations: 0 / 408.8 MB, free: 4.375 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.1067, allocations: 0 / 408.8 MB, free: 4.375 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005249/0.1072, allocations: 0.7224 MB / 409.5 MB, free: 3.609 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.86e-06/0.1072, allocations: 8.109 kB / 409.5 MB, free: 3.602 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.134e-05/0.1073, allocations: 35.98 kB / 409.5 MB, free: 3.566 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1073, allocations: 0 / 409.5 MB, free: 3.566 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.1073, allocations: 15.92 kB / 409.6 MB, free: 3.551 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.1073, allocations: 0 / 409.6 MB, free: 3.551 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.1074, allocations: 0 / 409.6 MB, free: 3.551 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003079/0.1077, allocations: 0.5266 MB / 410.1 MB, free: 3.004 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.839e-05/0.1077, allocations: 27.86 kB / 410.1 MB, free: 2.977 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.1077, allocations: 7.938 kB / 410.1 MB, free: 2.969 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.006e-05/0.1078, allocations: 4 kB / 410.1 MB, free: 2.965 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.872e-05/0.1078, allocations: 15.97 kB / 410.1 MB, free: 2.949 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.1078, allocations: 12 kB / 410.2 MB, free: 2.938 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.572e-05/0.1079, allocations: 135.2 kB / 410.3 MB, free: 2.805 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1079, allocations: 0 / 410.3 MB, free: 2.805 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001896/0.1098, allocations: 0.9346 MB / 411.2 MB, free: 1.867 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.003269/0.113, allocations: 1.571 MB / 412.8 MB, free: 292 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000296/0.1133, allocations: 219.2 kB / 413 MB, free: 56 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1133, allocations: 0 / 413 MB, free: 56 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1043/0.2176, allocations: 96.98 kB / 413.1 MB, free: 55.87 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006108/0.2182, allocations: 146.5 kB / 413.2 MB, free: 55.87 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009004/0.2191, allocations: 436.1 kB / 413.7 MB, free: 55.66 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.152e-05/0.2192, allocations: 83.02 kB / 413.7 MB, free: 55.59 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001126/0.2193, allocations: 41.73 kB / 413.8 MB, free: 55.59 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.343e-05/0.2193, allocations: 26.31 kB / 413.8 MB, free: 55.59 MB / 330.7 MB Notification: Performance of SimCode: time 1.393e-06/0.2193, allocations: 1.094 kB / 413.8 MB, free: 55.59 MB / 330.7 MB Notification: Performance of Templates: time 0.02725/0.2466, allocations: 34 MB / 447.8 MB, free: 37.05 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.553957594092935]