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.001009/0.001009, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.0009578/0.0009578, allocations: 173 kB / 23.36 MB, free: 1.133 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.9127/0.9127, allocations: 177.1 MB / 203.8 MB, free: 5.465 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.03086/0.03086, allocations: 7.526 MB / 267.8 MB, free: 5.867 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.483e-06/1.483e-06, allocations: 3.938 kB / 285.9 MB, free: 3.793 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.105e-05/1.253e-05, allocations: 2.312 kB / 285.9 MB, free: 3.789 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide): time 0.1217/0.1218, allocations: 17.58 MB / 303.4 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01042/0.1322, allocations: 17.22 MB / 320.7 MB, free: 14.38 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.616e-05/0.1322, allocations: 0 / 320.7 MB, free: 14.38 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005856/0.1328, allocations: 292.5 kB / 321 MB, free: 14.09 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01357/0.1464, allocations: 7.317 MB / 328.3 MB, free: 6.758 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.1475, allocations: 0.7234 MB / 329 MB, free: 6.031 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001957/0.1476, allocations: 238.8 kB / 329.2 MB, free: 5.797 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.24e-05/0.1477, allocations: 9.953 kB / 329.2 MB, free: 5.789 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/0.1478, allocations: 147.5 kB / 329.4 MB, free: 5.645 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.163e-05/0.1479, allocations: 55.83 kB / 329.4 MB, free: 5.59 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/0.1479, allocations: 4 kB / 329.4 MB, free: 5.586 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009111/0.157, allocations: 7.612 MB / 337 MB, free: 13.96 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.96e-05/0.157, allocations: 19.86 kB / 337.1 MB, free: 13.94 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.642e-05/0.1571, allocations: 35.92 kB / 337.1 MB, free: 13.9 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005329/0.1624, allocations: 4.122 MB / 341.2 MB, free: 9.77 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.1624, allocations: 0 / 341.2 MB, free: 9.77 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.1624, allocations: 0 / 341.2 MB, free: 9.77 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.1624, allocations: 0 / 341.2 MB, free: 9.77 MB / 298.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.00112/0.1636, allocations: 0.8157 MB / 342 MB, free: 8.926 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.105e-05/0.1636, allocations: 8.625 kB / 342.1 MB, free: 8.918 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001172/0.1637, allocations: 47.84 kB / 342.1 MB, free: 8.871 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.421e-05/0.1638, allocations: 129 kB / 342.2 MB, free: 8.719 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.1638, allocations: 4 kB / 342.2 MB, free: 8.715 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.698e-05/0.1638, allocations: 8 kB / 342.2 MB, free: 8.707 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001028/0.1639, allocations: 92.38 kB / 342.3 MB, free: 8.605 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.1639, allocations: 0 / 342.3 MB, free: 8.605 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.512e-06/0.1639, allocations: 0 / 342.3 MB, free: 8.605 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.1639, allocations: 7.984 kB / 342.3 MB, free: 8.598 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.34e-05/0.164, allocations: 45.59 kB / 342.4 MB, free: 8.551 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003015/0.1643, allocations: 340.6 kB / 342.7 MB, free: 8.195 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001179/0.1644, allocations: 92.11 kB / 342.8 MB, free: 8.09 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.293e-05/0.1644, allocations: 41.83 kB / 342.8 MB, free: 8.043 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03436/0.1988, allocations: 17.2 MB / 360 MB, free: 6.832 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.1988, allocations: 39.11 kB / 360.1 MB, free: 6.785 MB / 314.7 MB Notification: Performance of pre-optimization done (n=24): time 1.593e-06/0.1988, allocations: 0 / 360.1 MB, free: 6.785 MB / 314.7 MB Notification: Performance of matching and sorting (n=24): time 0.0002901/0.1991, allocations: 155.6 kB / 360.2 MB, free: 6.629 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.254e-05/0.1992, allocations: 85.05 kB / 360.3 MB, free: 6.527 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.758e-05/0.1992, allocations: 114.7 kB / 360.4 MB, free: 6.402 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.1992, allocations: 25.7 kB / 360.5 MB, free: 6.371 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.716e-05/0.1993, allocations: 96.61 kB / 360.5 MB, free: 6.27 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.282e-05/0.1993, allocations: 79.27 kB / 360.6 MB, free: 6.191 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.581e-05/0.1993, allocations: 45.67 kB / 360.7 MB, free: 6.141 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.083e-05/0.1994, allocations: 322.8 kB / 361 MB, free: 5.816 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.869e-05/0.1994, allocations: 16 kB / 361 MB, free: 5.801 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.23e-05/0.1995, allocations: 38.34 kB / 361 MB, free: 5.758 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.183e-05/0.1995, allocations: 76.53 kB / 361.1 MB, free: 5.68 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.1995, allocations: 2.188 kB / 361.1 MB, free: 5.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 9.139e-05/0.1996, allocations: 106.2 kB / 361.2 MB, free: 5.57 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.1996, allocations: 8 kB / 361.2 MB, free: 5.562 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.1996, allocations: 0 / 361.2 MB, free: 5.562 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.869e-06/0.1996, allocations: 0 / 361.2 MB, free: 5.562 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.835e-05/0.1997, allocations: 27.92 kB / 361.3 MB, free: 5.535 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.015e-06/0.1997, allocations: 0 / 361.3 MB, free: 5.535 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.275e-05/0.1997, allocations: 15.89 kB / 361.3 MB, free: 5.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.1997, allocations: 4 kB / 361.3 MB, free: 5.516 MB / 314.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.474e-05/0.1998, allocations: 113.8 kB / 361.4 MB, free: 5.395 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.69e-05/0.1998, allocations: 15.92 kB / 361.4 MB, free: 5.379 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001964/0.2, allocations: 274.8 kB / 361.7 MB, free: 5.105 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.663e-05/0.2001, allocations: 140.9 kB / 361.8 MB, free: 4.965 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.2001, allocations: 7.938 kB / 361.8 MB, free: 4.957 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.2001, allocations: 4.562 kB / 361.8 MB, free: 4.953 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000429/0.2005, allocations: 0.5947 MB / 362.4 MB, free: 4.332 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.2005, allocations: 4 kB / 362.4 MB, free: 4.328 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.913e-05/0.2006, allocations: 35.98 kB / 362.5 MB, free: 4.293 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.2006, allocations: 7.984 kB / 362.5 MB, free: 4.285 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.2006, allocations: 4.688 kB / 362.5 MB, free: 4.281 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.2006, allocations: 3.938 kB / 362.5 MB, free: 4.277 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.562e-06/0.2006, allocations: 4 kB / 362.5 MB, free: 4.273 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000232/0.2009, allocations: 469.6 kB / 362.9 MB, free: 3.801 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.746e-05/0.2009, allocations: 24.41 kB / 363 MB, free: 3.777 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.2009, allocations: 7.984 kB / 363 MB, free: 3.77 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.199e-05/0.201, allocations: 8.688 kB / 363 MB, free: 3.762 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.953e-05/0.201, allocations: 19.97 kB / 363 MB, free: 3.742 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.201, allocations: 0 / 363 MB, free: 3.742 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.507e-05/0.201, allocations: 17.8 kB / 363 MB, free: 3.723 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.201, allocations: 0 / 363 MB, free: 3.723 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001397/0.2024, allocations: 0.9462 MB / 364 MB, free: 2.773 MB / 314.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.002182/0.2046, allocations: 1.654 MB / 365.6 MB, free: 1.129 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001558/0.2047, allocations: 180.5 kB / 365.8 MB, free: 0.9414 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2047, allocations: 0 / 365.8 MB, free: 0.9414 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.564e-05/0.2048, allocations: 84.44 kB / 365.9 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004128/0.2052, allocations: 148 kB / 366 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006622/0.2059, allocations: 420.7 kB / 366.4 MB, free: 280 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.511e-05/0.2059, allocations: 84.83 kB / 366.5 MB, free: 176 kB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.977e-05/0.206, allocations: 43.25 kB / 366.5 MB, free: 140 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001565/0.2061, allocations: 141.2 kB / 366.7 MB, free: 0 / 314.7 MB Notification: Performance of SimCode: time 4.21e-07/0.2061, allocations: 0 / 366.7 MB, free: 0 / 314.7 MB Notification: Performance of Templates: time 0.02903/0.2352, allocations: 32.51 MB / 399.2 MB, free: 15.64 MB / 362.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.013211881741881]