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.001961/0.001961, allocations: 93.47 kB / 19.45 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.002231/0.002231, allocations: 169.2 kB / 22.76 MB, free: 1.66 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.71/1.71, allocations: 177.1 MB / 203.1 MB, free: 5.621 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.06225/0.06225, allocations: 7.509 MB / 267.1 MB, free: 6.051 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 2.444e-06/2.444e-06, allocations: 0 / 337.9 MB, free: 11.33 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.059e-05/4.303e-05, allocations: 4.703 kB / 337.9 MB, free: 11.33 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesButane): time 0.02332/0.02336, allocations: 17.5 MB / 355.4 MB, free: 9.758 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02663/0.04999, allocations: 17.08 MB / 372.5 MB, free: 8.621 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000179/0.05017, allocations: 4 kB / 372.5 MB, free: 8.617 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001095/0.05127, allocations: 243.2 kB / 372.8 MB, free: 8.379 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02561/0.07688, allocations: 6.493 MB / 379.2 MB, free: 1.859 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002573/0.07945, allocations: 0.618 MB / 379.9 MB, free: 1.238 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004713/0.07992, allocations: 218.8 kB / 380.1 MB, free: 1.02 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.151e-05/0.07999, allocations: 9.312 kB / 380.1 MB, free: 1.008 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002961/0.08029, allocations: 123.6 kB / 380.2 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000161/0.08045, allocations: 51.83 kB / 380.3 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.744e-05/0.08048, allocations: 4 kB / 380.3 MB, free: 0.832 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02183/0.1023, allocations: 7.015 MB / 387.3 MB, free: 9.801 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.739e-05/0.1023, allocations: 7.922 kB / 387.3 MB, free: 9.793 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001308/0.1025, allocations: 35.94 kB / 387.3 MB, free: 9.758 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01778/0.1203, allocations: 4.052 MB / 391.4 MB, free: 5.695 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.197e-06/0.1203, allocations: 0 / 391.4 MB, free: 5.695 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.015e-06/0.1203, allocations: 3.938 kB / 391.4 MB, free: 5.691 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.1203, allocations: 0 / 391.4 MB, free: 5.691 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.003382/0.1237, allocations: 0.9403 MB / 392.3 MB, free: 4.711 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.546e-05/0.1237, allocations: 8.625 kB / 392.3 MB, free: 4.703 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002973/0.124, allocations: 39.88 kB / 392.4 MB, free: 4.664 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002628/0.1243, allocations: 151.8 kB / 392.5 MB, free: 4.488 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/0.1243, allocations: 8 kB / 392.5 MB, free: 4.48 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.794e-05/0.1243, allocations: 4 kB / 392.5 MB, free: 4.477 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002541/0.1246, allocations: 107.4 kB / 392.6 MB, free: 4.359 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.1246, allocations: 8 kB / 392.6 MB, free: 4.352 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.1246, allocations: 0 / 392.6 MB, free: 4.352 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.1246, allocations: 0 / 392.6 MB, free: 4.352 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001417/0.1248, allocations: 55.97 kB / 392.7 MB, free: 4.297 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009295/0.1257, allocations: 0.4984 MB / 393.2 MB, free: 3.758 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003379/0.126, allocations: 122.2 kB / 393.3 MB, free: 3.613 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001266/0.1262, allocations: 67.41 kB / 393.4 MB, free: 3.539 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05758/0.1837, allocations: 10.44 MB / 403.8 MB, free: 9.082 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.997e-05/0.1838, allocations: 37.39 kB / 403.9 MB, free: 9.035 MB / 330.7 MB Notification: Performance of pre-optimization done (n=24): time 4.268e-06/0.1838, allocations: 0 / 403.9 MB, free: 9.035 MB / 330.7 MB Notification: Performance of matching and sorting (n=24): time 0.000975/0.1848, allocations: 225.3 kB / 404.1 MB, free: 8.809 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.785e-05/0.1849, allocations: 89.09 kB / 404.2 MB, free: 8.703 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004186/0.1853, allocations: 181.9 kB / 404.3 MB, free: 8.508 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.495e-05/0.1853, allocations: 25.7 kB / 404.4 MB, free: 8.477 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.1855, allocations: 135.4 kB / 404.5 MB, free: 8.34 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001496/0.1856, allocations: 91.2 kB / 404.6 MB, free: 8.25 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/0.1857, allocations: 43.36 kB / 404.6 MB, free: 8.199 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003353/0.1861, allocations: 0.4962 MB / 405.1 MB, free: 7.691 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.1862, allocations: 39.98 kB / 405.2 MB, free: 7.652 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001388/0.1863, allocations: 63.36 kB / 405.2 MB, free: 7.582 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002377/0.1865, allocations: 118.2 kB / 405.3 MB, free: 7.461 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.1865, allocations: 0 / 405.3 MB, free: 7.461 MB / 330.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003712/0.1869, allocations: 177.1 kB / 405.5 MB, free: 7.285 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.406e-05/0.1869, allocations: 13.39 kB / 405.5 MB, free: 7.273 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.187, allocations: 0 / 405.5 MB, free: 7.273 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.032e-05/0.187, allocations: 3.938 kB / 405.5 MB, free: 7.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.1871, allocations: 19.94 kB / 405.6 MB, free: 7.25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/0.1871, allocations: 4 kB / 405.6 MB, free: 7.246 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/0.1872, allocations: 7.906 kB / 405.6 MB, free: 7.238 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.61e-05/0.1873, allocations: 8 kB / 405.6 MB, free: 7.23 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.0001919/0.1875, allocations: 168.5 kB / 405.7 MB, free: 7.055 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.195e-05/0.1875, allocations: 15.89 kB / 405.8 MB, free: 7.039 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000589/0.1881, allocations: 261.1 kB / 406 MB, free: 6.781 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003769/0.1885, allocations: 208.2 kB / 406.2 MB, free: 6.574 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/0.1885, allocations: 4 kB / 406.2 MB, free: 6.57 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.1885, allocations: 0 / 406.2 MB, free: 6.57 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001407/0.1899, allocations: 0.7574 MB / 407 MB, free: 5.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.1899, allocations: 0 / 407 MB, free: 5.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002102/0.1902, allocations: 39.98 kB / 407 MB, free: 5.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.706e-06/0.1902, allocations: 4 kB / 407 MB, free: 5.727 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.682e-05/0.1902, allocations: 7.938 kB / 407 MB, free: 5.719 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.1902, allocations: 0 / 407 MB, free: 5.719 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.1902, allocations: 0 / 407 MB, free: 5.719 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008292/0.191, allocations: 0.5763 MB / 407.6 MB, free: 5.125 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.724e-05/0.1911, allocations: 19.84 kB / 407.6 MB, free: 5.105 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.19e-05/0.1912, allocations: 12.06 kB / 407.6 MB, free: 5.094 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/0.1913, allocations: 8 kB / 407.6 MB, free: 5.086 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.094e-05/0.1914, allocations: 15.97 kB / 407.7 MB, free: 5.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.703e-05/0.1914, allocations: 12 kB / 407.7 MB, free: 5.059 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001216/0.1915, allocations: 139.1 kB / 407.8 MB, free: 4.922 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1915, allocations: 4 kB / 407.8 MB, free: 4.918 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.004996/0.1965, allocations: 0.9424 MB / 408.7 MB, free: 3.973 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.01007/0.2066, allocations: 1.556 MB / 410.3 MB, free: 2.406 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009834/0.2076, allocations: 230.5 kB / 410.5 MB, free: 2.164 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.2076, allocations: 0 / 410.5 MB, free: 2.164 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003313/0.2079, allocations: 112.1 kB / 410.6 MB, free: 2.051 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00136/0.2093, allocations: 141.2 kB / 410.8 MB, free: 1.914 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001256/0.2105, allocations: 430.5 kB / 411.2 MB, free: 1.457 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002111/0.2107, allocations: 129 kB / 411.3 MB, free: 1.312 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002547/0.211, allocations: 49.98 kB / 411.4 MB, free: 1.262 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.2111, allocations: 32.5 kB / 411.4 MB, free: 1.23 MB / 330.7 MB Notification: Performance of SimCode: time 2.234e-06/0.2111, allocations: 0 / 411.4 MB, free: 1.23 MB / 330.7 MB Notification: Performance of Templates: time 0.2401/0.4512, allocations: 28.51 MB / 439.9 MB, free: 62.09 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: 8.19651173404418]