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.0008524/0.0008523, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.006804/0.006804, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.496/1.496, allocations: 205.4 MB / 222.4 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04439/0.04439, allocations: 9.053 MB / 279.8 MB, free: 12.14 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.0004829/0.0004831, allocations: 16.22 kB / 339.7 MB, free: 25.64 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07885/0.07935, allocations: 49.19 MB / 388.9 MB, free: 8.41 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.idealGasLimit): time 0.01842/0.09779, allocations: 16.96 MB / 405.9 MB, free: 7.375 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009349/0.1072, allocations: 9.439 MB / 415.3 MB, free: 13.9 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.127e-05/0.1073, allocations: 0 / 415.3 MB, free: 13.9 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009464/0.1082, allocations: 328 kB / 415.6 MB, free: 13.58 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01122/0.1195, allocations: 3.671 MB / 419.3 MB, free: 9.902 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.932e-05/0.1195, allocations: 0 / 419.3 MB, free: 9.902 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002262/0.1198, allocations: 143.1 kB / 419.5 MB, free: 9.762 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.145e-05/0.1198, allocations: 17.12 kB / 419.5 MB, free: 9.746 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.12, allocations: 59.61 kB / 419.5 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.944e-05/0.1201, allocations: 43.73 kB / 419.6 MB, free: 9.645 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.1201, allocations: 4 kB / 419.6 MB, free: 9.641 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0122/0.1323, allocations: 7.055 MB / 426.6 MB, free: 2.57 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.859e-05/0.1323, allocations: 11.88 kB / 426.6 MB, free: 2.559 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001143/0.1325, allocations: 73.45 kB / 426.7 MB, free: 2.48 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1707/0.3032, allocations: 3.107 MB / 429.8 MB, free: 24.06 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3032, allocations: 0 / 429.8 MB, free: 24.06 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3033, allocations: 0 / 429.8 MB, free: 24.06 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.3033, allocations: 0 / 429.8 MB, free: 24.06 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.001682/0.3049, allocations: 0.6843 MB / 430.5 MB, free: 23.59 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.305, allocations: 9.406 kB / 430.5 MB, free: 23.59 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000127/0.3051, allocations: 23.78 kB / 430.5 MB, free: 23.58 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.633e-05/0.3052, allocations: 175 kB / 430.7 MB, free: 23.38 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.3053, allocations: 4 kB / 430.7 MB, free: 23.38 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.602e-05/0.3053, allocations: 5.906 kB / 430.7 MB, free: 23.38 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002728/0.3056, allocations: 186 kB / 430.9 MB, free: 23.34 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.3056, allocations: 3.094 kB / 430.9 MB, free: 23.34 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.3056, allocations: 7.172 kB / 430.9 MB, free: 23.34 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.331e-05/0.3056, allocations: 6.031 kB / 430.9 MB, free: 23.34 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002944/0.3059, allocations: 241.2 kB / 431.2 MB, free: 23.34 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002456/0.3062, allocations: 295.4 kB / 431.4 MB, free: 23.14 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002236/0.3064, allocations: 224.1 kB / 431.7 MB, free: 23.11 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001623/0.3066, allocations: 190.9 kB / 431.8 MB, free: 23.1 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0104/0.317, allocations: 4.16 MB / 436 MB, free: 20.07 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.779e-05/0.317, allocations: 32.23 kB / 436 MB, free: 20.03 MB / 318.1 MB Notification: Performance of pre-optimization done (n=39): time 1.813e-06/0.317, allocations: 0 / 436 MB, free: 20.03 MB / 318.1 MB Notification: Performance of matching and sorting (n=39): time 0.0006009/0.3176, allocations: 492.1 kB / 436.5 MB, free: 19.94 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.038e-05/0.3177, allocations: 55.31 kB / 436.6 MB, free: 19.88 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.153e-05/0.3177, allocations: 112.4 kB / 436.7 MB, free: 19.77 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.3178, allocations: 26.86 kB / 436.7 MB, free: 19.74 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.1e-05/0.3178, allocations: 84.39 kB / 436.8 MB, free: 19.66 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.103e-05/0.3179, allocations: 126.7 kB / 436.9 MB, free: 19.58 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.86e-05/0.3179, allocations: 29.22 kB / 436.9 MB, free: 19.56 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.231e-05/0.318, allocations: 322.2 kB / 437.3 MB, free: 19.25 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/0.3181, allocations: 120.4 kB / 437.4 MB, free: 19.25 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001477/0.3183, allocations: 147.8 kB / 437.5 MB, free: 19.23 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002587/0.3185, allocations: 279.3 kB / 437.8 MB, free: 19.21 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3185, allocations: 0 / 437.8 MB, free: 19.21 MB / 318.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003592/0.3189, allocations: 313 kB / 438.1 MB, free: 19.16 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.3189, allocations: 14.5 kB / 438.1 MB, free: 19.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.3189, allocations: 1.812 kB / 438.1 MB, free: 19.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.319, allocations: 1.656 kB / 438.1 MB, free: 19.16 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.3191, allocations: 24.95 kB / 438.1 MB, free: 19.16 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.3191, allocations: 5.719 kB / 438.1 MB, free: 19.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.077e-05/0.3192, allocations: 16.3 kB / 438.2 MB, free: 19.14 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.754e-05/0.3192, allocations: 3.719 kB / 438.2 MB, free: 19.14 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.257e-05/0.3193, allocations: 122.9 kB / 438.3 MB, free: 19.03 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.517e-05/0.3193, allocations: 17.95 kB / 438.3 MB, free: 19.02 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004978/0.3198, allocations: 375.4 kB / 438.7 MB, free: 18.97 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/0.3198, allocations: 9.375 kB / 438.7 MB, free: 18.97 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.3199, allocations: 6.938 kB / 438.7 MB, free: 18.96 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.3199, allocations: 0.9844 kB / 438.7 MB, free: 18.96 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002422/0.3201, allocations: 281.9 kB / 439 MB, free: 18.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/0.3201, allocations: 3.375 kB / 439 MB, free: 18.77 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.883e-05/0.3202, allocations: 22.88 kB / 439 MB, free: 18.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3202, allocations: 1.531 kB / 439 MB, free: 18.77 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.3203, allocations: 7.406 kB / 439 MB, free: 18.77 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.3203, allocations: 1.5 kB / 439 MB, free: 18.77 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.3203, allocations: 5.906 kB / 439 MB, free: 18.77 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003774/0.3206, allocations: 424.6 kB / 439.4 MB, free: 18.62 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.249e-05/0.3207, allocations: 112.6 kB / 439.5 MB, free: 18.51 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.891e-05/0.3207, allocations: 8.469 kB / 439.5 MB, free: 18.51 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.366e-05/0.3208, allocations: 2.188 kB / 439.5 MB, free: 18.51 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.259e-05/0.3209, allocations: 14.5 kB / 439.6 MB, free: 18.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.3209, allocations: 10.97 kB / 439.6 MB, free: 18.5 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.592e-05/0.3209, allocations: 79.14 kB / 439.6 MB, free: 18.43 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3209, allocations: 1.406 kB / 439.6 MB, free: 18.43 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002154/0.3231, allocations: 0.6171 MB / 440.3 MB, free: 18.32 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.004134/0.3272, allocations: 0.9841 MB / 441.2 MB, free: 18.11 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004292/0.3277, allocations: 347.7 kB / 441.6 MB, free: 18.06 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3277, allocations: 0 / 441.6 MB, free: 18.06 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002243/0.3279, allocations: 202.6 kB / 441.8 MB, free: 18.03 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006183/0.3286, allocations: 69.08 kB / 441.8 MB, free: 18.03 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008435/0.3294, allocations: 484.5 kB / 442.3 MB, free: 17.8 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001362/0.3296, allocations: 0.7137 MB / 443 MB, free: 17.1 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001056/0.3297, allocations: 21.75 kB / 443.1 MB, free: 17.09 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.071e-05/0.3297, allocations: 17 kB / 443.1 MB, free: 17.09 MB / 318.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3297, allocations: 0 / 443.1 MB, free: 17.09 MB / 318.1 MB Notification: Performance of Templates: time 0.02907/0.3588, allocations: 24.88 MB / 468 MB, free: 2.539 MB / 318.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: