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.005194/0.005194, allocations: 100.1 kB / 15.73 MB, free: 6.043 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.001109/0.00111, allocations: 189.3 kB / 16.67 MB, free: 5.973 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.221/1.221, allocations: 205.1 MB / 222.6 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.0441/0.0441, allocations: 9.097 MB / 279 MB, free: 12.09 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.001319/0.001319, allocations: 71.83 kB / 387.5 MB, free: 8.016 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2057/0.207, allocations: 48.15 MB / 435.6 MB, free: 7.504 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.idealGasLimit): time 0.01574/0.2228, allocations: 17.21 MB / 452.8 MB, free: 10.9 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008159/0.231, allocations: 9.35 MB / 462.2 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.519e-05/0.2311, allocations: 0 / 462.2 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008543/0.2319, allocations: 403.7 kB / 462.6 MB, free: 3.004 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.00904/0.241, allocations: 4.551 MB / 467.1 MB, free: 32 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.728e-05/0.241, allocations: 3.984 kB / 467.1 MB, free: 28 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001747/0.2412, allocations: 145.2 kB / 467.3 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.037e-05/0.2413, allocations: 11.62 kB / 467.3 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001198/0.2414, allocations: 64.12 kB / 467.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.956e-05/0.2415, allocations: 46.92 kB / 467.4 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.788e-06/0.2415, allocations: 2.594 kB / 467.4 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01008/0.2516, allocations: 7.538 MB / 474.9 MB, free: 9.344 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.834e-05/0.2516, allocations: 11.92 kB / 474.9 MB, free: 9.332 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.452e-05/0.2517, allocations: 59.61 kB / 475 MB, free: 9.273 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004925/0.2566, allocations: 3.27 MB / 478.3 MB, free: 5.996 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.2566, allocations: 0 / 478.3 MB, free: 5.996 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2567, allocations: 0 / 478.3 MB, free: 5.996 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.826e-06/0.2567, allocations: 0 / 478.3 MB, free: 5.996 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.001262/0.2579, allocations: 0.7018 MB / 479 MB, free: 5.246 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.258, allocations: 8.031 kB / 479 MB, free: 5.238 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001255/0.2581, allocations: 31.73 kB / 479 MB, free: 5.207 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.2582, allocations: 170.9 kB / 479.2 MB, free: 5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.2582, allocations: 4 kB / 479.2 MB, free: 4.996 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.2583, allocations: 8 kB / 479.2 MB, free: 4.988 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002398/0.2585, allocations: 186.5 kB / 479.4 MB, free: 4.797 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.2585, allocations: 0 / 479.4 MB, free: 4.797 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.2585, allocations: 0 / 479.4 MB, free: 4.797 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.2586, allocations: 7.984 kB / 479.4 MB, free: 4.789 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002427/0.2588, allocations: 248.2 kB / 479.6 MB, free: 4.547 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002725/0.2591, allocations: 302.5 kB / 479.9 MB, free: 4.203 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002312/0.2593, allocations: 222.8 kB / 480.1 MB, free: 3.977 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001642/0.2595, allocations: 185.1 kB / 480.3 MB, free: 3.793 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009618/0.2691, allocations: 4.259 MB / 484.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.2692, allocations: 42.55 kB / 484.6 MB, free: 14.9 MB / 366.1 MB Notification: Performance of pre-optimization done (n=39): time 1.803e-06/0.2692, allocations: 3.938 kB / 484.6 MB, free: 14.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=39): time 0.0005709/0.2697, allocations: 486 kB / 485.1 MB, free: 14.42 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/0.2698, allocations: 63.39 kB / 485.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.932e-05/0.2699, allocations: 97.86 kB / 485.2 MB, free: 14.24 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.2699, allocations: 29.7 kB / 485.3 MB, free: 14.2 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.621e-05/0.2699, allocations: 84.73 kB / 485.4 MB, free: 14.12 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.302e-05/0.27, allocations: 122.1 kB / 485.5 MB, free: 14 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.262e-05/0.2701, allocations: 37.7 kB / 485.5 MB, free: 13.95 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.784e-05/0.2702, allocations: 326.8 kB / 485.8 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.2703, allocations: 115.9 kB / 485.9 MB, free: 13.51 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001442/0.2705, allocations: 153.6 kB / 486.1 MB, free: 13.36 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002694/0.2707, allocations: 276 kB / 486.4 MB, free: 13.08 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.2707, allocations: 0 / 486.4 MB, free: 13.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003597/0.2711, allocations: 322.4 kB / 486.7 MB, free: 12.76 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.2711, allocations: 4 kB / 486.7 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.2711, allocations: 4 kB / 486.7 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.2712, allocations: 0 / 486.7 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.2713, allocations: 28.02 kB / 486.7 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.2713, allocations: 0 / 486.7 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.702e-05/0.2714, allocations: 15.78 kB / 486.7 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.682e-05/0.2714, allocations: 8 kB / 486.7 MB, free: 12.7 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 7.976e-05/0.2715, allocations: 121.7 kB / 486.9 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.592e-05/0.2715, allocations: 15.75 kB / 486.9 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004747/0.272, allocations: 380 kB / 487.2 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.272, allocations: 12 kB / 487.3 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.272, allocations: 192 / 487.3 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.272, allocations: 0 / 487.3 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000267/0.2723, allocations: 301.8 kB / 487.6 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/0.2723, allocations: 7.938 kB / 487.6 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.37e-05/0.2724, allocations: 23.98 kB / 487.6 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.2724, allocations: 0 / 487.6 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.2724, allocations: 4 kB / 487.6 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.2724, allocations: 3.984 kB / 487.6 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2724, allocations: 0 / 487.6 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003972/0.2728, allocations: 432.8 kB / 488 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.229e-05/0.2729, allocations: 104.9 kB / 488.1 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.2729, allocations: 4 kB / 488.1 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.754e-05/0.273, allocations: 4 kB / 488.1 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.172e-05/0.2731, allocations: 11.92 kB / 488.1 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.2731, allocations: 8 kB / 488.1 MB, free: 11.2 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.831e-05/0.2731, allocations: 83.27 kB / 488.2 MB, free: 11.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2731, allocations: 0 / 488.2 MB, free: 11.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001257/0.2744, allocations: 0.6052 MB / 488.8 MB, free: 10.51 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.002551/0.2769, allocations: 1.003 MB / 489.8 MB, free: 9.492 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003828/0.2773, allocations: 341.5 kB / 490.2 MB, free: 9.152 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.2774, allocations: 0 / 490.2 MB, free: 9.152 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001795/0.2775, allocations: 209.6 kB / 490.4 MB, free: 8.941 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005192/0.2781, allocations: 71.84 kB / 490.4 MB, free: 8.871 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006554/0.2787, allocations: 387.2 kB / 490.8 MB, free: 8.469 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000234/0.279, allocations: 0.717 MB / 491.5 MB, free: 7.727 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.336e-05/0.2791, allocations: 24.48 kB / 491.6 MB, free: 7.703 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.62e-05/0.2791, allocations: 15.44 kB / 491.6 MB, free: 7.688 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2791, allocations: 0 / 491.6 MB, free: 7.688 MB / 366.1 MB Notification: Performance of Templates: time 0.03386/0.313, allocations: 25.03 MB / 0.5045 GB, free: 14.66 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)