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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001819/0.001819, allocations: 79.11 kB / 19.76 MB, free: 2.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001636/0.001636, allocations: 157.1 kB / 23.01 MB, free: 4.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.497/1.497, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.05077/0.05077, allocations: 7.533 MB / 267.3 MB, free: 9.574 MB / 254.1 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(HelmholtzMedia.Examples.Validation.idealGasLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit") translateModel(HelmholtzMedia.Examples.Validation.idealGasLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002462/0.002462, allocations: 68.05 kB / 392.8 MB, free: 11.62 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1201, allocations: 54.92 MB / 447.7 MB, free: 4.602 MB / 414.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.idealGasLimit): time 0.02236/0.1425, allocations: 15.65 MB / 463.3 MB, free: 4.879 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009632/0.1521, allocations: 8.261 MB / 471.6 MB, free: 12.59 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.1522, allocations: 0 / 471.6 MB, free: 12.59 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001075/0.1533, allocations: 319.8 kB / 471.9 MB, free: 12.28 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01151/0.1648, allocations: 4.548 MB / 476.4 MB, free: 7.715 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.542e-05/0.1649, allocations: 0 / 476.4 MB, free: 7.715 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002519/0.1651, allocations: 143.1 kB / 476.6 MB, free: 7.574 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.824e-05/0.1652, allocations: 9.297 kB / 476.6 MB, free: 7.562 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001606/0.1653, allocations: 71.59 kB / 476.7 MB, free: 7.492 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.073e-05/0.1654, allocations: 51.72 kB / 476.7 MB, free: 7.441 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.1654, allocations: 0 / 476.7 MB, free: 7.441 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01067/0.1761, allocations: 5.356 MB / 482.1 MB, free: 2.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.516e-05/0.1761, allocations: 3.938 kB / 482.1 MB, free: 2.066 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001129/0.1762, allocations: 51.67 kB / 482.1 MB, free: 2.016 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2635/0.4398, allocations: 2.698 MB / 484.8 MB, free: 53.64 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.4398, allocations: 0 / 484.8 MB, free: 53.64 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4398, allocations: 0 / 484.8 MB, free: 53.64 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.4398, allocations: 1.312 kB / 484.8 MB, free: 53.64 MB / 446.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.001482/0.4413, allocations: 0.6404 MB / 485.5 MB, free: 53.18 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.4413, allocations: 10.56 kB / 485.5 MB, free: 53.18 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001339/0.4414, allocations: 23.84 kB / 485.5 MB, free: 53.17 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.372e-05/0.4415, allocations: 118.2 kB / 485.6 MB, free: 53.04 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.4415, allocations: 3.5 kB / 485.6 MB, free: 53.04 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.308e-05/0.4415, allocations: 12.44 kB / 485.6 MB, free: 53.04 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002359/0.4418, allocations: 195.4 kB / 485.8 MB, free: 53.01 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.4418, allocations: 0 / 485.8 MB, free: 53.01 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.4418, allocations: 0 / 485.8 MB, free: 53.01 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.508e-05/0.4418, allocations: 8.578 kB / 485.8 MB, free: 53.01 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002506/0.4421, allocations: 254.2 kB / 486.1 MB, free: 53.01 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002074/0.4423, allocations: 227.2 kB / 486.3 MB, free: 52.87 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001913/0.4425, allocations: 193.9 kB / 486.5 MB, free: 52.84 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.4426, allocations: 157.5 kB / 486.6 MB, free: 52.83 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008898/0.4515, allocations: 1.986 MB / 488.6 MB, free: 52.65 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.4515, allocations: 30.56 kB / 488.7 MB, free: 52.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=39): time 2.094e-06/0.4515, allocations: 0 / 488.7 MB, free: 52.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=39): time 0.0005315/0.452, allocations: 0.501 MB / 489.2 MB, free: 52.52 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.48e-05/0.452, allocations: 55.22 kB / 489.2 MB, free: 52.46 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.444e-05/0.4521, allocations: 104.3 kB / 489.3 MB, free: 52.36 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.4521, allocations: 27.11 kB / 489.3 MB, free: 52.32 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.244e-05/0.4521, allocations: 89.77 kB / 489.4 MB, free: 52.24 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.703e-05/0.4522, allocations: 132.5 kB / 489.6 MB, free: 52.15 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.242e-05/0.4522, allocations: 44.14 kB / 489.6 MB, free: 52.13 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.88e-05/0.4523, allocations: 326.3 kB / 489.9 MB, free: 51.82 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.923e-05/0.4524, allocations: 122.1 kB / 490 MB, free: 51.82 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001162/0.4525, allocations: 141.7 kB / 490.2 MB, free: 51.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002429/0.4528, allocations: 295.6 kB / 490.5 MB, free: 51.78 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4528, allocations: 1.438 kB / 490.5 MB, free: 51.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003072/0.4531, allocations: 330.1 kB / 490.8 MB, free: 51.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.4531, allocations: 6.125 kB / 490.8 MB, free: 51.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/0.4531, allocations: 4.547 kB / 490.8 MB, free: 51.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.4531, allocations: 4.031 kB / 490.8 MB, free: 51.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.4532, allocations: 16.12 kB / 490.8 MB, free: 51.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.4532, allocations: 8.781 kB / 490.8 MB, free: 51.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.233e-05/0.4533, allocations: 15.67 kB / 490.8 MB, free: 51.72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.025e-05/0.4533, allocations: 6.812 kB / 490.8 MB, free: 51.72 MB / 446.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.758e-05/0.4534, allocations: 126.9 kB / 491 MB, free: 51.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.387e-05/0.4534, allocations: 14.31 kB / 491 MB, free: 51.59 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004533/0.4539, allocations: 389.3 kB / 491.4 MB, free: 51.54 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.4539, allocations: 10.25 kB / 491.4 MB, free: 51.54 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.4539, allocations: 3.938 kB / 491.4 MB, free: 51.54 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.4539, allocations: 0 / 491.4 MB, free: 51.54 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001978/0.4541, allocations: 216.8 kB / 491.6 MB, free: 51.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.4541, allocations: 0.5938 kB / 491.6 MB, free: 51.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.224e-05/0.4542, allocations: 23.28 kB / 491.6 MB, free: 51.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.4542, allocations: 3.859 kB / 491.6 MB, free: 51.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.4542, allocations: 8.5 kB / 491.6 MB, free: 51.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.4542, allocations: 0 / 491.6 MB, free: 51.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.4542, allocations: 0 / 491.6 MB, free: 51.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003415/0.4546, allocations: 453.9 kB / 492.1 MB, free: 51.24 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.697e-05/0.4546, allocations: 32.81 kB / 492.1 MB, free: 51.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.4546, allocations: 0 / 492.1 MB, free: 51.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.123e-05/0.4547, allocations: 3.094 kB / 492.1 MB, free: 51.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.09e-05/0.4547, allocations: 10.3 kB / 492.1 MB, free: 51.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.4547, allocations: 7.125 kB / 492.1 MB, free: 51.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.077e-05/0.4547, allocations: 88.97 kB / 492.2 MB, free: 51.15 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4547, allocations: 0 / 492.2 MB, free: 51.15 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001737/0.4565, allocations: 0.6199 MB / 492.8 MB, free: 51.04 MB / 446.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.002445/0.4589, allocations: 1.004 MB / 493.8 MB, free: 50.79 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003701/0.4593, allocations: 309.8 kB / 494.1 MB, free: 50.76 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4593, allocations: 4.062 kB / 494.1 MB, free: 50.75 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001423/0.4594, allocations: 169.5 kB / 494.3 MB, free: 50.72 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005217/0.46, allocations: 68.05 kB / 494.4 MB, free: 50.72 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007096/0.4607, allocations: 405 kB / 494.8 MB, free: 50.55 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.985e-05/0.4607, allocations: 112.5 kB / 494.9 MB, free: 50.47 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.251e-05/0.4608, allocations: 19.98 kB / 494.9 MB, free: 50.46 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.9e-05/0.4609, allocations: 18.16 kB / 494.9 MB, free: 50.46 MB / 446.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4609, allocations: 0 / 494.9 MB, free: 50.46 MB / 446.1 MB Notification: Performance of Templates: time 0.0394/0.5003, allocations: 25.18 MB / 0.5079 GB, free: 49.02 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit.makefile [Timeout 660] (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 ida -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.34446683106944] Failed to read output from testmodel.py, exit status != 0: 0.5103241349570453 0.522794405 0.08002112899999994 Calling exit ...