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.004646/0.004646, allocations: 100 kB / 15.73 MB, free: 5.965 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.00109/0.00109, allocations: 198.7 kB / 16.68 MB, free: 5.887 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.37/1.37, allocations: 205.1 MB / 222.5 MB, free: 4.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04721/0.04721, allocations: 9.088 MB / 279 MB, free: 12.08 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.001463/0.001463, allocations: 74.39 kB / 387.5 MB, free: 8.016 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2607/0.2622, allocations: 48.15 MB / 435.6 MB, free: 7.781 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.idealGasLimit): time 0.01935/0.2816, allocations: 17.22 MB / 452.8 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009539/0.2911, allocations: 9.35 MB / 462.2 MB, free: 3.5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/0.2913, allocations: 0 / 462.2 MB, free: 3.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001044/0.2923, allocations: 359.8 kB / 462.5 MB, free: 3.25 MB / 334.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.01267/0.3051, allocations: 4.329 MB / 466.9 MB, free: 448 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.726e-05/0.3051, allocations: 8 kB / 466.9 MB, free: 440 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002452/0.3054, allocations: 145.2 kB / 467 MB, free: 352 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.561e-05/0.3055, allocations: 8.156 kB / 467 MB, free: 348 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001436/0.3056, allocations: 62.22 kB / 467.1 MB, free: 312 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.218e-05/0.3057, allocations: 49.16 kB / 467.1 MB, free: 284 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.111e-05/0.3057, allocations: 1.625 kB / 467.1 MB, free: 284 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0137/0.3194, allocations: 7.534 MB / 474.7 MB, free: 9.734 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.305e-05/0.3195, allocations: 11.81 kB / 474.7 MB, free: 9.727 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001348/0.3197, allocations: 59.61 kB / 474.7 MB, free: 9.668 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009673/0.3293, allocations: 3.27 MB / 478 MB, free: 6.391 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.3294, allocations: 4 kB / 478 MB, free: 6.387 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3294, allocations: 0 / 478 MB, free: 6.387 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.3294, allocations: 0 / 478 MB, free: 6.387 MB / 350.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.001685/0.3311, allocations: 0.7056 MB / 478.7 MB, free: 5.633 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.3312, allocations: 8.031 kB / 478.7 MB, free: 5.625 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000192/0.3314, allocations: 23.73 kB / 478.7 MB, free: 5.602 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.3315, allocations: 174.9 kB / 478.9 MB, free: 5.391 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/0.3315, allocations: 11.98 kB / 478.9 MB, free: 5.379 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/0.3316, allocations: 4 kB / 478.9 MB, free: 5.375 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003233/0.3319, allocations: 178.6 kB / 479.1 MB, free: 5.191 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.3319, allocations: 7.938 kB / 479.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.3319, allocations: 4 kB / 479.1 MB, free: 5.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.354e-05/0.332, allocations: 3.984 kB / 479.1 MB, free: 5.176 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002836/0.3323, allocations: 248.2 kB / 479.4 MB, free: 4.934 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003791/0.3326, allocations: 298.5 kB / 479.7 MB, free: 4.594 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002728/0.3329, allocations: 218.8 kB / 479.9 MB, free: 4.371 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001811/0.3331, allocations: 189.1 kB / 480.1 MB, free: 4.184 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0115/0.3446, allocations: 4.255 MB / 484.3 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.3447, allocations: 38.5 kB / 484.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of pre-optimization done (n=39): time 6.392e-06/0.3447, allocations: 4 kB / 484.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=39): time 0.0006555/0.3454, allocations: 497.9 kB / 484.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/0.3454, allocations: 51.41 kB / 484.9 MB, free: 14.74 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.225e-05/0.3455, allocations: 105.8 kB / 485 MB, free: 14.63 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.3456, allocations: 25.7 kB / 485 MB, free: 14.6 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.772e-05/0.3456, allocations: 80.8 kB / 485.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.3457, allocations: 126.1 kB / 485.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.313e-05/0.3458, allocations: 37.7 kB / 485.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.3459, allocations: 330.8 kB / 485.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.3461, allocations: 116 kB / 485.7 MB, free: 13.9 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001716/0.3462, allocations: 149.5 kB / 485.8 MB, free: 13.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002945/0.3465, allocations: 276 kB / 486.1 MB, free: 13.48 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.3466, allocations: 0 / 486.1 MB, free: 13.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003846/0.3469, allocations: 322.4 kB / 486.4 MB, free: 13.15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.347, allocations: 4 kB / 486.4 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/0.347, allocations: 8.031 kB / 486.4 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.347, allocations: 0 / 486.4 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.3471, allocations: 23.98 kB / 486.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.3472, allocations: 0 / 486.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.089e-05/0.3472, allocations: 19.78 kB / 486.5 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/0.3473, allocations: 4 kB / 486.5 MB, free: 13.09 MB / 366.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 0.0001006/0.3474, allocations: 125.7 kB / 486.6 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.33e-05/0.3474, allocations: 15.75 kB / 486.6 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005223/0.3479, allocations: 380 kB / 487 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/0.348, allocations: 7.984 kB / 487 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.348, allocations: 0 / 487 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.768e-06/0.348, allocations: 0 / 487 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002978/0.3483, allocations: 293.8 kB / 487.3 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.318e-06/0.3483, allocations: 11.94 kB / 487.3 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.379e-05/0.3484, allocations: 23.92 kB / 487.3 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.3484, allocations: 0 / 487.3 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.3484, allocations: 4 kB / 487.3 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.3485, allocations: 0 / 487.3 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.3485, allocations: 4 kB / 487.3 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004301/0.3489, allocations: 432.7 kB / 487.7 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.365e-05/0.349, allocations: 113 kB / 487.9 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/0.349, allocations: 0 / 487.9 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.82e-05/0.3491, allocations: 4 kB / 487.9 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.682e-05/0.3492, allocations: 19.91 kB / 487.9 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.3492, allocations: 4 kB / 487.9 MB, free: 11.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.843e-05/0.3492, allocations: 83.28 kB / 488 MB, free: 11.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3492, allocations: 0 / 488 MB, free: 11.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001808/0.351, allocations: 0.613 MB / 488.6 MB, free: 10.89 MB / 366.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.003447/0.3545, allocations: 0.987 MB / 489.6 MB, free: 9.891 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004542/0.355, allocations: 341.5 kB / 489.9 MB, free: 9.551 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.355, allocations: 4 kB / 489.9 MB, free: 9.547 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002063/0.3552, allocations: 201.6 kB / 490.1 MB, free: 9.344 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005945/0.3558, allocations: 88.8 kB / 490.2 MB, free: 9.258 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007689/0.3566, allocations: 383.2 kB / 490.6 MB, free: 8.859 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002727/0.3569, allocations: 0.717 MB / 491.3 MB, free: 8.117 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.296e-05/0.357, allocations: 20.5 kB / 491.3 MB, free: 8.098 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.413e-05/0.357, allocations: 27.42 kB / 491.3 MB, free: 8.07 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.357, allocations: 0 / 491.3 MB, free: 8.07 MB / 366.1 MB Notification: Performance of Templates: time 0.0376/0.3946, allocations: 25.01 MB / 0.5042 GB, free: 15.06 MB / 398.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 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit.pipe 2>&1)