Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.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.Nitrogen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007734/0.0007735, allocations: 86.95 kB / 16.31 MB, free: 6.449 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.0008337/0.0008337, allocations: 180.2 kB / 17.21 MB, free: 6.32 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.524/1.524, allocations: 205.4 MB / 223.4 MB, free: 5.527 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.0006932/0.0006933, allocations: 12 kB / 280.2 MB, free: 12.89 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3786/0.3793, allocations: 47.58 MB / 327.7 MB, free: 1.43 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.4539/0.8333, allocations: 156.9 MB / 484.6 MB, free: 1.652 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003139/0.8365, allocations: 2.987 MB / 487.6 MB, free: 1.566 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000257/0.8368, allocations: 10.12 kB / 487.6 MB, free: 1.562 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004961/0.8373, allocations: 127.6 kB / 487.8 MB, free: 1.559 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008627/0.8381, allocations: 367.4 kB / 488.1 MB, free: 1.535 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007966/0.8389, allocations: 276.1 kB / 488.4 MB, free: 1.523 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001044/0.84, allocations: 1.117 MB / 489.5 MB, free: 1.516 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001638/0.8402, allocations: 68.22 kB / 489.6 MB, free: 1.504 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001584/0.8418, allocations: 0.6761 MB / 490.3 MB, free: 1.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003492/0.8421, allocations: 272.2 kB / 490.5 MB, free: 1.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.876e-05/0.8422, allocations: 14.53 kB / 490.5 MB, free: 1.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000281/0.8425, allocations: 108.2 kB / 490.6 MB, free: 1.473 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.617e-05/0.8426, allocations: 79.11 kB / 490.7 MB, free: 1.473 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.742e-05/0.8426, allocations: 88.33 kB / 490.8 MB, free: 1.441 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004049/0.8431, allocations: 400.4 kB / 491.2 MB, free: 1.418 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.8431, allocations: 1.859 kB / 491.2 MB, free: 1.418 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.8431, allocations: 0 / 491.2 MB, free: 1.418 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.8431, allocations: 0 / 491.2 MB, free: 1.418 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.0008067/0.8439, allocations: 0.5225 MB / 491.7 MB, free: 16.98 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.844, allocations: 8.594 kB / 491.7 MB, free: 16.98 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002782/0.8442, allocations: 44.88 kB / 491.8 MB, free: 16.97 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003285/0.8446, allocations: 270.4 kB / 492 MB, free: 16.76 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.8446, allocations: 18.94 kB / 492.1 MB, free: 16.76 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.266e-05/0.8446, allocations: 30.53 kB / 492.1 MB, free: 16.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004298/0.8451, allocations: 319.9 kB / 492.4 MB, free: 16.65 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.8451, allocations: 0 / 492.4 MB, free: 16.65 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.271e-05/0.8451, allocations: 16.33 kB / 492.4 MB, free: 16.65 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.8452, allocations: 5.594 kB / 492.4 MB, free: 16.65 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002784/0.8454, allocations: 203.8 kB / 492.6 MB, free: 16.65 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.001598/0.847, allocations: 1.58 MB / 494.2 MB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002509/0.8473, allocations: 174.2 kB / 494.4 MB, free: 15.44 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000131/0.8474, allocations: 100.3 kB / 494.5 MB, free: 15.42 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.564e-05/0.8475, allocations: 9.062 kB / 494.5 MB, free: 15.42 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.8475, allocations: 33.75 kB / 494.5 MB, free: 15.38 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.282e-06/0.8475, allocations: 0 / 494.5 MB, free: 15.38 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.004741/0.8523, allocations: 1.62 MB / 496.1 MB, free: 14.65 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/0.8523, allocations: 54.34 kB / 496.2 MB, free: 14.59 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002357/0.8526, allocations: 257.3 kB / 496.4 MB, free: 14.48 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.069e-05/0.8526, allocations: 28.14 kB / 496.5 MB, free: 14.45 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.915e-05/0.8527, allocations: 176.8 kB / 496.6 MB, free: 14.32 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.051e-05/0.8528, allocations: 97.33 kB / 496.7 MB, free: 14.26 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.887e-05/0.8528, allocations: 8.875 kB / 496.7 MB, free: 14.26 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.8529, allocations: 337.7 kB / 497.1 MB, free: 13.95 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.8531, allocations: 92.03 kB / 497.2 MB, free: 13.94 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001833/0.8533, allocations: 191.1 kB / 497.3 MB, free: 13.82 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000167/0.8534, allocations: 114.8 kB / 497.4 MB, free: 13.82 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.8534, allocations: 2.781 kB / 497.5 MB, free: 13.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000529/0.854, allocations: 392.6 kB / 497.8 MB, free: 13.75 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.778e-05/0.854, allocations: 11.98 kB / 497.8 MB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.954e-06/0.854, allocations: 6.219 kB / 497.9 MB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001939/0.8542, allocations: 79.83 kB / 497.9 MB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003115/0.8546, allocations: 87.45 kB / 498 MB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001393/0.856, allocations: 1.848 MB / 499.9 MB, free: 11.94 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002216/0.8562, allocations: 22.47 kB / 499.9 MB, free: 11.94 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.91e-05/0.8563, allocations: 44.33 kB / 499.9 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.0001766/0.8564, allocations: 156.2 kB / 0.4884 GB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.998e-05/0.8565, allocations: 28.41 kB / 0.4884 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009864/0.8575, allocations: 441.7 kB / 0.4888 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.8575, allocations: 2.969 kB / 0.4888 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.8575, allocations: 5.984 kB / 0.4888 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006309/0.8582, allocations: 0.5656 MB / 0.4894 GB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001114/0.8593, allocations: 0.7232 MB / 0.4901 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.8593, allocations: 4.062 kB / 0.4901 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003045/0.8596, allocations: 66.34 kB / 0.4901 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.95e-05/0.8597, allocations: 20.03 kB / 0.4902 GB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.126e-05/0.8598, allocations: 14.67 kB / 0.4902 GB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001013/0.8608, allocations: 1.286 MB / 0.4914 GB, free: 9.641 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.8608, allocations: 0 / 0.4914 GB, free: 9.641 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006114/0.8614, allocations: 482.8 kB / 0.4919 GB, free: 9.457 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.064e-05/0.8615, allocations: 105.5 kB / 0.492 GB, free: 9.348 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.933e-05/0.8616, allocations: 12.31 kB / 0.492 GB, free: 9.348 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002356/0.8618, allocations: 11.5 kB / 0.492 GB, free: 9.348 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.64e-05/0.8619, allocations: 26.92 kB / 0.492 GB, free: 9.348 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.07e-05/0.8619, allocations: 29.42 kB / 0.4921 GB, free: 9.348 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002157/0.8621, allocations: 190.9 kB / 0.4923 GB, free: 9.266 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.8621, allocations: 0 / 0.4923 GB, free: 9.266 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005064/0.8626, allocations: 122.2 kB / 0.4924 GB, free: 9.262 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.0003638/0.863, allocations: 162.8 kB / 0.4925 GB, free: 9.156 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005832/0.8636, allocations: 371.4 kB / 0.4929 GB, free: 9.039 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.8636, allocations: 0.8125 kB / 0.4929 GB, free: 9.039 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002614/0.8639, allocations: 236.3 kB / 0.4931 GB, free: 8.926 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008741/0.8648, allocations: 175.9 kB / 0.4933 GB, free: 8.898 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.8659, allocations: 0.8254 MB / 0.4941 GB, free: 8.441 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003359/0.8663, allocations: 0.7708 MB / 0.4948 GB, free: 7.738 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005405/0.8668, allocations: 117.4 kB / 0.4949 GB, free: 7.688 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002033/0.867, allocations: 67.61 kB / 0.495 GB, free: 7.672 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.867, allocations: 0 / 0.495 GB, free: 7.672 MB / 398.1 MB Notification: Performance of Templates: time 0.01408/0.8811, allocations: 8.259 MB / 0.5031 GB, free: 4.281 MB / 398.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1)