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.0008973/0.0008973, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.00093/0.00093, allocations: 173 kB / 23.5 MB, free: 1.055 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.9242/0.9242, allocations: 177.1 MB / 203.8 MB, free: 5.609 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.02997/0.02997, allocations: 7.521 MB / 267.8 MB, free: 6.047 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.222e-06/1.222e-06, allocations: 0 / 338.7 MB, free: 11.29 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.689e-05/1.811e-05, allocations: 2.312 kB / 338.7 MB, free: 11.28 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesButane): time 0.01147/0.01149, allocations: 17.53 MB / 356.2 MB, free: 9.68 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01088/0.02237, allocations: 17.07 MB / 373.3 MB, free: 8.555 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.853e-05/0.02242, allocations: 0 / 373.3 MB, free: 8.555 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004858/0.0229, allocations: 251.2 kB / 373.5 MB, free: 8.309 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009146/0.03205, allocations: 6.481 MB / 380 MB, free: 1.801 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007819/0.03283, allocations: 0.6258 MB / 380.6 MB, free: 1.168 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001475/0.03298, allocations: 210.9 kB / 380.8 MB, free: 0.9609 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.915e-05/0.03302, allocations: 9.297 kB / 380.9 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.03314, allocations: 131.6 kB / 381 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.925e-05/0.03321, allocations: 47.83 kB / 381 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/0.03322, allocations: 8 kB / 381 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006926/0.04015, allocations: 7.004 MB / 388 MB, free: 9.746 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.576e-05/0.04016, allocations: 11.92 kB / 388.1 MB, free: 9.734 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.822e-05/0.04021, allocations: 43.86 kB / 388.1 MB, free: 9.691 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003808/0.04402, allocations: 4.044 MB / 392.1 MB, free: 5.637 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.04402, allocations: 0 / 392.1 MB, free: 5.637 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.04403, allocations: 0 / 392.1 MB, free: 5.637 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.469e-06/0.04403, allocations: 4 kB / 392.1 MB, free: 5.633 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.0009714/0.045, allocations: 0.9442 MB / 393.1 MB, free: 4.648 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.04504, allocations: 12.61 kB / 393.1 MB, free: 4.637 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001588/0.0452, allocations: 39.81 kB / 393.1 MB, free: 4.598 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/0.04535, allocations: 143.9 kB / 393.3 MB, free: 4.43 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.04536, allocations: 4 kB / 393.3 MB, free: 4.426 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.723e-05/0.04538, allocations: 4 kB / 393.3 MB, free: 4.422 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.04552, allocations: 105 kB / 393.4 MB, free: 4.305 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.04553, allocations: 0 / 393.4 MB, free: 4.305 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.04554, allocations: 4 kB / 393.4 MB, free: 4.301 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.04555, allocations: 8 kB / 393.4 MB, free: 4.293 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.679e-05/0.04562, allocations: 55.89 kB / 393.5 MB, free: 4.238 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000438/0.04606, allocations: 494.4 kB / 393.9 MB, free: 3.715 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001556/0.04622, allocations: 114.1 kB / 394.1 MB, free: 3.578 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.566e-05/0.04627, allocations: 55.64 kB / 394.1 MB, free: 3.516 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02304/0.06931, allocations: 10.45 MB / 404.6 MB, free: 9.055 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.06933, allocations: 41.39 kB / 404.6 MB, free: 9.004 MB / 330.7 MB Notification: Performance of pre-optimization done (n=24): time 1.843e-06/0.06934, allocations: 0 / 404.6 MB, free: 9.004 MB / 330.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004079/0.06974, allocations: 197.3 kB / 404.8 MB, free: 8.805 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.487e-05/0.06978, allocations: 81.11 kB / 404.9 MB, free: 8.707 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.374e-05/0.06986, allocations: 177.9 kB / 405 MB, free: 8.516 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.06987, allocations: 29.7 kB / 405.1 MB, free: 8.48 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.448e-05/0.06992, allocations: 135.4 kB / 405.2 MB, free: 8.344 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.922e-05/0.06997, allocations: 83.22 kB / 405.3 MB, free: 8.262 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.419e-05/0.07001, allocations: 51.36 kB / 405.3 MB, free: 8.203 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.672e-05/0.07011, allocations: 0.4923 MB / 405.8 MB, free: 7.699 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.844e-05/0.07015, allocations: 31.98 kB / 405.9 MB, free: 7.668 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.497e-05/0.0702, allocations: 65.05 kB / 405.9 MB, free: 7.598 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000103/0.07031, allocations: 102.9 kB / 406 MB, free: 7.492 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.07031, allocations: 0 / 406 MB, free: 7.492 MB / 330.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001458/0.07045, allocations: 149.5 kB / 406.2 MB, free: 7.34 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.07047, allocations: 4 kB / 406.2 MB, free: 7.336 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.07047, allocations: 0 / 406.2 MB, free: 7.336 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.07049, allocations: 4 kB / 406.2 MB, free: 7.332 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.263e-05/0.07054, allocations: 19.98 kB / 406.2 MB, free: 7.312 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.84e-06/0.07054, allocations: 0 / 406.2 MB, free: 7.312 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.606e-05/0.07058, allocations: 23.84 kB / 406.2 MB, free: 7.289 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.07059, allocations: 4 kB / 406.2 MB, free: 7.285 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 6.667e-05/0.07066, allocations: 164.5 kB / 406.4 MB, free: 7.113 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.367e-05/0.07069, allocations: 19.88 kB / 406.4 MB, free: 7.094 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002495/0.07094, allocations: 233.3 kB / 406.6 MB, free: 6.863 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001528/0.0711, allocations: 189.4 kB / 406.8 MB, free: 6.672 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.0711, allocations: 128 / 406.8 MB, free: 6.672 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.0711, allocations: 0 / 406.8 MB, free: 6.672 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005361/0.07164, allocations: 0.7369 MB / 407.6 MB, free: 5.895 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.07164, allocations: 0 / 407.6 MB, free: 5.895 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.079e-05/0.07173, allocations: 39.92 kB / 407.6 MB, free: 5.855 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.07173, allocations: 0 / 407.6 MB, free: 5.855 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.07175, allocations: 11.94 kB / 407.6 MB, free: 5.844 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.07175, allocations: 3.938 kB / 407.6 MB, free: 5.84 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.07175, allocations: 0 / 407.6 MB, free: 5.84 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003333/0.07209, allocations: 0.5228 MB / 408.1 MB, free: 5.297 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.682e-05/0.0721, allocations: 19.78 kB / 408.1 MB, free: 5.277 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.862e-05/0.07212, allocations: 15.97 kB / 408.2 MB, free: 5.262 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.407e-05/0.07218, allocations: 4 kB / 408.2 MB, free: 5.258 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.418e-05/0.07221, allocations: 19.97 kB / 408.2 MB, free: 5.238 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.07222, allocations: 8 kB / 408.2 MB, free: 5.23 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.871e-05/0.07226, allocations: 135.5 kB / 408.3 MB, free: 5.098 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.07226, allocations: 0 / 408.3 MB, free: 5.098 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001491/0.07375, allocations: 0.9424 MB / 409.3 MB, free: 4.152 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.002391/0.07614, allocations: 1.559 MB / 410.8 MB, free: 2.586 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000232/0.07637, allocations: 211.7 kB / 411 MB, free: 2.363 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.07638, allocations: 4 kB / 411 MB, free: 2.359 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.923e-05/0.07645, allocations: 92.2 kB / 411.1 MB, free: 2.266 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005134/0.07697, allocations: 148.3 kB / 411.3 MB, free: 2.121 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008262/0.07779, allocations: 442 kB / 411.7 MB, free: 1.652 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.092e-05/0.07784, allocations: 84.81 kB / 411.8 MB, free: 1.547 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.494e-05/0.07793, allocations: 42.11 kB / 411.8 MB, free: 1.508 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.749e-05/0.07797, allocations: 32.5 kB / 411.9 MB, free: 1.477 MB / 330.7 MB Notification: Performance of SimCode: time 7.82e-07/0.07797, allocations: 0 / 411.9 MB, free: 1.477 MB / 330.7 MB Notification: Performance of Templates: time 0.1091/0.1871, allocations: 28.52 MB / 440.4 MB, free: 62.49 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: 4.311341532040387]