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.00136/0.00136, allocations: 84.73 kB / 19.43 MB, free: 332 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.001607/0.001607, allocations: 161.7 kB / 22.75 MB, free: 1.656 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.479/1.479, allocations: 177.1 MB / 203.1 MB, free: 5.195 MB / 186.7 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.05304/0.05304, allocations: 7.522 MB / 267.1 MB, free: 5.934 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.372e-06/1.372e-06, allocations: 0 / 337.9 MB, free: 11.36 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.284e-05/2.422e-05, allocations: 2.312 kB / 337.9 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide): time 0.01568/0.01571, allocations: 15.84 MB / 353.8 MB, free: 11.46 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01956/0.03527, allocations: 14.98 MB / 368.7 MB, free: 12.43 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.358e-05/0.03535, allocations: 0 / 368.7 MB, free: 12.43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007274/0.03608, allocations: 247.2 kB / 369 MB, free: 12.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01734/0.05342, allocations: 6.688 MB / 375.7 MB, free: 5.469 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001662/0.05508, allocations: 0.6219 MB / 376.3 MB, free: 4.844 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003143/0.05539, allocations: 214.8 kB / 376.5 MB, free: 4.633 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.31e-05/0.05545, allocations: 9.312 kB / 376.5 MB, free: 4.621 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002312/0.05568, allocations: 127.5 kB / 376.6 MB, free: 4.496 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001315/0.05581, allocations: 55.81 kB / 376.7 MB, free: 4.441 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.05583, allocations: 4 kB / 376.7 MB, free: 4.438 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01614/0.07197, allocations: 7.495 MB / 384.2 MB, free: 12.92 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.052e-05/0.07201, allocations: 11.92 kB / 384.2 MB, free: 12.91 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001475/0.07216, allocations: 43.86 kB / 384.2 MB, free: 12.87 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0111/0.08326, allocations: 4.13 MB / 388.4 MB, free: 8.727 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.08326, allocations: 0 / 388.4 MB, free: 8.727 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.08326, allocations: 4 kB / 388.4 MB, free: 8.723 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.08327, allocations: 0 / 388.4 MB, free: 8.723 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.002107/0.08537, allocations: 0.8407 MB / 389.2 MB, free: 7.848 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.08542, allocations: 8.625 kB / 389.2 MB, free: 7.84 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002391/0.08566, allocations: 43.81 kB / 389.3 MB, free: 7.797 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002291/0.08589, allocations: 145 kB / 389.4 MB, free: 7.629 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.0859, allocations: 0 / 389.4 MB, free: 7.629 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.08593, allocations: 8 kB / 389.4 MB, free: 7.621 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000257/0.08618, allocations: 134 kB / 389.6 MB, free: 7.48 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.08619, allocations: 4 kB / 389.6 MB, free: 7.477 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.08621, allocations: 4 kB / 389.6 MB, free: 7.473 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.08622, allocations: 7.984 kB / 389.6 MB, free: 7.465 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001678/0.08639, allocations: 95.91 kB / 389.7 MB, free: 7.371 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000682/0.08707, allocations: 424.4 kB / 390.1 MB, free: 6.922 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002999/0.08737, allocations: 113.1 kB / 390.2 MB, free: 6.793 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001176/0.08749, allocations: 65.75 kB / 390.3 MB, free: 6.723 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05564/0.1431, allocations: 10.97 MB / 401.2 MB, free: 11.74 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.685e-05/0.1432, allocations: 38.56 kB / 401.3 MB, free: 11.7 MB / 330.7 MB Notification: Performance of pre-optimization done (n=24): time 1.983e-06/0.1432, allocations: 0 / 401.3 MB, free: 11.7 MB / 330.7 MB Notification: Performance of matching and sorting (n=24): time 0.0007915/0.144, allocations: 241.2 kB / 401.5 MB, free: 11.45 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.907e-05/0.1441, allocations: 81.11 kB / 401.6 MB, free: 11.36 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001877/0.1442, allocations: 117.8 kB / 401.7 MB, free: 11.23 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.861e-05/0.1443, allocations: 25.7 kB / 401.7 MB, free: 11.2 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.22e-05/0.1444, allocations: 88.64 kB / 401.8 MB, free: 11.11 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001394/0.1445, allocations: 87.22 kB / 401.9 MB, free: 11.02 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.1446, allocations: 37.7 kB / 401.9 MB, free: 10.98 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002266/0.1449, allocations: 322.8 kB / 402.2 MB, free: 10.66 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/0.145, allocations: 51.98 kB / 402.3 MB, free: 10.61 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001863/0.1452, allocations: 57.7 kB / 402.3 MB, free: 10.54 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000368/0.1456, allocations: 129.4 kB / 402.5 MB, free: 10.41 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.1456, allocations: 0 / 402.5 MB, free: 10.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000506/0.1461, allocations: 177.4 kB / 402.6 MB, free: 10.23 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.1461, allocations: 8 kB / 402.7 MB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.742e-05/0.1461, allocations: 0 / 402.7 MB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.1461, allocations: 0 / 402.7 MB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.1462, allocations: 19.98 kB / 402.7 MB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/0.1462, allocations: 4 kB / 402.7 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003076/0.1465, allocations: 7.891 kB / 402.7 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.243e-05/0.1466, allocations: 8 kB / 402.7 MB, free: 10.19 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 0.0001207/0.1467, allocations: 121.8 kB / 402.8 MB, free: 10.06 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.489e-05/0.1468, allocations: 15.84 kB / 402.8 MB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000576/0.1473, allocations: 326.4 kB / 403.1 MB, free: 9.719 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003502/0.1477, allocations: 240.2 kB / 403.4 MB, free: 9.48 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.1477, allocations: 0 / 403.4 MB, free: 9.48 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.206e-06/0.1477, allocations: 4 kB / 403.4 MB, free: 9.477 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001117/0.1488, allocations: 0.6686 MB / 404.1 MB, free: 8.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.135e-06/0.1488, allocations: 0 / 404.1 MB, free: 8.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001814/0.149, allocations: 43.92 kB / 404.1 MB, free: 8.727 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.013e-05/0.149, allocations: 8 kB / 404.1 MB, free: 8.719 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.183e-05/0.149, allocations: 7.938 kB / 404.1 MB, free: 8.711 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.149, allocations: 4 kB / 404.1 MB, free: 8.707 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.149, allocations: 0 / 404.1 MB, free: 8.707 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006875/0.1497, allocations: 0.5342 MB / 404.6 MB, free: 8.156 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.6e-05/0.1498, allocations: 19.78 kB / 404.7 MB, free: 8.137 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.923e-05/0.1498, allocations: 11.94 kB / 404.7 MB, free: 8.125 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.1499, allocations: 7.938 kB / 404.7 MB, free: 8.117 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.748e-05/0.15, allocations: 23.91 kB / 404.7 MB, free: 8.094 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.748e-05/0.15, allocations: 8 kB / 404.7 MB, free: 8.086 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.015e-05/0.1501, allocations: 95.27 kB / 404.8 MB, free: 7.992 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1501, allocations: 4.062 kB / 404.8 MB, free: 7.988 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002647/0.1527, allocations: 0.9462 MB / 405.8 MB, free: 7.039 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.004538/0.1573, allocations: 1.602 MB / 407.4 MB, free: 5.43 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004534/0.1577, allocations: 239.4 kB / 407.6 MB, free: 5.184 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.1577, allocations: 0 / 407.6 MB, free: 5.184 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002132/0.1579, allocations: 103.9 kB / 407.7 MB, free: 5.082 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/0.1589, allocations: 147.5 kB / 407.8 MB, free: 4.941 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008729/0.1598, allocations: 437.6 kB / 408.3 MB, free: 4.48 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001551/0.16, allocations: 121.1 kB / 408.4 MB, free: 4.344 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001411/0.1601, allocations: 46.05 kB / 408.4 MB, free: 4.297 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.484e-05/0.1602, allocations: 28.5 kB / 408.5 MB, free: 4.27 MB / 330.7 MB Notification: Performance of SimCode: time 5.51e-07/0.1602, allocations: 0 / 408.5 MB, free: 4.27 MB / 330.7 MB Notification: Performance of Templates: time 0.1324/0.2926, allocations: 28.44 MB / 436.9 MB, free: 65.59 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=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.187878704004106]