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.0008803/0.0008803, allocations: 73.88 kB / 20.66 MB, free: 3.844 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.0009227/0.0009227, allocations: 173 kB / 24.06 MB, free: 452 kB / 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.07/1.07, allocations: 177.2 MB / 204.5 MB, free: 5.512 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.06222/0.06222, allocations: 7.517 MB / 268.6 MB, free: 5.852 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.323e-06/1.323e-06, allocations: 0 / 339.9 MB, free: 11.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.813e-05/1.946e-05, allocations: 6.312 kB / 339.9 MB, free: 11.75 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesButane): time 0.01507/0.01509, allocations: 17.45 MB / 357.4 MB, free: 10.22 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01227/0.02736, allocations: 17.06 MB / 374.4 MB, free: 9.105 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.062e-05/0.02743, allocations: 4 kB / 374.4 MB, free: 9.102 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00066/0.02809, allocations: 283.2 kB / 374.7 MB, free: 8.824 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0126/0.04069, allocations: 7.083 MB / 381.8 MB, free: 1.715 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001169/0.04186, allocations: 0.704 MB / 382.5 MB, free: 1.008 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001958/0.04205, allocations: 238.8 kB / 382.7 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.387e-05/0.0421, allocations: 5.25 kB / 382.7 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001477/0.04224, allocations: 147.6 kB / 382.9 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.006e-05/0.04232, allocations: 43.83 kB / 382.9 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.298e-05/0.04234, allocations: 8 kB / 382.9 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009801/0.05214, allocations: 7.226 MB / 390.1 MB, free: 9.328 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.327e-05/0.05216, allocations: 19.86 kB / 390.2 MB, free: 9.309 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.154e-05/0.05221, allocations: 35.92 kB / 390.2 MB, free: 9.273 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005693/0.05791, allocations: 4.036 MB / 394.2 MB, free: 5.227 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.05791, allocations: 0 / 394.2 MB, free: 5.227 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.05791, allocations: 0 / 394.2 MB, free: 5.227 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.05792, allocations: 4 kB / 394.2 MB, free: 5.223 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.001035/0.05895, allocations: 0.9403 MB / 395.2 MB, free: 4.242 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.05898, allocations: 8.625 kB / 395.2 MB, free: 4.234 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001311/0.05911, allocations: 51.75 kB / 395.2 MB, free: 4.184 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.05922, allocations: 131.9 kB / 395.4 MB, free: 4.027 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.05923, allocations: 12 kB / 395.4 MB, free: 4.016 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.684e-05/0.05925, allocations: 4 kB / 395.4 MB, free: 4.012 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.05937, allocations: 102.1 kB / 395.5 MB, free: 3.898 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.05938, allocations: 3.938 kB / 395.5 MB, free: 3.895 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.05939, allocations: 0 / 395.5 MB, free: 3.895 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.05939, allocations: 11.98 kB / 395.5 MB, free: 3.883 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.339e-05/0.05944, allocations: 35.61 kB / 395.5 MB, free: 3.852 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006618/0.0601, allocations: 482.9 kB / 396 MB, free: 3.348 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.06023, allocations: 102.1 kB / 396.1 MB, free: 3.223 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.015e-05/0.06027, allocations: 47.48 kB / 396.1 MB, free: 3.168 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02064/0.08091, allocations: 8.222 MB / 404.4 MB, free: 10.94 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.08094, allocations: 41.27 kB / 404.4 MB, free: 10.89 MB / 378.7 MB Notification: Performance of pre-optimization done (n=24): time 2.284e-06/0.08094, allocations: 4 kB / 404.4 MB, free: 10.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=24): time 0.0003498/0.08129, allocations: 177.4 kB / 404.6 MB, free: 10.7 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.08133, allocations: 81.11 kB / 404.7 MB, free: 10.61 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.028e-05/0.08141, allocations: 173.8 kB / 404.8 MB, free: 10.42 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.08142, allocations: 33.64 kB / 404.9 MB, free: 10.38 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.578e-05/0.08147, allocations: 139.3 kB / 405 MB, free: 10.23 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.302e-05/0.08152, allocations: 83.22 kB / 405.1 MB, free: 10.15 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.579e-05/0.08157, allocations: 51.33 kB / 405.1 MB, free: 10.09 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.08169, allocations: 0.4923 MB / 405.6 MB, free: 9.59 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.638e-05/0.08171, allocations: 23.98 kB / 405.7 MB, free: 9.566 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.591e-05/0.08176, allocations: 51.98 kB / 405.7 MB, free: 9.508 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.318e-05/0.08184, allocations: 83.34 kB / 405.8 MB, free: 9.418 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.08184, allocations: 4 kB / 405.8 MB, free: 9.414 MB / 378.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001374/0.08198, allocations: 133.2 kB / 405.9 MB, free: 9.281 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.082, allocations: 10.28 kB / 405.9 MB, free: 9.273 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.08201, allocations: 0 / 405.9 MB, free: 9.273 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.08202, allocations: 4 kB / 405.9 MB, free: 9.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.079e-05/0.08208, allocations: 20 kB / 406 MB, free: 9.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.08208, allocations: 7.922 kB / 406 MB, free: 9.242 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.895e-05/0.08212, allocations: 19.84 kB / 406 MB, free: 9.223 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.08213, allocations: 0 / 406 MB, free: 9.223 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 7.48e-05/0.08221, allocations: 160.6 kB / 406.1 MB, free: 9.055 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.728e-05/0.08224, allocations: 19.89 kB / 406.2 MB, free: 9.035 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002259/0.08247, allocations: 214 kB / 406.4 MB, free: 8.824 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001255/0.0826, allocations: 176.2 kB / 406.5 MB, free: 8.648 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.0826, allocations: 0 / 406.5 MB, free: 8.648 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.08261, allocations: 7.969 kB / 406.5 MB, free: 8.641 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005145/0.08312, allocations: 0.6827 MB / 407.2 MB, free: 7.926 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.08312, allocations: 4 kB / 407.2 MB, free: 7.922 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.964e-05/0.08321, allocations: 39.92 kB / 407.3 MB, free: 7.883 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.08322, allocations: 3.984 kB / 407.3 MB, free: 7.879 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.08323, allocations: 8 kB / 407.3 MB, free: 7.871 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.08323, allocations: 0 / 407.3 MB, free: 7.871 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.08323, allocations: 3.938 kB / 407.3 MB, free: 7.867 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003007/0.08353, allocations: 0.4966 MB / 407.8 MB, free: 7.352 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.869e-05/0.08355, allocations: 23.83 kB / 407.8 MB, free: 7.328 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.08357, allocations: 12.03 kB / 407.8 MB, free: 7.316 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.545e-05/0.08364, allocations: 0 / 407.8 MB, free: 7.316 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.297e-05/0.08366, allocations: 23.91 kB / 407.8 MB, free: 7.293 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.08367, allocations: 4 kB / 407.8 MB, free: 7.289 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.097e-05/0.08371, allocations: 135.2 kB / 408 MB, free: 7.156 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.08371, allocations: 0 / 408 MB, free: 7.156 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001522/0.08523, allocations: 0.9346 MB / 408.9 MB, free: 6.219 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.002588/0.08782, allocations: 1.578 MB / 410.5 MB, free: 4.621 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001914/0.08801, allocations: 190.8 kB / 410.7 MB, free: 4.418 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.08801, allocations: 0 / 410.7 MB, free: 4.418 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.753e-05/0.08808, allocations: 91.27 kB / 410.8 MB, free: 4.324 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000523/0.0886, allocations: 153.7 kB / 410.9 MB, free: 4.176 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007468/0.08935, allocations: 434 kB / 411.3 MB, free: 3.719 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.953e-05/0.0894, allocations: 80.83 kB / 411.4 MB, free: 3.621 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.52e-05/0.08948, allocations: 46.09 kB / 411.5 MB, free: 3.578 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001832/0.08967, allocations: 174 kB / 411.6 MB, free: 3.406 MB / 378.7 MB Notification: Performance of SimCode: time 6.11e-07/0.08967, allocations: 0 / 411.6 MB, free: 3.406 MB / 378.7 MB Notification: Performance of Templates: time 0.03078/0.1204, allocations: 32.77 MB / 444.4 MB, free: 2.754 MB / 410.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: 5.215850381180644]