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.001256/0.001256, allocations: 111.7 kB / 16.41 MB, free: 6.465 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.001256/0.001256, allocations: 189.5 kB / 17.35 MB, free: 5.711 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.271/1.271, allocations: 205.1 MB / 223.2 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04463/0.04463, allocations: 9.103 MB / 279.7 MB, free: 2.941 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.00135/0.00135, allocations: 67.39 kB / 388.1 MB, free: 47.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06376/0.06512, 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.01478/0.07992, allocations: 17.21 MB / 453.5 MB, free: 6.332 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008404/0.08836, allocations: 9.339 MB / 462.9 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.983e-05/0.08848, allocations: 0 / 462.9 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000903/0.08943, allocations: 419.5 kB / 463.3 MB, free: 12.55 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.009/0.09844, allocations: 4.553 MB / 467.8 MB, free: 7.984 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.294e-05/0.09847, allocations: 0 / 467.8 MB, free: 7.984 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001564/0.09863, allocations: 143.1 kB / 468 MB, free: 7.844 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.002e-05/0.09868, allocations: 9.125 kB / 468 MB, free: 7.832 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.09879, allocations: 71.59 kB / 468 MB, free: 7.762 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.103e-05/0.09888, allocations: 47.72 kB / 468.1 MB, free: 7.715 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.093e-05/0.0989, allocations: 4 kB / 468.1 MB, free: 7.711 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01052/0.1094, allocations: 7.532 MB / 475.6 MB, free: 160 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.2e-05/0.1095, allocations: 15.92 kB / 475.6 MB, free: 144 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.644e-05/0.1096, allocations: 51.67 kB / 475.7 MB, free: 92 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00533/0.1149, allocations: 3.281 MB / 479 MB, free: 12.8 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1149, allocations: 0 / 479 MB, free: 12.8 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1149, allocations: 0 / 479 MB, free: 12.8 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.1149, allocations: 0 / 479 MB, free: 12.8 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.001002/0.1159, allocations: 0.7185 MB / 479.7 MB, free: 12.03 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.116, allocations: 8.031 kB / 479.7 MB, free: 12.02 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001144/0.1161, allocations: 19.84 kB / 479.7 MB, free: 12 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.1162, allocations: 182.9 kB / 479.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.1162, allocations: 12 kB / 479.9 MB, free: 11.77 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/0.1163, allocations: 4 kB / 479.9 MB, free: 11.77 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000225/0.1165, allocations: 178.6 kB / 480.1 MB, free: 11.59 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.1165, allocations: 0 / 480.1 MB, free: 11.59 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.1165, allocations: 15.88 kB / 480.1 MB, free: 11.57 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.1165, allocations: 0 / 480.1 MB, free: 11.57 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002427/0.1168, allocations: 256.1 kB / 480.4 MB, free: 11.32 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002542/0.117, allocations: 294.7 kB / 480.6 MB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002203/0.1173, allocations: 222.8 kB / 480.9 MB, free: 10.76 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001593/0.1174, allocations: 189.1 kB / 481 MB, free: 10.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01007/0.1275, allocations: 4.251 MB / 485.3 MB, free: 5.738 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.1276, allocations: 34.56 kB / 485.3 MB, free: 5.695 MB / 366.1 MB Notification: Performance of pre-optimization done (n=39): time 3.176e-06/0.1276, allocations: 0 / 485.3 MB, free: 5.695 MB / 366.1 MB Notification: Performance of matching and sorting (n=39): time 0.0005817/0.1282, allocations: 494 kB / 485.8 MB, free: 5.207 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.253e-05/0.1282, allocations: 51.41 kB / 485.9 MB, free: 5.145 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.95e-05/0.1283, allocations: 113.8 kB / 486 MB, free: 5.023 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.1283, allocations: 29.7 kB / 486 MB, free: 4.988 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.813e-05/0.1283, allocations: 80.8 kB / 486.1 MB, free: 4.906 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.479e-05/0.1284, allocations: 134.8 kB / 486.2 MB, free: 4.773 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.691e-05/0.1285, allocations: 41.66 kB / 486.2 MB, free: 4.727 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.1286, allocations: 326.8 kB / 486.6 MB, free: 4.398 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.1287, allocations: 116 kB / 486.7 MB, free: 4.285 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.1289, allocations: 145.5 kB / 486.8 MB, free: 4.137 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002821/0.1292, allocations: 284.1 kB / 487.1 MB, free: 3.855 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1292, allocations: 0 / 487.1 MB, free: 3.855 MB / 366.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003635/0.1295, allocations: 322.5 kB / 487.4 MB, free: 3.531 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.1296, allocations: 7.984 kB / 487.4 MB, free: 3.523 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.1296, allocations: 4 kB / 487.4 MB, free: 3.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.1296, allocations: 0 / 487.4 MB, free: 3.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.1297, allocations: 16 kB / 487.4 MB, free: 3.504 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.31e-05/0.1298, allocations: 7.984 kB / 487.5 MB, free: 3.496 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.954e-05/0.1298, allocations: 23.88 kB / 487.5 MB, free: 3.473 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.808e-05/0.1299, allocations: 4 kB / 487.5 MB, free: 3.469 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.0001123/0.13, allocations: 124.8 kB / 487.6 MB, free: 3.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.808e-05/0.13, allocations: 15.84 kB / 487.6 MB, free: 3.324 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00055/0.1306, allocations: 372.1 kB / 488 MB, free: 2.957 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.1306, allocations: 0 / 488 MB, free: 2.957 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/0.1306, allocations: 7.984 kB / 488 MB, free: 2.949 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.531e-05/0.1307, allocations: 108.9 kB / 488.1 MB, free: 2.824 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.089e-05/0.1307, allocations: 4 kB / 488.1 MB, free: 2.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.597e-05/0.1308, allocations: 4 kB / 488.1 MB, free: 2.816 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.887e-05/0.1308, allocations: 7.984 kB / 488.1 MB, free: 2.809 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004435/0.1313, allocations: 401.8 kB / 488.5 MB, free: 2.406 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004273/0.1317, allocations: 495.6 kB / 489 MB, free: 1.906 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000156/0.1319, allocations: 163.6 kB / 489.1 MB, free: 1.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.321e-05/0.1319, allocations: 91.27 kB / 489.2 MB, free: 1.66 MB / 366.1 MB Notification: Performance of Backend: time 4.71e-07/0.1319, allocations: 0 / 489.2 MB, free: 1.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003292/0.1352, allocations: 1.207 MB / 490.4 MB, free: 448 kB / 366.1 MB Notification: Performance of SimCode: time 0.0006108/0.1359, allocations: 0.7313 MB / 491.2 MB, free: 15.65 MB / 382.1 MB Notification: Performance of Templates: time 0.02948/0.1654, allocations: 24.53 MB / 0.5036 GB, free: 7.098 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)