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.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) [Timeout 90] Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(HelmholtzMedia.Examples.Validation.CheckDerivativesButane,tolerance=1e-10,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane") translateModel(HelmholtzMedia.Examples.Validation.CheckDerivativesButane,tolerance=1e-10,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005965/0.005965, allocations: 97.62 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001679/0.001679, allocations: 203.1 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.338/1.338, allocations: 205.1 MB / 222.5 MB, free: 4.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05191/0.05191, allocations: 9.1 MB / 279 MB, free: 12.11 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 72.11 kB / 387.5 MB, free: 8.02 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.2336, allocations: 48.16 MB / 435.6 MB, free: 7.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesButane): time 0.01853/0.2522, allocations: 17.41 MB / 453.1 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01652/0.2687, allocations: 16.91 MB / 470 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.224e-05/0.2688, allocations: 5.281 kB / 470 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007102/0.2696, allocations: 288.8 kB / 470.3 MB, free: 12.64 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. Notification: Performance of NFTyping.typeBindings: time 0.01544/0.285, allocations: 6.104 MB / 476.4 MB, free: 7.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001439/0.2865, allocations: 0.5751 MB / 476.9 MB, free: 7.332 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002144/0.2867, allocations: 207 kB / 477.1 MB, free: 7.129 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.548e-05/0.2868, allocations: 5.125 kB / 477.1 MB, free: 7.125 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/0.2869, allocations: 91.58 kB / 477.2 MB, free: 7.035 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001092/0.287, allocations: 59.77 kB / 477.3 MB, free: 6.977 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.2871, allocations: 4 kB / 477.3 MB, free: 6.973 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01766/0.3047, allocations: 9.927 MB / 487.2 MB, free: 13.03 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.495e-05/0.3048, allocations: 19.92 kB / 487.2 MB, free: 13.01 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.643e-05/0.3049, allocations: 59.67 kB / 487.3 MB, free: 12.95 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009472/0.3144, allocations: 4.018 MB / 491.3 MB, free: 8.922 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3144, allocations: 4 kB / 491.3 MB, free: 8.918 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3144, allocations: 0 / 491.3 MB, free: 8.918 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.3144, allocations: 0 / 491.3 MB, free: 8.918 MB / 366.1 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.001591/0.316, allocations: 0.9199 MB / 492.2 MB, free: 7.945 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.3161, allocations: 8.031 kB / 492.2 MB, free: 7.938 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001795/0.3162, allocations: 31.83 kB / 492.3 MB, free: 7.906 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002313/0.3165, allocations: 202.8 kB / 492.5 MB, free: 7.668 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.3165, allocations: 4 kB / 492.5 MB, free: 7.664 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.282e-05/0.3165, allocations: 12 kB / 492.5 MB, free: 7.652 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002017/0.3167, allocations: 135.2 kB / 492.6 MB, free: 7.508 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.3168, allocations: 4 kB / 492.6 MB, free: 7.504 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.3168, allocations: 4 kB / 492.6 MB, free: 7.5 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.3168, allocations: 3.938 kB / 492.6 MB, free: 7.496 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001379/0.3169, allocations: 95.95 kB / 492.7 MB, free: 7.402 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006581/0.3176, allocations: 0.5738 MB / 493.3 MB, free: 6.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002383/0.3178, allocations: 121.2 kB / 493.4 MB, free: 6.613 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.318, allocations: 89.62 kB / 493.5 MB, free: 6.52 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05945/0.3774, allocations: 33.18 MB / 0.5143 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.924e-05/0.3775, allocations: 34.56 kB / 0.5144 GB, free: 15.77 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 3.186e-06/0.3775, allocations: 0 / 0.5144 GB, free: 15.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.0006357/0.3782, allocations: 238 kB / 0.5146 GB, free: 15.53 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.149e-05/0.3782, allocations: 81.11 kB / 0.5147 GB, free: 15.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.3783, allocations: 113.8 kB / 0.5148 GB, free: 15.31 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.3783, allocations: 29.7 kB / 0.5148 GB, free: 15.28 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.647e-05/0.3784, allocations: 88.53 kB / 0.5149 GB, free: 15.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.785e-05/0.3785, allocations: 83.25 kB / 0.515 GB, free: 15.1 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.906e-05/0.3785, allocations: 41.7 kB / 0.515 GB, free: 15.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.3787, allocations: 326.8 kB / 0.5153 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.468e-05/0.3788, allocations: 47.98 kB / 0.5154 GB, free: 14.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.42e-05/0.3789, allocations: 61.69 kB / 0.5154 GB, free: 14.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001724/0.379, allocations: 117.8 kB / 0.5155 GB, free: 14.49 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.379, allocations: 4 kB / 0.5156 GB, free: 14.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002543/0.3793, allocations: 173.5 kB / 0.5157 GB, free: 14.31 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.3793, allocations: 7.984 kB / 0.5157 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.3793, allocations: 0 / 0.5157 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.3794, allocations: 4.375 kB / 0.5157 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.13e-05/0.3795, allocations: 20 kB / 0.5157 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.3795, allocations: 0 / 0.5157 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.082e-05/0.3795, allocations: 15.89 kB / 0.5158 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.725e-05/0.3796, allocations: 11.88 kB / 0.5158 GB, free: 14.25 MB / 414.1 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 9.73e-05/0.3797, allocations: 129.7 kB / 0.5159 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.059e-05/0.3797, allocations: 8.078 kB / 0.5159 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004497/0.3802, allocations: 317.1 kB / 0.5162 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002871/0.3805, allocations: 237.5 kB / 0.5164 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.3805, allocations: 0 / 0.5164 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.3805, allocations: 0 / 0.5164 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009151/0.3814, allocations: 0.7622 MB / 0.5172 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3814, allocations: 0 / 0.5172 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001506/0.3816, allocations: 39.92 kB / 0.5172 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3816, allocations: 4 kB / 0.5172 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.3816, allocations: 8 kB / 0.5172 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.3816, allocations: 0 / 0.5172 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3816, allocations: 0 / 0.5172 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005643/0.3822, allocations: 0.5298 MB / 0.5177 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.048e-05/0.3823, allocations: 104.9 kB / 0.5178 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.272e-05/0.3823, allocations: 4 kB / 0.5178 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001221/0.3824, allocations: 16.05 kB / 0.5179 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.008e-05/0.3825, allocations: 11.98 kB / 0.5179 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.3825, allocations: 8 kB / 0.5179 GB, free: 11.99 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.088e-05/0.3825, allocations: 95.2 kB / 0.518 GB, free: 11.89 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3826, allocations: 0 / 0.518 GB, free: 11.89 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00209/0.3846, allocations: 0.9462 MB / 0.5189 GB, free: 10.95 MB / 414.1 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.00306/0.3877, allocations: 1.43 MB / 0.5203 GB, free: 9.5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003587/0.3881, allocations: 247.3 kB / 0.5205 GB, free: 9.246 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3881, allocations: 0 / 0.5205 GB, free: 9.246 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001511/0.3883, allocations: 123.9 kB / 0.5206 GB, free: 9.125 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008942/0.3892, allocations: 146.1 kB / 0.5208 GB, free: 8.984 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007889/0.39, allocations: 489.2 kB / 0.5213 GB, free: 8.473 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003289/0.3903, allocations: 0.7328 MB / 0.522 GB, free: 7.715 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000117/0.3904, allocations: 45.84 kB / 0.522 GB, free: 7.672 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.378e-05/0.3905, allocations: 35.42 kB / 0.522 GB, free: 7.637 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3905, allocations: 3.938 kB / 0.5221 GB, free: 7.633 MB / 414.1 MB Notification: Performance of Templates: time 0.03763/0.4281, allocations: 27.97 MB / 0.5494 GB, free: 11.67 MB / 446.1 MB 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]