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.001434/0.001434, allocations: 112.1 kB / 16.42 MB, free: 6.453 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.001675/0.001676, allocations: 187.9 kB / 17.35 MB, free: 5.738 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.307/1.307, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04703/0.04703, allocations: 9.098 MB / 279.7 MB, free: 2.949 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.001376/0.001376, allocations: 72.95 kB / 388.1 MB, free: 47.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06481/0.0662, allocations: 48.18 MB / 436.3 MB, free: 7.617 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.idealGasLimit): time 0.0159/0.08213, allocations: 17.2 MB / 453.5 MB, free: 6.34 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008763/0.09092, allocations: 9.343 MB / 462.9 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.512e-05/0.091, allocations: 3.938 kB / 462.9 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007723/0.09178, allocations: 359.6 kB / 463.2 MB, free: 12.61 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.008775/0.1006, allocations: 4.339 MB / 467.6 MB, free: 8.254 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.974e-05/0.1007, allocations: 11.98 kB / 467.6 MB, free: 8.242 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001725/0.1008, allocations: 135.2 kB / 467.7 MB, free: 8.109 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.011e-05/0.1009, allocations: 13.11 kB / 467.7 MB, free: 8.094 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.101, allocations: 67.59 kB / 467.8 MB, free: 8.027 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.947e-05/0.1011, allocations: 43.73 kB / 467.8 MB, free: 7.984 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.397e-06/0.1011, allocations: 0 / 467.8 MB, free: 7.984 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01137/0.1125, allocations: 7.54 MB / 475.4 MB, free: 440 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.215e-05/0.1125, allocations: 7.922 kB / 475.4 MB, free: 432 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.655e-05/0.1126, allocations: 51.69 kB / 475.4 MB, free: 380 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005914/0.1185, allocations: 3.274 MB / 478.7 MB, free: 13.09 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.1186, allocations: 3.984 kB / 478.7 MB, free: 13.09 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.1186, allocations: 0 / 478.7 MB, free: 13.09 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.1186, allocations: 0 / 478.7 MB, free: 13.09 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.00139/0.12, allocations: 0.694 MB / 479.4 MB, free: 12.34 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.12, allocations: 12.03 kB / 479.4 MB, free: 12.33 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001237/0.1201, allocations: 23.73 kB / 479.4 MB, free: 12.31 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.1203, allocations: 174.9 kB / 479.6 MB, free: 12.1 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-06/0.1203, allocations: 8 kB / 479.6 MB, free: 12.09 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.483e-05/0.1203, allocations: 4 kB / 479.6 MB, free: 12.09 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002347/0.1205, allocations: 190.4 kB / 479.8 MB, free: 11.89 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.1206, allocations: 3.938 kB / 479.8 MB, free: 11.89 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.1206, allocations: 8 kB / 479.8 MB, free: 11.88 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.1206, allocations: 7.984 kB / 479.8 MB, free: 11.88 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002428/0.1208, allocations: 252.1 kB / 480.1 MB, free: 11.63 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002746/0.1211, allocations: 298.5 kB / 480.3 MB, free: 11.29 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002224/0.1214, allocations: 218.8 kB / 480.6 MB, free: 11.07 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001683/0.1215, allocations: 185.1 kB / 480.7 MB, free: 10.88 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01082/0.1324, allocations: 4.247 MB / 485 MB, free: 6.055 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.1324, allocations: 38.67 kB / 485 MB, free: 6.008 MB / 366.1 MB Notification: Performance of pre-optimization done (n=39): time 1.754e-06/0.1324, allocations: 0 / 485 MB, free: 6.008 MB / 366.1 MB Notification: Performance of matching and sorting (n=39): time 0.0005739/0.133, allocations: 0.4901 MB / 485.5 MB, free: 5.512 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.283e-05/0.133, allocations: 55.41 kB / 485.6 MB, free: 5.445 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.818e-05/0.1331, allocations: 97.86 kB / 485.7 MB, free: 5.34 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.1331, allocations: 25.7 kB / 485.7 MB, free: 5.309 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.71e-05/0.1331, allocations: 80.8 kB / 485.8 MB, free: 5.227 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.624e-05/0.1332, allocations: 134 kB / 485.9 MB, free: 5.094 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.739e-05/0.1333, allocations: 45.64 kB / 485.9 MB, free: 5.043 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.842e-05/0.1334, allocations: 326.8 kB / 486.3 MB, free: 4.715 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/0.1335, allocations: 115.9 kB / 486.4 MB, free: 4.602 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.1337, allocations: 145.6 kB / 486.5 MB, free: 4.453 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002892/0.134, allocations: 280 kB / 486.8 MB, free: 4.176 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.134, allocations: 0 / 486.8 MB, free: 4.176 MB / 366.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003678/0.1344, allocations: 326.4 kB / 487.1 MB, free: 3.848 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.1344, allocations: 4 kB / 487.1 MB, free: 3.844 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.1344, allocations: 4 kB / 487.1 MB, free: 3.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.1344, allocations: 0 / 487.1 MB, free: 3.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.1345, allocations: 23.98 kB / 487.1 MB, free: 3.816 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.1345, allocations: 0 / 487.1 MB, free: 3.816 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.597e-05/0.1346, allocations: 15.84 kB / 487.2 MB, free: 3.801 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.475e-05/0.1346, allocations: 7.984 kB / 487.2 MB, free: 3.793 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 8.89e-05/0.1347, allocations: 118.7 kB / 487.3 MB, free: 3.668 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.565e-05/0.1348, allocations: 19.78 kB / 487.3 MB, free: 3.648 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004858/0.1353, allocations: 387.8 kB / 487.7 MB, free: 3.266 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.1353, allocations: 0 / 487.7 MB, free: 3.266 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.1353, allocations: 4 kB / 487.7 MB, free: 3.262 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.751e-05/0.1354, allocations: 104.8 kB / 487.8 MB, free: 3.141 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.1354, allocations: 3.984 kB / 487.8 MB, free: 3.137 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.002e-05/0.1355, allocations: 4 kB / 487.8 MB, free: 3.133 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.506e-05/0.1355, allocations: 8.188 kB / 487.8 MB, free: 3.125 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004068/0.1359, allocations: 401.8 kB / 488.2 MB, free: 2.723 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004077/0.1364, allocations: 499.5 kB / 488.7 MB, free: 2.219 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001557/0.1365, allocations: 167.9 kB / 488.8 MB, free: 2.055 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.101e-05/0.1366, allocations: 83.28 kB / 488.9 MB, free: 1.973 MB / 366.1 MB Notification: Performance of Backend: time 4.01e-07/0.1366, allocations: 0 / 488.9 MB, free: 1.973 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003279/0.1399, allocations: 1.187 MB / 490.1 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of SimCode: time 0.0005947/0.1405, allocations: 0.7354 MB / 490.9 MB, free: 15.98 MB / 382.1 MB Notification: Performance of Templates: time 0.03213/0.1726, allocations: 24.59 MB / 0.5034 GB, free: 7.371 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)