Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_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.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001366/0.001366, allocations: 181.9 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.676/1.676, allocations: 194.2 MB / 208.4 MB, free: 6.707 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00155/0.00155, allocations: 116.7 kB / 253.5 MB, free: 9.574 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.465e-05/3.469e-05, allocations: 0 / 304.9 MB, free: 29.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09071/0.09077, allocations: 44.51 MB / 349.5 MB, free: 1.238 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.598/1.688, allocations: 0.5366 GB / 0.8779 GB, free: 155.1 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000236/1.689, allocations: 86.38 kB / 0.878 GB, free: 155.1 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2757/1.964, allocations: 147.6 MB / 1.022 GB, free: 12.59 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.833e-06/1.964, allocations: 0 / 1.022 GB, free: 12.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.959e-05/1.964, allocations: 8 kB / 1.022 GB, free: 12.58 MB / 410.7 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.001035/1.966, allocations: 0.5975 MB / 1.023 GB, free: 11.94 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/1.966, allocations: 8.031 kB / 1.023 GB, free: 11.93 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003098/1.966, allocations: 43.7 kB / 1.023 GB, free: 11.89 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003865/1.966, allocations: 274.5 kB / 1.023 GB, free: 11.58 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/1.966, allocations: 20.56 kB / 1.023 GB, free: 11.56 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.519e-05/1.966, allocations: 27.95 kB / 1.023 GB, free: 11.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004429/1.967, allocations: 315.7 kB / 1.023 GB, free: 11.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/1.967, allocations: 0 / 1.023 GB, free: 11.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.699e-05/1.967, allocations: 12 kB / 1.023 GB, free: 11.19 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/1.967, allocations: 8 kB / 1.023 GB, free: 11.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002705/1.967, allocations: 193.6 kB / 1.024 GB, free: 10.99 MB / 410.7 MB Warning: The model contains alias variables with conflicting start and/or 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.001462/1.969, allocations: 1.581 MB / 1.025 GB, free: 9.254 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002444/1.969, allocations: 171 kB / 1.025 GB, free: 9.078 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/1.969, allocations: 89.23 kB / 1.025 GB, free: 8.988 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.366e-05/1.969, allocations: 8.172 kB / 1.025 GB, free: 8.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/1.969, allocations: 42.75 kB / 1.025 GB, free: 8.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 1.272e-06/1.969, allocations: 0 / 1.025 GB, free: 8.93 MB / 410.7 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.004552/1.974, allocations: 1.243 MB / 1.027 GB, free: 7.613 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.029e-05/1.974, allocations: 59.39 kB / 1.027 GB, free: 7.543 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002038/1.974, allocations: 221.4 kB / 1.027 GB, free: 7.324 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.917e-05/1.974, allocations: 33.7 kB / 1.027 GB, free: 7.285 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.948e-05/1.974, allocations: 172 kB / 1.027 GB, free: 7.113 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.913e-05/1.974, allocations: 98.66 kB / 1.027 GB, free: 7.016 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.721e-05/1.974, allocations: 8 kB / 1.027 GB, free: 7.008 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.903e-05/1.974, allocations: 334.8 kB / 1.028 GB, free: 6.672 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/1.974, allocations: 83.98 kB / 1.028 GB, free: 6.59 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001762/1.975, allocations: 191.7 kB / 1.028 GB, free: 6.359 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001876/1.975, allocations: 117.2 kB / 1.028 GB, free: 6.246 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/1.975, allocations: 0 / 1.028 GB, free: 6.246 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006216/1.975, allocations: 398.8 kB / 1.028 GB, free: 5.844 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.435e-05/1.975, allocations: 7.938 kB / 1.028 GB, free: 5.836 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/1.975, allocations: 4 kB / 1.028 GB, free: 5.832 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002604/1.976, allocations: 73.69 kB / 1.028 GB, free: 5.754 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00033/1.976, allocations: 83.89 kB / 1.028 GB, free: 5.672 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001226/1.977, allocations: 1.864 MB / 1.03 GB, free: 3.645 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002138/1.978, allocations: 23.95 kB / 1.03 GB, free: 3.621 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.155e-05/1.978, allocations: 43.94 kB / 1.03 GB, free: 3.578 MB / 410.7 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 () * 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.0001019/1.978, allocations: 120.9 kB / 1.03 GB, free: 3.453 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.607e-05/1.978, allocations: 27.72 kB / 1.03 GB, free: 3.426 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008845/1.979, allocations: 439.7 kB / 1.031 GB, free: 2.977 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/1.979, allocations: 4 kB / 1.031 GB, free: 2.973 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.275e-06/1.979, allocations: 0 / 1.031 GB, free: 2.973 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004245/1.979, allocations: 0.5514 MB / 1.031 GB, free: 2.332 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008338/1.98, allocations: 0.7351 MB / 1.032 GB, free: 1.531 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/1.98, allocations: 0 / 1.032 GB, free: 1.531 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000288/1.98, allocations: 67.89 kB / 1.032 GB, free: 1.465 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.964e-05/1.98, allocations: 24.84 kB / 1.032 GB, free: 1.438 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.751e-05/1.98, allocations: 11.95 kB / 1.032 GB, free: 1.426 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000685/1.981, allocations: 1.284 MB / 1.033 GB, free: 8 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/1.981, allocations: 4.156 kB / 1.033 GB, free: 4 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3247/2.306, allocations: 490.4 kB / 1.034 GB, free: 85.84 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002024/2.306, allocations: 101.8 kB / 1.034 GB, free: 85.74 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.648e-05/2.306, allocations: 7.125 kB / 1.034 GB, free: 85.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003196/2.306, allocations: 17.62 kB / 1.034 GB, free: 85.74 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/2.307, allocations: 30.11 kB / 1.034 GB, free: 85.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.42e-05/2.307, allocations: 30.5 kB / 1.034 GB, free: 85.74 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002868/2.307, allocations: 185.8 kB / 1.034 GB, free: 85.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/2.307, allocations: 1.812 kB / 1.034 GB, free: 85.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001101/2.308, allocations: 186.8 kB / 1.034 GB, free: 85.66 MB / 410.7 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 () * 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.001462/2.31, allocations: 0.7755 MB / 1.035 GB, free: 85.52 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009262/2.311, allocations: 362.8 kB / 1.036 GB, free: 85.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/2.311, allocations: 1.156 kB / 1.036 GB, free: 85.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003924/2.311, allocations: 231.2 kB / 1.036 GB, free: 85.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/2.312, allocations: 158.5 kB / 1.036 GB, free: 85.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/2.313, allocations: 489.6 kB / 1.036 GB, free: 85.14 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004096/2.314, allocations: 0.7724 MB / 1.037 GB, free: 84.45 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006869/2.314, allocations: 120.7 kB / 1.037 GB, free: 84.44 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002598/2.315, allocations: 66.33 kB / 1.037 GB, free: 84.43 MB / 410.7 MB Notification: Performance of SimCode: time 4.21e-07/2.315, allocations: 0 / 1.037 GB, free: 84.43 MB / 410.7 MB Notification: Performance of Templates: time 0.03124/2.346, allocations: 20.01 MB / 1.057 GB, free: 84.17 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe 2>&1)