Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium.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.0009262/0.0009262, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001098/0.001098, 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.919/0.919, allocations: 177.1 MB / 203.8 MB, free: 5.617 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.02998/0.02998, allocations: 7.516 MB / 267.8 MB, free: 6.043 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.CheckDerivativesHelium,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium") translateModel(HelmholtzMedia.Examples.Validation.CheckDerivativesHelium,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 338.7 MB, free: 11.29 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.159e-05/2.322e-05, allocations: 2.312 kB / 338.7 MB, free: 11.29 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesHelium): time 0.01196/0.01198, allocations: 17.47 MB / 356.2 MB, free: 9.75 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01104/0.02303, allocations: 16.96 MB / 373.1 MB, free: 8.734 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.955e-05/0.0231, allocations: 0 / 373.1 MB, free: 8.734 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005239/0.02362, allocations: 235.2 kB / 373.4 MB, free: 8.504 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0102/0.03382, allocations: 6.403 MB / 379.8 MB, free: 2.074 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000932/0.03475, allocations: 0.5985 MB / 380.4 MB, free: 1.473 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001613/0.03491, allocations: 202.8 kB / 380.6 MB, free: 1.273 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.105e-05/0.03495, allocations: 9.297 kB / 380.6 MB, free: 1.262 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001184/0.03507, allocations: 111.7 kB / 380.7 MB, free: 1.148 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.824e-05/0.03514, allocations: 51.83 kB / 380.7 MB, free: 1.098 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/0.03515, allocations: 0 / 380.7 MB, free: 1.098 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008167/0.04332, allocations: 6.852 MB / 387.6 MB, free: 10.23 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.001e-05/0.04334, allocations: 19.91 kB / 387.6 MB, free: 10.21 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.678e-05/0.0434, allocations: 39.88 kB / 387.6 MB, free: 10.17 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009383/0.05278, allocations: 4.032 MB / 391.7 MB, free: 6.129 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.05278, allocations: 0 / 391.7 MB, free: 6.129 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.522e-06/0.05278, allocations: 0 / 391.7 MB, free: 6.129 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.05279, allocations: 0 / 391.7 MB, free: 6.129 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.001344/0.05413, allocations: 0.9442 MB / 392.6 MB, free: 5.145 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.05417, allocations: 12.62 kB / 392.6 MB, free: 5.133 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001513/0.05432, allocations: 35.81 kB / 392.7 MB, free: 5.098 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.05447, allocations: 147.9 kB / 392.8 MB, free: 4.926 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.05448, allocations: 8 kB / 392.8 MB, free: 4.918 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.679e-05/0.0545, allocations: 4 kB / 392.8 MB, free: 4.914 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/0.05463, allocations: 101 kB / 392.9 MB, free: 4.801 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.05464, allocations: 0 / 392.9 MB, free: 4.801 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.05465, allocations: 8 kB / 392.9 MB, free: 4.793 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.05466, allocations: 3.984 kB / 392.9 MB, free: 4.789 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.085e-05/0.05472, allocations: 47.92 kB / 393 MB, free: 4.742 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004208/0.05514, allocations: 494.4 kB / 393.5 MB, free: 4.219 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001605/0.0553, allocations: 122.1 kB / 393.6 MB, free: 4.074 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.683e-05/0.05536, allocations: 59.56 kB / 393.6 MB, free: 4.008 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02367/0.07903, allocations: 10.44 MB / 404.1 MB, free: 9.555 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.761e-05/0.07907, allocations: 37.39 kB / 404.1 MB, free: 9.508 MB / 330.7 MB Notification: Performance of pre-optimization done (n=24): time 3.487e-06/0.07907, allocations: 0 / 404.1 MB, free: 9.508 MB / 330.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004641/0.07954, allocations: 209.2 kB / 404.3 MB, free: 9.297 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.07957, allocations: 81.11 kB / 404.4 MB, free: 9.199 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.057e-05/0.07966, allocations: 173.9 kB / 404.6 MB, free: 9.012 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.07967, allocations: 29.7 kB / 404.6 MB, free: 8.977 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.667e-05/0.07972, allocations: 135.4 kB / 404.7 MB, free: 8.84 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.706e-05/0.07978, allocations: 83.22 kB / 404.8 MB, free: 8.758 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.632e-05/0.07982, allocations: 51.36 kB / 404.9 MB, free: 8.699 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.07993, allocations: 0.4923 MB / 405.3 MB, free: 8.195 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.235e-05/0.07997, allocations: 31.92 kB / 405.4 MB, free: 8.164 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.704e-05/0.08003, allocations: 61.09 kB / 405.4 MB, free: 8.098 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.967e-05/0.08013, allocations: 98.94 kB / 405.5 MB, free: 7.996 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.08013, allocations: 0 / 405.5 MB, free: 7.996 MB / 330.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001576/0.08029, allocations: 161.5 kB / 405.7 MB, free: 7.832 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.0803, allocations: 4 kB / 405.7 MB, free: 7.828 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.08031, allocations: 4 kB / 405.7 MB, free: 7.824 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.08032, allocations: 0 / 405.7 MB, free: 7.824 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.753e-05/0.08039, allocations: 20 kB / 405.7 MB, free: 7.805 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.0804, allocations: 0 / 405.7 MB, free: 7.805 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.916e-05/0.08044, allocations: 15.84 kB / 405.7 MB, free: 7.789 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.08045, allocations: 4 kB / 405.7 MB, free: 7.785 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 7.548e-05/0.08052, allocations: 168.5 kB / 405.9 MB, free: 7.609 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.473e-05/0.08056, allocations: 19.89 kB / 405.9 MB, free: 7.59 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000264/0.08082, allocations: 240.4 kB / 406.2 MB, free: 7.352 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001526/0.08098, allocations: 188.4 kB / 406.3 MB, free: 7.164 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.08098, allocations: 0 / 406.3 MB, free: 7.164 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.08099, allocations: 3.984 kB / 406.3 MB, free: 7.16 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005714/0.08156, allocations: 0.7185 MB / 407.1 MB, free: 6.398 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.08156, allocations: 0 / 407.1 MB, free: 6.398 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.507e-05/0.08165, allocations: 39.92 kB / 407.1 MB, free: 6.359 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.08166, allocations: 4.125 kB / 407.1 MB, free: 6.355 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.08167, allocations: 19.88 kB / 407.1 MB, free: 6.336 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.08167, allocations: 0 / 407.1 MB, free: 6.336 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.08168, allocations: 0 / 407.1 MB, free: 6.336 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003492/0.08202, allocations: 0.5228 MB / 407.6 MB, free: 5.793 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.373e-05/0.08205, allocations: 27.72 kB / 407.7 MB, free: 5.766 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.08207, allocations: 7.938 kB / 407.7 MB, free: 5.758 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.485e-05/0.08213, allocations: 4 kB / 407.7 MB, free: 5.754 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.647e-05/0.08216, allocations: 19.97 kB / 407.7 MB, free: 5.734 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.08217, allocations: 15.98 kB / 407.7 MB, free: 5.719 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.226e-05/0.08221, allocations: 131.6 kB / 407.8 MB, free: 5.59 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.08221, allocations: 4.031 kB / 407.9 MB, free: 5.586 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0017/0.08391, allocations: 0.9385 MB / 408.8 MB, free: 4.645 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.002518/0.08643, allocations: 1.559 MB / 410.4 MB, free: 3.074 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002558/0.08669, allocations: 211.7 kB / 410.6 MB, free: 2.852 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.08669, allocations: 0 / 410.6 MB, free: 2.852 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.865e-05/0.08677, allocations: 92.09 kB / 410.6 MB, free: 2.762 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005362/0.0873, allocations: 159.2 kB / 410.8 MB, free: 2.609 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008629/0.08816, allocations: 442 kB / 411.2 MB, free: 2.141 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.424e-05/0.08822, allocations: 84.81 kB / 411.3 MB, free: 2.035 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001104/0.08833, allocations: 46.11 kB / 411.4 MB, free: 1.992 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.971e-05/0.08837, allocations: 28.5 kB / 411.4 MB, free: 1.965 MB / 330.7 MB Notification: Performance of SimCode: time 1.202e-06/0.08837, allocations: 0 / 411.4 MB, free: 1.965 MB / 330.7 MB Notification: Performance of Templates: time 0.1269/0.2153, allocations: 28.51 MB / 439.9 MB, free: 44.89 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.6205157320946455]