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.001155/0.001155, allocations: 93.06 kB / 19.65 MB, free: 280 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.00135/0.00135, allocations: 169.3 kB / 23.02 MB, free: 1.551 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.9816/0.9816, allocations: 177.2 MB / 203.4 MB, free: 5.641 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.03114/0.03114, allocations: 7.514 MB / 267.5 MB, free: 6.008 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.402e-06/1.402e-06, allocations: 0 / 338.7 MB, free: 10.97 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.36e-05/1.5e-05, allocations: 2.312 kB / 338.7 MB, free: 10.96 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesButane): time 0.01158/0.0116, allocations: 17.62 MB / 356.3 MB, free: 9.277 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01206/0.02366, allocations: 17.26 MB / 373.6 MB, free: 7.957 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.64e-05/0.02372, allocations: 0 / 373.6 MB, free: 7.957 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005668/0.02428, allocations: 283.2 kB / 373.8 MB, free: 7.68 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01092/0.0352, allocations: 7.087 MB / 380.9 MB, free: 0.5625 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009279/0.03613, allocations: 0.7156 MB / 381.6 MB, free: 15.84 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001806/0.03631, allocations: 238.8 kB / 381.9 MB, free: 15.61 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.855e-05/0.03635, allocations: 9.297 kB / 381.9 MB, free: 15.6 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001313/0.03648, allocations: 143.6 kB / 382 MB, free: 15.46 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.265e-05/0.03656, allocations: 51.83 kB / 382.1 MB, free: 15.41 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.03657, allocations: 4 kB / 382.1 MB, free: 15.4 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007893/0.04446, allocations: 7.222 MB / 389.3 MB, free: 8.164 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.813e-05/0.04448, allocations: 15.92 kB / 389.3 MB, free: 8.148 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.08e-05/0.04453, allocations: 39.92 kB / 389.4 MB, free: 8.109 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005726/0.05026, allocations: 4.04 MB / 393.4 MB, free: 4.059 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.05026, allocations: 0 / 393.4 MB, free: 4.059 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.05026, allocations: 0 / 393.4 MB, free: 4.059 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.05027, allocations: 0 / 393.4 MB, free: 4.059 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.001537/0.0518, allocations: 0.9364 MB / 394.3 MB, free: 3.082 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.05184, allocations: 16.61 kB / 394.4 MB, free: 3.066 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001514/0.05199, allocations: 39.81 kB / 394.4 MB, free: 3.027 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.05212, allocations: 135.9 kB / 394.5 MB, free: 2.867 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.05213, allocations: 8 kB / 394.5 MB, free: 2.859 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.983e-05/0.05215, allocations: 8 kB / 394.5 MB, free: 2.852 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.05229, allocations: 99.67 kB / 394.6 MB, free: 2.742 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.0523, allocations: 3.984 kB / 394.6 MB, free: 2.738 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.05231, allocations: 4 kB / 394.6 MB, free: 2.734 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.05232, allocations: 4 kB / 394.6 MB, free: 2.73 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.127e-05/0.05238, allocations: 47.92 kB / 394.7 MB, free: 2.684 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004411/0.05282, allocations: 0.4906 MB / 395.2 MB, free: 2.152 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001756/0.053, allocations: 110.1 kB / 395.3 MB, free: 2.02 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.823e-05/0.05305, allocations: 63.41 kB / 395.4 MB, free: 1.949 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02309/0.07615, allocations: 10.38 MB / 405.7 MB, free: 7.555 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.07617, allocations: 41.39 kB / 405.8 MB, free: 7.504 MB / 330.7 MB Notification: Performance of pre-optimization done (n=24): time 1.503e-06/0.07617, allocations: 0 / 405.8 MB, free: 7.504 MB / 330.7 MB Notification: Performance of matching and sorting (n=24): time 0.0003808/0.07655, allocations: 197.3 kB / 406 MB, free: 7.305 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/0.07659, allocations: 81.09 kB / 406 MB, free: 7.207 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.432e-05/0.07667, allocations: 177.9 kB / 406.2 MB, free: 7.016 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.07668, allocations: 29.7 kB / 406.3 MB, free: 6.98 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.018e-05/0.07672, allocations: 131.4 kB / 406.4 MB, free: 6.848 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.273e-05/0.07678, allocations: 91.22 kB / 406.5 MB, free: 6.758 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.247e-05/0.07682, allocations: 43.36 kB / 406.5 MB, free: 6.707 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.07694, allocations: 0.4923 MB / 407 MB, free: 6.203 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.13e-05/0.07698, allocations: 31.98 kB / 407 MB, free: 6.172 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.316e-05/0.07703, allocations: 51.36 kB / 407.1 MB, free: 6.113 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001026/0.07714, allocations: 110.7 kB / 407.2 MB, free: 6 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.07714, allocations: 0 / 407.2 MB, free: 6 MB / 330.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001558/0.07729, allocations: 149.5 kB / 407.3 MB, free: 5.848 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.07731, allocations: 6.188 kB / 407.3 MB, free: 5.844 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.07732, allocations: 7.984 kB / 407.4 MB, free: 5.836 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.07733, allocations: 0 / 407.4 MB, free: 5.836 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.86e-05/0.07739, allocations: 16 kB / 407.4 MB, free: 5.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.0774, allocations: 4 kB / 407.4 MB, free: 5.816 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.891e-05/0.07744, allocations: 11.89 kB / 407.4 MB, free: 5.805 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.8e-05/0.07746, allocations: 4 kB / 407.4 MB, free: 5.801 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.09e-05/0.07753, allocations: 168.5 kB / 407.6 MB, free: 5.625 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.257e-05/0.07756, allocations: 23.84 kB / 407.6 MB, free: 5.602 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002657/0.07783, allocations: 234 kB / 407.8 MB, free: 5.367 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001511/0.07798, allocations: 188.6 kB / 408 MB, free: 5.18 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.07798, allocations: 4 kB / 408 MB, free: 5.176 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.07799, allocations: 0 / 408 MB, free: 5.176 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005494/0.07854, allocations: 0.7263 MB / 408.7 MB, free: 4.406 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.07854, allocations: 4 kB / 408.7 MB, free: 4.402 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.66e-05/0.07864, allocations: 43.92 kB / 408.8 MB, free: 4.359 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.07864, allocations: 4 kB / 408.8 MB, free: 4.355 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.07865, allocations: 7.938 kB / 408.8 MB, free: 4.348 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.07866, allocations: 8 kB / 408.8 MB, free: 4.34 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.07866, allocations: 0 / 408.8 MB, free: 4.34 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003489/0.07901, allocations: 0.5149 MB / 409.3 MB, free: 3.805 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.262e-05/0.07903, allocations: 27.78 kB / 409.3 MB, free: 3.777 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/0.07905, allocations: 7.938 kB / 409.3 MB, free: 3.77 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.412e-05/0.07911, allocations: 4 kB / 409.3 MB, free: 3.766 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.865e-05/0.07914, allocations: 19.91 kB / 409.4 MB, free: 3.746 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.246e-06/0.07915, allocations: 8 kB / 409.4 MB, free: 3.738 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.298e-05/0.07919, allocations: 135.2 kB / 409.5 MB, free: 3.605 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.07919, allocations: 0 / 409.5 MB, free: 3.605 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001538/0.08073, allocations: 0.9502 MB / 410.4 MB, free: 2.652 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.002591/0.08332, allocations: 1.525 MB / 412 MB, free: 1.117 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002415/0.08356, allocations: 202.6 kB / 412.2 MB, free: 0.9023 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.08356, allocations: 3.938 kB / 412.2 MB, free: 0.8984 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.042e-05/0.08364, allocations: 103.9 kB / 412.3 MB, free: 0.7969 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005244/0.08417, allocations: 147.6 kB / 412.4 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008604/0.08503, allocations: 442 kB / 412.9 MB, free: 192 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.397e-05/0.08508, allocations: 84.81 kB / 412.9 MB, free: 84 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001093/0.08519, allocations: 50.08 kB / 413 MB, free: 36 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.997e-05/0.08523, allocations: 28.5 kB / 413 MB, free: 8 kB / 330.7 MB Notification: Performance of SimCode: time 6.21e-07/0.08523, allocations: 0 / 413 MB, free: 8 kB / 330.7 MB Notification: Performance of Templates: time 0.1242/0.2094, allocations: 33.73 MB / 446.7 MB, free: 38.07 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.782783294096589]