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.001808/0.001808, allocations: 88.72 kB / 19.44 MB, free: 352 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.002292/0.002292, allocations: 157.7 kB / 22.75 MB, free: 1.68 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.527/1.527, allocations: 177.1 MB / 203.1 MB, free: 5.488 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.05408/0.05408, allocations: 7.518 MB / 267.1 MB, free: 6.012 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 1.352e-06/1.352e-06, allocations: 0 / 337.9 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.212e-05/2.347e-05, allocations: 2.312 kB / 337.9 MB, free: 11.3 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesButane): time 0.01679/0.01682, allocations: 15.82 MB / 353.8 MB, free: 11.42 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02034/0.03715, allocations: 14.98 MB / 368.7 MB, free: 12.39 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.076e-05/0.03723, allocations: 0 / 368.7 MB, free: 12.39 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007509/0.03799, allocations: 243.2 kB / 369 MB, free: 12.15 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0163/0.05428, allocations: 6.493 MB / 375.5 MB, free: 5.629 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001606/0.05589, allocations: 0.6258 MB / 376.1 MB, free: 5 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003/0.05619, allocations: 210.9 kB / 376.3 MB, free: 4.793 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.384e-05/0.05624, allocations: 13.31 kB / 376.3 MB, free: 4.777 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000227/0.05647, allocations: 131.6 kB / 376.4 MB, free: 4.648 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001228/0.05659, allocations: 43.84 kB / 376.5 MB, free: 4.605 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.05661, allocations: 0 / 376.5 MB, free: 4.605 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01444/0.07105, allocations: 7.008 MB / 383.5 MB, free: 13.58 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.411e-05/0.07108, allocations: 19.91 kB / 383.5 MB, free: 13.56 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 9.767e-05/0.07118, allocations: 39.92 kB / 383.6 MB, free: 13.52 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00993/0.08111, allocations: 4.04 MB / 387.6 MB, free: 9.469 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.08112, allocations: 3.938 kB / 387.6 MB, free: 9.465 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.08112, allocations: 0 / 387.6 MB, free: 9.465 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.82e-06/0.08112, allocations: 0 / 387.6 MB, free: 9.465 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.001977/0.0831, allocations: 0.8446 MB / 388.4 MB, free: 8.586 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.08314, allocations: 8.625 kB / 388.5 MB, free: 8.578 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002301/0.08337, allocations: 39.81 kB / 388.5 MB, free: 8.539 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002336/0.0836, allocations: 149 kB / 388.6 MB, free: 8.367 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.08361, allocations: 4 kB / 388.6 MB, free: 8.363 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.768e-05/0.08364, allocations: 8 kB / 388.6 MB, free: 8.355 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002377/0.08388, allocations: 133.9 kB / 388.8 MB, free: 8.215 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.08389, allocations: 4 kB / 388.8 MB, free: 8.211 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.08391, allocations: 8 kB / 388.8 MB, free: 8.203 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.08392, allocations: 3.984 kB / 388.8 MB, free: 8.199 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001633/0.08408, allocations: 95.97 kB / 388.9 MB, free: 8.105 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007003/0.08478, allocations: 424.3 kB / 389.3 MB, free: 7.656 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000279/0.08506, allocations: 113.2 kB / 389.4 MB, free: 7.527 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001208/0.08518, allocations: 69.7 kB / 389.5 MB, free: 7.453 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05701/0.1422, allocations: 10.96 MB / 400.4 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.652e-05/0.1422, allocations: 34.5 kB / 400.5 MB, free: 12.43 MB / 330.7 MB Notification: Performance of pre-optimization done (n=24): time 2.445e-06/0.1422, allocations: 0 / 400.5 MB, free: 12.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=24): time 0.0007804/0.143, allocations: 241.2 kB / 400.7 MB, free: 12.19 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.999e-05/0.1431, allocations: 81.11 kB / 400.8 MB, free: 12.09 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.1432, allocations: 113.8 kB / 400.9 MB, free: 11.97 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/0.1433, allocations: 29.7 kB / 400.9 MB, free: 11.94 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.448e-05/0.1433, allocations: 88.58 kB / 401 MB, free: 11.85 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/0.1435, allocations: 91.22 kB / 401.1 MB, free: 11.76 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.143e-05/0.1435, allocations: 33.7 kB / 401.1 MB, free: 11.72 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001973/0.1437, allocations: 326.8 kB / 401.5 MB, free: 11.39 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.529e-05/0.1438, allocations: 47.98 kB / 401.5 MB, free: 11.34 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.1439, allocations: 61.7 kB / 401.6 MB, free: 11.28 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002152/0.1441, allocations: 125.3 kB / 401.7 MB, free: 11.15 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.1441, allocations: 0 / 401.7 MB, free: 11.15 MB / 330.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000329/0.1445, allocations: 169.6 kB / 401.9 MB, free: 10.98 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.1445, allocations: 7.938 kB / 401.9 MB, free: 10.97 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.1445, allocations: 0 / 401.9 MB, free: 10.97 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.555e-05/0.1445, allocations: 4 kB / 401.9 MB, free: 10.97 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.1446, allocations: 23.92 kB / 401.9 MB, free: 10.95 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.1446, allocations: 4 kB / 401.9 MB, free: 10.94 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.071e-05/0.1447, allocations: 7.953 kB / 401.9 MB, free: 10.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.001e-05/0.1447, allocations: 8 kB / 401.9 MB, free: 10.93 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.0001243/0.1448, allocations: 113.8 kB / 402 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.578e-05/0.1449, allocations: 23.83 kB / 402 MB, free: 10.78 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005765/0.1455, allocations: 320.8 kB / 402.4 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003626/0.1459, allocations: 248.2 kB / 402.6 MB, free: 10.22 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1459, allocations: 0 / 402.6 MB, free: 10.22 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.1459, allocations: 0 / 402.6 MB, free: 10.22 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001116/0.147, allocations: 0.6764 MB / 403.3 MB, free: 9.504 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.147, allocations: 0 / 403.3 MB, free: 9.504 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001928/0.1472, allocations: 39.98 kB / 403.3 MB, free: 9.465 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.1472, allocations: 0 / 403.3 MB, free: 9.465 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.101e-05/0.1472, allocations: 11.94 kB / 403.3 MB, free: 9.453 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-06/0.1472, allocations: 3.938 kB / 403.3 MB, free: 9.449 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.1472, allocations: 0 / 403.3 MB, free: 9.449 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007359/0.1479, allocations: 0.5341 MB / 403.9 MB, free: 8.898 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.108e-05/0.148, allocations: 19.88 kB / 403.9 MB, free: 8.879 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.644e-05/0.148, allocations: 16.12 kB / 403.9 MB, free: 8.863 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.1482, allocations: 8 kB / 403.9 MB, free: 8.855 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.433e-05/0.1482, allocations: 23.91 kB / 403.9 MB, free: 8.832 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-05/0.1482, allocations: 12 kB / 403.9 MB, free: 8.82 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.377e-05/0.1483, allocations: 91.27 kB / 404 MB, free: 8.73 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1483, allocations: 0 / 404 MB, free: 8.73 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002678/0.151, allocations: 0.9539 MB / 405 MB, free: 7.773 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.004806/0.1558, allocations: 1.559 MB / 406.5 MB, free: 6.203 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004912/0.1563, allocations: 231 kB / 406.8 MB, free: 5.965 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1563, allocations: 0 / 406.8 MB, free: 5.965 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001849/0.1565, allocations: 106.7 kB / 406.9 MB, free: 5.863 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001056/0.1576, allocations: 148 kB / 407 MB, free: 5.723 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00094/0.1585, allocations: 441.5 kB / 407.5 MB, free: 5.258 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001479/0.1586, allocations: 121.1 kB / 407.6 MB, free: 5.121 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001554/0.1588, allocations: 42.06 kB / 407.6 MB, free: 5.078 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.087e-05/0.1589, allocations: 28.5 kB / 407.6 MB, free: 5.051 MB / 330.7 MB Notification: Performance of SimCode: time 6.61e-07/0.1589, allocations: 0 / 407.6 MB, free: 5.051 MB / 330.7 MB Notification: Performance of Templates: time 0.1374/0.2963, allocations: 28.36 MB / 436 MB, free: 66.41 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=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.286336897988804]