Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) 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.idealGasLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit") translateModel(HelmholtzMedia.Examples.Validation.idealGasLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002767/0.002767, allocations: 106 kB / 16.35 MB, free: 5.824 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.002087/0.002087, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.685/1.685, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05635/0.05635, allocations: 9.102 MB / 279.6 MB, free: 2.957 MB / 222.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.001612/0.001612, allocations: 63.91 kB / 339.5 MB, free: 6.984 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3904/0.3921, allocations: 48.14 MB / 387.6 MB, free: 51.46 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.idealGasLimit): time 0.03029/0.4224, allocations: 17.22 MB / 404.8 MB, free: 38.87 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00895/0.4315, allocations: 9.346 MB / 414.2 MB, free: 31.26 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000186/0.4317, allocations: 1.281 kB / 414.2 MB, free: 31.26 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001509/0.4333, allocations: 361.9 kB / 414.5 MB, free: 31.02 MB / 318.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.0156/0.4489, allocations: 4.336 MB / 418.9 MB, free: 28.12 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.053e-05/0.449, allocations: 3.938 kB / 418.9 MB, free: 28.12 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003043/0.4493, allocations: 143.1 kB / 419 MB, free: 27.98 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.508e-05/0.4494, allocations: 13.83 kB / 419 MB, free: 27.97 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001441/0.4495, allocations: 63.66 kB / 419.1 MB, free: 27.91 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.806e-05/0.4496, allocations: 47.73 kB / 419.1 MB, free: 27.86 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.203e-05/0.4496, allocations: 0 / 419.1 MB, free: 27.86 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01495/0.4646, allocations: 7.536 MB / 426.7 MB, free: 20.31 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.631e-05/0.4647, allocations: 3.938 kB / 426.7 MB, free: 20.3 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001283/0.4648, allocations: 55.67 kB / 426.7 MB, free: 20.25 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01094/0.4758, allocations: 3.278 MB / 430 MB, free: 16.96 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.258e-05/0.4759, allocations: 0 / 430 MB, free: 16.96 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.4759, allocations: 4 kB / 430 MB, free: 16.96 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.098e-05/0.4759, allocations: 0 / 430 MB, free: 16.96 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.00197/0.4779, allocations: 0.7024 MB / 430.7 MB, free: 16.21 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.4779, allocations: 8.031 kB / 430.7 MB, free: 16.2 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001468/0.4781, allocations: 15.84 kB / 430.7 MB, free: 16.19 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.4782, allocations: 182.8 kB / 430.9 MB, free: 15.97 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.4782, allocations: 4 kB / 430.9 MB, free: 15.96 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.684e-05/0.4783, allocations: 4 kB / 430.9 MB, free: 15.96 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002388/0.4785, allocations: 182.6 kB / 431.1 MB, free: 15.77 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.4785, allocations: 6.672 kB / 431.1 MB, free: 15.77 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.4785, allocations: 4 kB / 431.1 MB, free: 15.77 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.4786, allocations: 4 kB / 431.1 MB, free: 15.76 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002209/0.4788, allocations: 244.2 kB / 431.4 MB, free: 15.52 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002589/0.4791, allocations: 286.6 kB / 431.6 MB, free: 15.2 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002201/0.4793, allocations: 223.5 kB / 431.9 MB, free: 14.97 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001346/0.4794, allocations: 193.1 kB / 432 MB, free: 14.78 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009749/0.4892, allocations: 4.263 MB / 436.3 MB, free: 9.93 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.4893, allocations: 34.56 kB / 436.3 MB, free: 9.887 MB / 318.1 MB Notification: Performance of pre-optimization done (n=39): time 2.595e-06/0.4893, allocations: 0 / 436.3 MB, free: 9.887 MB / 318.1 MB Notification: Performance of matching and sorting (n=39): time 0.0005584/0.4898, allocations: 493.9 kB / 436.8 MB, free: 9.398 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.4899, allocations: 59.41 kB / 436.9 MB, free: 9.328 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.864e-05/0.4899, allocations: 97.84 kB / 437 MB, free: 9.223 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.49, allocations: 29.7 kB / 437 MB, free: 9.188 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.922e-05/0.49, allocations: 80.8 kB / 437.1 MB, free: 9.102 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.991e-05/0.4901, allocations: 130.1 kB / 437.2 MB, free: 8.973 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.343e-05/0.4901, allocations: 41.7 kB / 437.3 MB, free: 8.926 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.707e-05/0.4902, allocations: 326.8 kB / 437.6 MB, free: 8.598 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001007/0.4903, allocations: 115.9 kB / 437.7 MB, free: 8.484 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001205/0.4904, allocations: 141.6 kB / 437.8 MB, free: 8.34 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002304/0.4907, allocations: 284 kB / 438.1 MB, free: 8.059 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.4907, allocations: 5.75 kB / 438.1 MB, free: 8.055 MB / 318.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002983/0.491, allocations: 314.4 kB / 438.4 MB, free: 7.742 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.491, allocations: 8 kB / 438.4 MB, free: 7.734 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/0.491, allocations: 3.984 kB / 438.4 MB, free: 7.73 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.4911, allocations: 7.938 kB / 438.4 MB, free: 7.723 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.4912, allocations: 16 kB / 438.4 MB, free: 7.707 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.4912, allocations: 0 / 438.4 MB, free: 7.707 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.451e-05/0.4913, allocations: 27.67 kB / 438.5 MB, free: 7.68 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.938e-05/0.4913, allocations: 4 kB / 438.5 MB, free: 7.676 MB / 318.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: 1 (state.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.406e-05/0.4914, allocations: 117.9 kB / 438.6 MB, free: 7.551 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.428e-05/0.4914, allocations: 15.84 kB / 438.6 MB, free: 7.535 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004474/0.4919, allocations: 386.3 kB / 439 MB, free: 7.156 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.4919, allocations: 7.984 kB / 439 MB, free: 7.148 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.4919, allocations: 0 / 439 MB, free: 7.148 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.4919, allocations: 3.938 kB / 439 MB, free: 7.145 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002076/0.4921, allocations: 293.8 kB / 439.3 MB, free: 6.809 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.4921, allocations: 0 / 439.3 MB, free: 6.809 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.067e-05/0.4922, allocations: 29.86 kB / 439.3 MB, free: 6.781 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.4922, allocations: 0 / 439.3 MB, free: 6.781 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.4922, allocations: 7.938 kB / 439.3 MB, free: 6.773 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.4922, allocations: 0 / 439.3 MB, free: 6.773 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4923, allocations: 0 / 439.3 MB, free: 6.773 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003198/0.4926, allocations: 432.7 kB / 439.7 MB, free: 6.336 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.054e-05/0.4927, allocations: 109 kB / 439.8 MB, free: 6.211 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.174e-05/0.4927, allocations: 8 kB / 439.9 MB, free: 6.203 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.281e-05/0.4928, allocations: 7.984 kB / 439.9 MB, free: 6.195 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.826e-05/0.4928, allocations: 7.984 kB / 439.9 MB, free: 6.188 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.4928, allocations: 8 kB / 439.9 MB, free: 6.18 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.44e-05/0.4929, allocations: 79.28 kB / 440 MB, free: 6.102 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4929, allocations: 0 / 440 MB, free: 6.102 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00207/0.4949, allocations: 0.613 MB / 440.6 MB, free: 5.488 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.002689/0.4976, allocations: 1.002 MB / 441.6 MB, free: 4.477 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003989/0.498, allocations: 343.5 kB / 441.9 MB, free: 4.137 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.4981, allocations: 0 / 441.9 MB, free: 4.137 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001442/0.4982, allocations: 205.6 kB / 442.1 MB, free: 3.93 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005357/0.4988, allocations: 74.11 kB / 442.2 MB, free: 3.863 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007576/0.4995, allocations: 391.8 kB / 442.6 MB, free: 3.449 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001752/0.4997, allocations: 0.717 MB / 443.3 MB, free: 2.707 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.404e-05/0.4998, allocations: 20.5 kB / 443.3 MB, free: 2.688 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.636e-05/0.4998, allocations: 19.44 kB / 443.3 MB, free: 2.668 MB / 318.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4998, allocations: 0 / 443.3 MB, free: 2.668 MB / 318.1 MB Notification: Performance of Templates: time 0.03619/0.536, allocations: 25 MB / 468.3 MB, free: 9.703 MB / 350.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit.pipe 2>&1)