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.0009839/0.0009839, allocations: 93.06 kB / 19.65 MB, free: 280 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.001057/0.001057, allocations: 165 kB / 23.02 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 0.959/0.959, allocations: 177.1 MB / 203.4 MB, free: 5.176 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.02999/0.02999, allocations: 7.513 MB / 267.5 MB, free: 5.855 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 2.305e-06/2.305e-06, allocations: 3.938 kB / 338.7 MB, free: 12.01 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.641e-05/2.872e-05, allocations: 2.312 kB / 338.7 MB, free: 12.01 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide): time 0.02314/0.02316, allocations: 17.63 MB / 356.3 MB, free: 10.3 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02106/0.04423, allocations: 17.26 MB / 373.6 MB, free: 8.984 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001246/0.04435, allocations: 0 / 373.6 MB, free: 8.984 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009462/0.0453, allocations: 279.2 kB / 373.8 MB, free: 8.711 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01982/0.06512, allocations: 7.274 MB / 381.1 MB, free: 1.41 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001491/0.06661, allocations: 0.7195 MB / 381.8 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001991/0.06681, allocations: 238.8 kB / 382.1 MB, free: 464 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.234e-05/0.06685, allocations: 5.312 kB / 382.1 MB, free: 456 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001563/0.06701, allocations: 147.6 kB / 382.2 MB, free: 308 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.146e-05/0.06709, allocations: 51.83 kB / 382.3 MB, free: 256 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.0671, allocations: 4 kB / 382.3 MB, free: 252 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01116/0.07826, allocations: 7.706 MB / 390 MB, free: 8.523 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.387e-05/0.07829, allocations: 19.86 kB / 390 MB, free: 8.504 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.737e-05/0.07836, allocations: 39.92 kB / 390 MB, free: 8.465 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009519/0.08787, allocations: 4.118 MB / 394.1 MB, free: 4.336 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.08788, allocations: 0 / 394.1 MB, free: 4.336 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.08788, allocations: 4 kB / 394.1 MB, free: 4.332 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.08789, allocations: 0 / 394.1 MB, free: 4.332 MB / 362.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.001767/0.08965, allocations: 0.9443 MB / 395.1 MB, free: 3.348 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.0897, allocations: 8.625 kB / 395.1 MB, free: 3.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001744/0.08987, allocations: 43.77 kB / 395.1 MB, free: 3.297 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001635/0.09004, allocations: 143.9 kB / 395.3 MB, free: 3.129 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.09005, allocations: 4 kB / 395.3 MB, free: 3.125 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.627e-05/0.09007, allocations: 11.95 kB / 395.3 MB, free: 3.113 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.09022, allocations: 102.1 kB / 395.4 MB, free: 3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.09023, allocations: 0 / 395.4 MB, free: 3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.09024, allocations: 12 kB / 395.4 MB, free: 2.988 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.09025, allocations: 0 / 395.4 MB, free: 2.988 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.455e-05/0.09032, allocations: 51.95 kB / 395.5 MB, free: 2.938 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004647/0.09078, allocations: 498.3 kB / 395.9 MB, free: 2.41 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000182/0.09097, allocations: 106.2 kB / 396.1 MB, free: 2.281 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.92e-05/0.09102, allocations: 59.42 kB / 396.1 MB, free: 2.215 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02365/0.1147, allocations: 10.39 MB / 406.5 MB, free: 7.816 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.847e-05/0.1147, allocations: 41.39 kB / 406.5 MB, free: 7.766 MB / 378.7 MB Notification: Performance of pre-optimization done (n=24): time 3.206e-06/0.1147, allocations: 0 / 406.5 MB, free: 7.766 MB / 378.7 MB Notification: Performance of matching and sorting (n=24): time 0.000578/0.1153, allocations: 205.3 kB / 406.7 MB, free: 7.559 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/0.1154, allocations: 81.05 kB / 406.8 MB, free: 7.461 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.1155, allocations: 173.9 kB / 407 MB, free: 7.273 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.1155, allocations: 29.7 kB / 407 MB, free: 7.238 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.701e-05/0.1156, allocations: 143.4 kB / 407.2 MB, free: 7.09 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.706e-05/0.1156, allocations: 83.22 kB / 407.2 MB, free: 7.008 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.273e-05/0.1157, allocations: 47.36 kB / 407.3 MB, free: 6.953 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.1158, allocations: 0.4962 MB / 407.8 MB, free: 6.445 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.201e-05/0.1159, allocations: 27.98 kB / 407.8 MB, free: 6.418 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.154e-05/0.116, allocations: 60 kB / 407.9 MB, free: 6.352 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001269/0.1161, allocations: 107 kB / 408 MB, free: 6.242 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.1161, allocations: 3.938 kB / 408 MB, free: 6.238 MB / 378.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001972/0.1163, allocations: 141.5 kB / 408.1 MB, free: 6.094 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.1163, allocations: 4 kB / 408.1 MB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.1163, allocations: 0 / 408.1 MB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.299e-05/0.1163, allocations: 4 kB / 408.1 MB, free: 6.086 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.195e-05/0.1164, allocations: 27.92 kB / 408.1 MB, free: 6.059 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.1164, allocations: 4 kB / 408.2 MB, free: 6.055 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.463e-05/0.1165, allocations: 11.89 kB / 408.2 MB, free: 6.043 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.1165, allocations: 4 kB / 408.2 MB, free: 6.039 MB / 378.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.0001103/0.1166, allocations: 160.6 kB / 408.3 MB, free: 5.871 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.26e-05/0.1167, allocations: 19.89 kB / 408.3 MB, free: 5.852 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007307/0.1174, allocations: 241.1 kB / 408.6 MB, free: 5.617 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000171/0.1176, allocations: 192.2 kB / 408.8 MB, free: 5.426 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1176, allocations: 0 / 408.8 MB, free: 5.426 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.1176, allocations: 3.984 kB / 408.8 MB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006838/0.1183, allocations: 0.7298 MB / 409.5 MB, free: 4.652 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.1183, allocations: 0 / 409.5 MB, free: 4.652 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/0.1184, allocations: 35.98 kB / 409.5 MB, free: 4.617 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.1184, allocations: 0 / 409.5 MB, free: 4.617 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.1184, allocations: 11.94 kB / 409.5 MB, free: 4.605 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.1184, allocations: 4.109 kB / 409.6 MB, free: 4.602 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.1184, allocations: 7.938 kB / 409.6 MB, free: 4.594 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003974/0.1188, allocations: 0.5227 MB / 410.1 MB, free: 4.051 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.508e-05/0.1188, allocations: 19.88 kB / 410.1 MB, free: 4.031 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.058e-05/0.1188, allocations: 15.92 kB / 410.1 MB, free: 4.016 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.687e-05/0.1189, allocations: 4 kB / 410.1 MB, free: 4.012 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.987e-05/0.1189, allocations: 15.97 kB / 410.1 MB, free: 3.996 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.1189, allocations: 8 kB / 410.1 MB, free: 3.988 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.106e-05/0.119, allocations: 135.2 kB / 410.3 MB, free: 3.855 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.119, allocations: 0 / 410.3 MB, free: 3.855 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002181/0.1212, allocations: 0.9385 MB / 411.2 MB, free: 2.914 MB / 378.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.003204/0.1244, allocations: 1.581 MB / 412.8 MB, free: 1.316 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003424/0.1247, allocations: 215.2 kB / 413 MB, free: 1.09 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1247, allocations: 0 / 413 MB, free: 1.09 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.876e-05/0.1248, allocations: 96.14 kB / 413.1 MB, free: 0.9922 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005691/0.1254, allocations: 147.9 kB / 413.2 MB, free: 0.8516 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009658/0.1263, allocations: 430.2 kB / 413.7 MB, free: 404 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.576e-05/0.1264, allocations: 80.83 kB / 413.7 MB, free: 304 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001219/0.1265, allocations: 50.03 kB / 413.8 MB, free: 256 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.581e-05/0.1266, allocations: 24.5 kB / 413.8 MB, free: 232 kB / 378.7 MB Notification: Performance of SimCode: time 1.813e-06/0.1266, allocations: 0 / 413.8 MB, free: 232 kB / 378.7 MB Notification: Performance of Templates: time 0.02971/0.1563, allocations: 27.5 MB / 441.3 MB, free: 4.84 MB / 410.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: 6.149073298089206]