Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.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) 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(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000811/0.000811, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.001088/0.001088, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.41/1.41, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.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.0004884/0.0004884, allocations: 14.81 kB / 278.9 MB, free: 12.8 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.287, allocations: 47.58 MB / 326.5 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.4213/0.7083, allocations: 156.9 MB / 483.4 MB, free: 1.641 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003136/0.7115, allocations: 2.996 MB / 486.4 MB, free: 1.551 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003629/0.7119, allocations: 2.188 kB / 486.4 MB, free: 1.551 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005405/0.7124, allocations: 136.2 kB / 486.6 MB, free: 1.543 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00089/0.7134, allocations: 361.3 kB / 486.9 MB, free: 1.523 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008648/0.7142, allocations: 275.7 kB / 487.2 MB, free: 1.508 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001393/0.7156, allocations: 1.116 MB / 488.3 MB, free: 1.504 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002398/0.7159, allocations: 69.42 kB / 488.4 MB, free: 1.492 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001963/0.7179, allocations: 0.6755 MB / 489 MB, free: 1.473 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005032/0.7184, allocations: 268.5 kB / 489.3 MB, free: 1.473 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.156e-05/0.7184, allocations: 14.53 kB / 489.3 MB, free: 1.473 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004062/0.7189, allocations: 103.7 kB / 489.4 MB, free: 1.469 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001229/0.719, allocations: 83.69 kB / 489.5 MB, free: 1.469 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001368/0.7191, allocations: 93.92 kB / 489.6 MB, free: 1.434 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000433/0.7196, allocations: 399.8 kB / 490 MB, free: 1.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.7196, allocations: 2.969 kB / 490 MB, free: 1.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.7196, allocations: 0 / 490 MB, free: 1.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.259e-05/0.7196, allocations: 0 / 490 MB, free: 1.41 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.00094/0.7206, allocations: 0.5108 MB / 490.5 MB, free: 16.98 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.7206, allocations: 9.5 kB / 490.5 MB, free: 16.98 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000286/0.7209, allocations: 45.42 kB / 490.5 MB, free: 16.96 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00041/0.7213, allocations: 272.4 kB / 490.8 MB, free: 16.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.623e-05/0.7214, allocations: 15.44 kB / 490.8 MB, free: 16.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.242e-05/0.7214, allocations: 29.91 kB / 490.9 MB, free: 16.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000573/0.722, allocations: 315.8 kB / 491.2 MB, free: 16.65 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/0.722, allocations: 6.906 kB / 491.2 MB, free: 16.65 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.124e-05/0.7221, allocations: 13.23 kB / 491.2 MB, free: 16.64 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.7221, allocations: 8.484 kB / 491.2 MB, free: 16.64 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003289/0.7224, allocations: 206.8 kB / 491.4 MB, free: 16.64 MB / 398.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001771/0.7242, allocations: 1.586 MB / 493 MB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002655/0.7245, allocations: 176.6 kB / 493.2 MB, free: 15.42 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001267/0.7246, allocations: 91.45 kB / 493.2 MB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.284e-05/0.7247, allocations: 8.844 kB / 493.2 MB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.7247, allocations: 38.12 kB / 493.3 MB, free: 15.37 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.593e-06/0.7247, allocations: 3.031 kB / 493.3 MB, free: 15.37 MB / 398.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.004818/0.7295, allocations: 1.623 MB / 494.9 MB, free: 14.63 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.583e-05/0.7296, allocations: 54.38 kB / 495 MB, free: 14.57 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002406/0.7298, allocations: 261.8 kB / 495.2 MB, free: 14.46 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.875e-05/0.7299, allocations: 29.39 kB / 495.2 MB, free: 14.43 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.73, allocations: 172.2 kB / 495.4 MB, free: 14.3 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.317e-05/0.7301, allocations: 102.3 kB / 495.5 MB, free: 14.24 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.078e-05/0.7301, allocations: 8.406 kB / 495.5 MB, free: 14.24 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.7303, allocations: 335.3 kB / 495.9 MB, free: 13.93 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.7304, allocations: 91.11 kB / 495.9 MB, free: 13.92 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001951/0.7306, allocations: 183.9 kB / 496.1 MB, free: 13.8 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000195/0.7308, allocations: 118.1 kB / 496.2 MB, free: 13.8 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.7308, allocations: 2.938 kB / 496.2 MB, free: 13.8 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005603/0.7314, allocations: 396.5 kB / 496.6 MB, free: 13.73 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.7314, allocations: 10.39 kB / 496.6 MB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.7314, allocations: 5.125 kB / 496.6 MB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001959/0.7316, allocations: 69.23 kB / 496.7 MB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003271/0.732, allocations: 90.73 kB / 496.8 MB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001318/0.7333, allocations: 1.851 MB / 498.6 MB, free: 11.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002251/0.7335, allocations: 23.98 kB / 498.7 MB, free: 11.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.955e-05/0.7336, allocations: 42.58 kB / 498.7 MB, free: 11.93 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 initialization (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001717/0.7338, allocations: 158 kB / 498.9 MB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.776e-05/0.7338, allocations: 26.19 kB / 498.9 MB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009089/0.7348, allocations: 428.6 kB / 499.3 MB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.7348, allocations: 3 kB / 499.3 MB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.7348, allocations: 6.938 kB / 499.3 MB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005077/0.7353, allocations: 0.5666 MB / 499.9 MB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009108/0.7362, allocations: 0.7298 MB / 0.4889 GB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.7362, allocations: 2.844 kB / 0.4889 GB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002823/0.7365, allocations: 70.53 kB / 0.489 GB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.485e-05/0.7366, allocations: 26.75 kB / 0.489 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.439e-05/0.7366, allocations: 15.81 kB / 0.489 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000864/0.7375, allocations: 1.287 MB / 0.4903 GB, free: 9.621 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.7375, allocations: 3.938 kB / 0.4903 GB, free: 9.617 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005965/0.7381, allocations: 474.3 kB / 0.4907 GB, free: 9.441 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.316e-05/0.7382, allocations: 112.5 kB / 0.4908 GB, free: 9.328 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.806e-05/0.7383, allocations: 6.656 kB / 0.4908 GB, free: 9.328 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002345/0.7385, allocations: 18.17 kB / 0.4908 GB, free: 9.328 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.561e-05/0.7386, allocations: 23.62 kB / 0.4909 GB, free: 9.328 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.971e-05/0.7386, allocations: 32.33 kB / 0.4909 GB, free: 9.328 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001728/0.7388, allocations: 186.8 kB / 0.4911 GB, free: 9.25 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7388, allocations: 0 / 0.4911 GB, free: 9.25 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005026/0.7393, allocations: 130.2 kB / 0.4912 GB, free: 9.238 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003818/0.7397, allocations: 143.9 kB / 0.4913 GB, free: 9.145 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000855/0.7406, allocations: 377.1 kB / 0.4917 GB, free: 9.023 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.7406, allocations: 0 / 0.4917 GB, free: 9.023 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004067/0.741, allocations: 232.4 kB / 0.4919 GB, free: 8.914 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001469/0.7425, allocations: 161.6 kB / 0.4921 GB, free: 8.895 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001769/0.7443, allocations: 0.8395 MB / 0.4929 GB, free: 8.434 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000478/0.7448, allocations: 0.7685 MB / 0.4936 GB, free: 7.727 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0009778/0.7458, allocations: 116.5 kB / 0.4937 GB, free: 7.684 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000342/0.7461, allocations: 65.92 kB / 0.4938 GB, free: 7.668 MB / 398.1 MB Notification: Performance of SimCode: time 6.01e-07/0.7461, allocations: 4 kB / 0.4938 GB, free: 7.664 MB / 398.1 MB Notification: Performance of Templates: time 0.02133/0.7675, allocations: 8.25 MB / 0.5019 GB, free: 4.277 MB / 398.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe 2>&1)