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.001566/0.001566, allocations: 105.4 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.001811/0.001811, allocations: 189.6 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.333/1.333, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04635/0.04635, allocations: 9.089 MB / 279.6 MB, free: 2.961 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.001469/0.001469, allocations: 75.83 kB / 339.5 MB, free: 6.98 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2012/0.2027, allocations: 48.15 MB / 387.6 MB, free: 51.78 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.idealGasLimit): time 0.0148/0.2175, allocations: 17.21 MB / 404.8 MB, free: 39.13 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00653/0.2241, allocations: 9.352 MB / 414.2 MB, free: 31.52 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.168e-05/0.2242, allocations: 0 / 414.2 MB, free: 31.52 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008152/0.225, allocations: 361.7 kB / 414.5 MB, free: 31.27 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.008922/0.234, allocations: 4.327 MB / 418.9 MB, free: 28.29 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.869e-05/0.234, allocations: 3.938 kB / 418.9 MB, free: 28.29 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001392/0.2342, allocations: 147.1 kB / 419 MB, free: 28.14 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.483e-05/0.2342, allocations: 9.828 kB / 419 MB, free: 28.14 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.432e-05/0.2343, allocations: 67.59 kB / 419.1 MB, free: 28.07 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.938e-05/0.2344, allocations: 43.8 kB / 419.1 MB, free: 28.03 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.668e-06/0.2344, allocations: 4 kB / 419.1 MB, free: 28.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008955/0.2434, allocations: 7.532 MB / 426.7 MB, free: 20.48 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.805e-05/0.2434, allocations: 7.938 kB / 426.7 MB, free: 20.47 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.502e-05/0.2435, allocations: 59.61 kB / 426.7 MB, free: 20.41 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005198/0.2487, allocations: 3.27 MB / 430 MB, free: 17.13 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2487, allocations: 4 kB / 430 MB, free: 17.13 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2487, allocations: 0 / 430 MB, free: 17.13 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.2488, allocations: 4 kB / 430 MB, free: 17.12 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.0009275/0.2497, allocations: 0.6985 MB / 430.7 MB, free: 16.38 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.2497, allocations: 8.031 kB / 430.7 MB, free: 16.37 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000116/0.2498, allocations: 23.77 kB / 430.7 MB, free: 16.35 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.034e-05/0.2499, allocations: 178.8 kB / 430.9 MB, free: 16.13 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.846e-06/0.2499, allocations: 4.812 kB / 430.9 MB, free: 16.13 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.413e-05/0.25, allocations: 8 kB / 430.9 MB, free: 16.12 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.2502, allocations: 178.6 kB / 431.1 MB, free: 15.94 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.2502, allocations: 11.94 kB / 431.1 MB, free: 15.93 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.2502, allocations: 4 kB / 431.1 MB, free: 15.92 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.2502, allocations: 3.984 kB / 431.1 MB, free: 15.92 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000178/0.2504, allocations: 244.2 kB / 431.4 MB, free: 15.68 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001899/0.2506, allocations: 282.7 kB / 431.6 MB, free: 15.36 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001699/0.2508, allocations: 226.8 kB / 431.9 MB, free: 15.12 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/0.2509, allocations: 189.1 kB / 432 MB, free: 14.94 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008994/0.2599, allocations: 4.259 MB / 436.3 MB, free: 10.09 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.491e-05/0.2599, allocations: 44.5 kB / 436.3 MB, free: 10.04 MB / 318.1 MB Notification: Performance of pre-optimization done (n=39): time 1.814e-06/0.2599, allocations: 0 / 436.3 MB, free: 10.04 MB / 318.1 MB Notification: Performance of matching and sorting (n=39): time 0.0004645/0.2604, allocations: 490 kB / 436.8 MB, free: 9.559 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.662e-05/0.2604, allocations: 55.41 kB / 436.9 MB, free: 9.492 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.759e-05/0.2605, allocations: 101.8 kB / 437 MB, free: 9.383 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.2605, allocations: 29.7 kB / 437 MB, free: 9.348 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.518e-05/0.2605, allocations: 80.8 kB / 437.1 MB, free: 9.262 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.034e-05/0.2606, allocations: 130 kB / 437.2 MB, free: 9.133 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.755e-05/0.2606, allocations: 41.7 kB / 437.3 MB, free: 9.086 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.619e-05/0.2607, allocations: 326.8 kB / 437.6 MB, free: 8.758 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.017e-05/0.2608, allocations: 112 kB / 437.7 MB, free: 8.648 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/0.2609, allocations: 153.5 kB / 437.8 MB, free: 8.492 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000203/0.2611, allocations: 272 kB / 438.1 MB, free: 8.223 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.2611, allocations: 8 kB / 438.1 MB, free: 8.215 MB / 318.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002716/0.2614, allocations: 322.4 kB / 438.4 MB, free: 7.895 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.2614, allocations: 4 kB / 438.4 MB, free: 7.891 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.2614, allocations: 4 kB / 438.4 MB, free: 7.887 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.2614, allocations: 0 / 438.4 MB, free: 7.887 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.2615, allocations: 19.98 kB / 438.4 MB, free: 7.867 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.423e-05/0.2616, allocations: 4 kB / 438.4 MB, free: 7.863 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.159e-05/0.2616, allocations: 23.69 kB / 438.5 MB, free: 7.84 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.543e-05/0.2617, allocations: 4 kB / 438.5 MB, free: 7.836 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 6.267e-05/0.2617, allocations: 121.8 kB / 438.6 MB, free: 7.707 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.426e-05/0.2618, allocations: 11.84 kB / 438.6 MB, free: 7.695 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003899/0.2622, allocations: 380 kB / 439 MB, free: 7.32 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.2622, allocations: 11.98 kB / 439 MB, free: 7.309 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.2622, allocations: 0 / 439 MB, free: 7.309 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.2622, allocations: 3.938 kB / 439 MB, free: 7.305 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001905/0.2624, allocations: 290.8 kB / 439.3 MB, free: 6.973 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.2624, allocations: 4 kB / 439.3 MB, free: 6.969 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.222e-05/0.2625, allocations: 31.92 kB / 439.3 MB, free: 6.938 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.2625, allocations: 0 / 439.3 MB, free: 6.938 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.2625, allocations: 4 kB / 439.3 MB, free: 6.934 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.2625, allocations: 0 / 439.3 MB, free: 6.934 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2625, allocations: 0 / 439.3 MB, free: 6.934 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002924/0.2628, allocations: 433.8 kB / 439.7 MB, free: 6.496 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.951e-05/0.2629, allocations: 108.8 kB / 439.8 MB, free: 6.371 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.2629, allocations: 7.938 kB / 439.9 MB, free: 6.363 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.599e-05/0.263, allocations: 4 kB / 439.9 MB, free: 6.359 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.496e-05/0.263, allocations: 15.92 kB / 439.9 MB, free: 6.344 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.263, allocations: 8 kB / 439.9 MB, free: 6.336 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.942e-05/0.2631, allocations: 79.28 kB / 440 MB, free: 6.258 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2631, allocations: 0 / 440 MB, free: 6.258 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001305/0.2644, allocations: 0.6091 MB / 440.6 MB, free: 5.648 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.002189/0.2666, allocations: 1.008 MB / 441.6 MB, free: 4.633 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003185/0.2669, allocations: 335 kB / 441.9 MB, free: 4.301 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.2669, allocations: 0 / 441.9 MB, free: 4.301 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001295/0.2671, allocations: 205.6 kB / 442.1 MB, free: 4.094 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004849/0.2675, allocations: 85.91 kB / 442.2 MB, free: 4.016 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005741/0.2681, allocations: 387.8 kB / 442.6 MB, free: 3.605 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.569e-05/0.2682, allocations: 0.7131 MB / 443.3 MB, free: 2.867 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.716e-05/0.2683, allocations: 20.38 kB / 443.3 MB, free: 2.848 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.209e-05/0.2684, allocations: 19.42 kB / 443.3 MB, free: 2.828 MB / 318.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2684, allocations: 0 / 443.3 MB, free: 2.828 MB / 318.1 MB Notification: Performance of Templates: time 0.03086/0.2992, allocations: 25 MB / 468.3 MB, free: 9.867 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 gbode -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit.pipe 2>&1)