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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 113.8 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001458/0.001458, allocations: 190 kB / 20.78 MB, free: 1.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.785/1.785, allocations: 207.6 MB / 231.4 MB, free: 3.199 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05026/0.05026, allocations: 9.154 MB / 292.6 MB, free: 6.07 MB / 238.1 MB " [Timeout remaining time 180] 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=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: 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.002132/0.002132, allocations: 75.88 kB / 409.1 MB, free: 14.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.2948, allocations: 50.71 MB / 459.8 MB, free: 3.352 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.idealGasLimit): time 0.02185/0.3166, allocations: 17.32 MB / 477.2 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01037/0.327, allocations: 9.368 MB / 486.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001288/0.3271, allocations: 4 kB / 486.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001176/0.3283, allocations: 407.6 kB / 486.9 MB, free: 12.1 MB / 350.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.01195/0.3403, allocations: 4.553 MB / 491.5 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.437e-05/0.3403, allocations: 0 / 491.5 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002463/0.3405, allocations: 151.1 kB / 491.6 MB, free: 7.391 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.848e-05/0.3406, allocations: 5.125 kB / 491.6 MB, free: 7.383 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.3407, allocations: 63.72 kB / 491.7 MB, free: 7.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.397e-05/0.3408, allocations: 51.66 kB / 491.8 MB, free: 7.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.093e-05/0.3408, allocations: 0 / 491.8 MB, free: 7.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01403/0.3548, allocations: 7.696 MB / 499.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.888e-05/0.3549, allocations: 19.92 kB / 499.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000114/0.355, allocations: 47.69 kB / 499.5 MB, free: 15.49 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01067/0.3657, allocations: 3.289 MB / 0.491 GB, free: 12.2 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3657, allocations: 0 / 0.491 GB, free: 12.2 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3657, allocations: 0 / 0.491 GB, free: 12.2 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.876e-06/0.3657, allocations: 0 / 0.491 GB, free: 12.2 MB / 366.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.00248/0.3682, allocations: 0.7184 MB / 0.4917 GB, free: 11.43 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.3682, allocations: 8.031 kB / 0.4917 GB, free: 11.42 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001585/0.3684, allocations: 31.83 kB / 0.4918 GB, free: 11.39 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/0.3685, allocations: 167 kB / 0.4919 GB, free: 11.18 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.3686, allocations: 8 kB / 0.4919 GB, free: 11.18 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.024e-05/0.3686, allocations: 8 kB / 0.4919 GB, free: 11.17 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003167/0.3689, allocations: 186.6 kB / 0.4921 GB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.3689, allocations: 0 / 0.4921 GB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.3689, allocations: 0 / 0.4921 GB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.64e-05/0.3689, allocations: 7.984 kB / 0.4921 GB, free: 10.97 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003067/0.3693, allocations: 244.2 kB / 0.4924 GB, free: 10.73 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004075/0.3697, allocations: 298.5 kB / 0.4926 GB, free: 10.39 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002537/0.3699, allocations: 182.8 kB / 0.4928 GB, free: 10.2 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000161/0.3701, allocations: 149.1 kB / 0.493 GB, free: 10.05 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01176/0.3818, allocations: 4.259 MB / 0.4971 GB, free: 5.215 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.3819, allocations: 30.56 kB / 0.4971 GB, free: 5.176 MB / 366.1 MB Notification: Performance of pre-optimization done (n=39): time 1.803e-06/0.3819, allocations: 3.938 kB / 0.4972 GB, free: 5.172 MB / 366.1 MB Notification: Performance of matching and sorting (n=39): time 0.0007758/0.3826, allocations: 498 kB / 0.4976 GB, free: 4.68 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.3827, allocations: 51.41 kB / 0.4977 GB, free: 4.617 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.3828, allocations: 97.81 kB / 0.4978 GB, free: 4.512 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.3828, allocations: 29.7 kB / 0.4978 GB, free: 4.477 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.697e-05/0.3829, allocations: 88.8 kB / 0.4979 GB, free: 4.387 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/0.383, allocations: 134.8 kB / 0.498 GB, free: 4.254 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.101e-05/0.3831, allocations: 45.64 kB / 0.4981 GB, free: 4.203 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.3832, allocations: 326.8 kB / 0.4984 GB, free: 3.875 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001535/0.3834, allocations: 112 kB / 0.4985 GB, free: 3.766 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000189/0.3835, allocations: 141.6 kB / 0.4986 GB, free: 3.621 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003325/0.3839, allocations: 284 kB / 0.4989 GB, free: 3.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3839, allocations: 0 / 0.4989 GB, free: 3.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004302/0.3843, allocations: 318.7 kB / 0.4992 GB, free: 3.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.3843, allocations: 4 kB / 0.4992 GB, free: 3.016 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/0.3843, allocations: 4 kB / 0.4992 GB, free: 3.012 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.3844, allocations: 0 / 0.4992 GB, free: 3.012 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.3845, allocations: 23.92 kB / 0.4992 GB, free: 2.988 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.3845, allocations: 0 / 0.4992 GB, free: 2.988 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.602e-05/0.3846, allocations: 23.84 kB / 0.4992 GB, free: 2.965 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.817e-05/0.3846, allocations: 8.031 kB / 0.4992 GB, free: 2.957 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.0001169/0.3847, allocations: 113.8 kB / 0.4994 GB, free: 2.836 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.594e-05/0.3848, allocations: 19.84 kB / 0.4994 GB, free: 2.816 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005759/0.3853, allocations: 388 kB / 0.4997 GB, free: 2.434 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.3853, allocations: 0 / 0.4997 GB, free: 2.434 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.3853, allocations: 4 kB / 0.4997 GB, free: 2.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.3854, allocations: 3.984 kB / 0.4997 GB, free: 2.426 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003228/0.3857, allocations: 293.9 kB / 0.5 GB, free: 2.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.3857, allocations: 4 kB / 0.5 GB, free: 2.086 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.217e-05/0.3858, allocations: 23.98 kB / 0.5001 GB, free: 2.062 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.3858, allocations: 0 / 0.5001 GB, free: 2.062 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.3858, allocations: 0 / 0.5001 GB, free: 2.062 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3858, allocations: 3.938 kB / 0.5001 GB, free: 2.059 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3858, allocations: 4 kB / 0.5001 GB, free: 2.055 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004862/0.3863, allocations: 428.9 kB / 0.5005 GB, free: 1.617 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.3864, allocations: 104.9 kB / 0.5006 GB, free: 1.496 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.463e-05/0.3864, allocations: 12 kB / 0.5006 GB, free: 1.484 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.977e-05/0.3865, allocations: 0 / 0.5006 GB, free: 1.484 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.691e-05/0.3865, allocations: 15.98 kB / 0.5006 GB, free: 1.469 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.3865, allocations: 4 kB / 0.5006 GB, free: 1.465 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.405e-05/0.3866, allocations: 79.27 kB / 0.5007 GB, free: 1.387 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3866, allocations: 0 / 0.5007 GB, free: 1.387 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002076/0.3887, allocations: 0.627 MB / 0.5013 GB, free: 0.7578 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.003265/0.3919, allocations: 1.006 MB / 0.5023 GB, free: 15.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005451/0.3925, allocations: 309.4 kB / 0.5026 GB, free: 15.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/0.3925, allocations: 0 / 0.5026 GB, free: 15.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001889/0.3927, allocations: 169.5 kB / 0.5027 GB, free: 15.25 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006601/0.3933, allocations: 67.91 kB / 0.5028 GB, free: 15.19 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008233/0.3941, allocations: 395.1 kB / 0.5032 GB, free: 14.78 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003645/0.3945, allocations: 0.7131 MB / 0.5039 GB, free: 14.04 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.325e-05/0.3946, allocations: 20.42 kB / 0.5039 GB, free: 14.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.289e-05/0.3946, allocations: 19.38 kB / 0.5039 GB, free: 14 MB / 382.1 MB Notification: Performance of SimCode: time 8.02e-07/0.3946, allocations: 4 kB / 0.5039 GB, free: 14 MB / 382.1 MB Notification: Performance of Templates: time 0.03758/0.4322, allocations: 25.16 MB / 0.5285 GB, free: 4.844 MB / 398.1 MB " [Timeout remaining time 660] 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 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.264157609082758]