Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_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.1_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.1_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.009382/0.009382, allocations: 103.9 kB / 15.74 MB, free: 5.953 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.00232/0.00232, allocations: 188.9 kB / 16.67 MB, free: 5.883 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.527/1.527, allocations: 205.1 MB / 222.6 MB, free: 4.371 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.001221/0.001221, allocations: 49.73 kB / 326.6 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1172, allocations: 46.62 MB / 373.2 MB, free: 1.254 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.489/0.6062, allocations: 172.7 MB / 0.5331 GB, free: 2.996 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004031/0.6103, allocations: 3.21 MB / 0.5363 GB, free: 15.77 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002073/0.6106, allocations: 7.938 kB / 0.5363 GB, free: 15.76 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006725/0.6113, allocations: 178.9 kB / 0.5364 GB, free: 15.59 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001009/0.6123, allocations: 409.3 kB / 0.5368 GB, free: 15.19 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008921/0.6132, allocations: 343.8 kB / 0.5372 GB, free: 14.85 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009748/0.6142, allocations: 0.8991 MB / 0.538 GB, free: 13.95 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002164/0.6144, allocations: 105.5 kB / 0.5381 GB, free: 13.86 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001903/0.6164, allocations: 0.8006 MB / 0.5389 GB, free: 13.05 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003614/0.6167, allocations: 263 kB / 0.5392 GB, free: 12.8 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.508e-05/0.6168, allocations: 32 kB / 0.5392 GB, free: 12.77 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003166/0.6171, allocations: 127.8 kB / 0.5393 GB, free: 12.64 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001368/0.6173, allocations: 91.67 kB / 0.5394 GB, free: 12.55 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002599/0.6175, allocations: 191.3 kB / 0.5396 GB, free: 12.36 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006475/0.6182, allocations: 0.518 MB / 0.5401 GB, free: 11.84 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.6182, allocations: 4 kB / 0.5401 GB, free: 11.84 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.6182, allocations: 0 / 0.5401 GB, free: 11.84 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.6182, allocations: 0 / 0.5401 GB, free: 11.84 MB / 430.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.0008656/0.6191, allocations: 0.5807 MB / 0.5407 GB, free: 11.21 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.6191, allocations: 8.031 kB / 0.5407 GB, free: 11.2 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002894/0.6194, allocations: 43.61 kB / 0.5407 GB, free: 11.16 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004838/0.6199, allocations: 298.4 kB / 0.541 GB, free: 10.83 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/0.62, allocations: 16.56 kB / 0.541 GB, free: 10.81 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.944e-05/0.62, allocations: 27.62 kB / 0.541 GB, free: 10.79 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005035/0.6205, allocations: 323.6 kB / 0.5414 GB, free: 10.44 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/0.6206, allocations: 7.875 kB / 0.5414 GB, free: 10.43 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.039e-05/0.6206, allocations: 12 kB / 0.5414 GB, free: 10.42 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.354e-05/0.6206, allocations: 8 kB / 0.5414 GB, free: 10.41 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000343/0.621, allocations: 205.5 kB / 0.5416 GB, free: 10.21 MB / 430.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.001903/0.6229, allocations: 1.589 MB / 0.5431 GB, free: 8.477 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002875/0.6232, allocations: 171.1 kB / 0.5433 GB, free: 8.301 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001408/0.6233, allocations: 96.77 kB / 0.5434 GB, free: 8.203 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.227e-05/0.6234, allocations: 4 kB / 0.5434 GB, free: 8.199 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.982e-05/0.6234, allocations: 42.55 kB / 0.5434 GB, free: 8.148 MB / 430.1 MB Notification: Performance of pre-optimization done (n=22): time 3.367e-06/0.6234, allocations: 7.984 kB / 0.5434 GB, free: 8.141 MB / 430.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.005025/0.6285, allocations: 1.607 MB / 0.545 GB, free: 6.402 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.6285, allocations: 55.41 kB / 0.5451 GB, free: 6.336 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002423/0.6288, allocations: 252.9 kB / 0.5453 GB, free: 6.082 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.995e-05/0.6288, allocations: 33.7 kB / 0.5453 GB, free: 6.043 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.6289, allocations: 176.2 kB / 0.5455 GB, free: 5.867 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.829e-05/0.629, allocations: 102.6 kB / 0.5456 GB, free: 5.766 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.6291, allocations: 81.69 kB / 0.5457 GB, free: 5.68 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.6293, allocations: 330.8 kB / 0.546 GB, free: 5.348 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001535/0.6294, allocations: 87.97 kB / 0.5461 GB, free: 5.262 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00022/0.6296, allocations: 191.8 kB / 0.5463 GB, free: 5.031 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004294/0.6301, allocations: 304.2 kB / 0.5466 GB, free: 4.691 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.6301, allocations: 0 / 0.5466 GB, free: 4.691 MB / 430.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006201/0.6307, allocations: 411 kB / 0.5469 GB, free: 4.277 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.6307, allocations: 4 kB / 0.5469 GB, free: 4.273 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.6308, allocations: 4 kB / 0.5469 GB, free: 4.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002154/0.631, allocations: 69.69 kB / 0.547 GB, free: 4.195 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003298/0.6313, allocations: 87.83 kB / 0.5471 GB, free: 4.109 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001557/0.6329, allocations: 1.947 MB / 0.549 GB, free: 1.996 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001882/0.6331, allocations: 12.06 kB / 0.549 GB, free: 1.984 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.024e-05/0.6332, allocations: 47.92 kB / 0.5491 GB, free: 1.938 MB / 430.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001708/0.6333, allocations: 157.6 kB / 0.5492 GB, free: 1.773 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.669e-05/0.6334, allocations: 23.72 kB / 0.5492 GB, free: 1.75 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008444/0.6343, allocations: 441.7 kB / 0.5497 GB, free: 1.301 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.6343, allocations: 4 kB / 0.5497 GB, free: 1.297 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.6343, allocations: 0 / 0.5497 GB, free: 1.297 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000525/0.6348, allocations: 0.5668 MB / 0.5502 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/0.6358, allocations: 0.743 MB / 0.5509 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.6359, allocations: 0 / 0.5509 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003055/0.6362, allocations: 71.89 kB / 0.551 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.417e-05/0.6362, allocations: 16.84 kB / 0.551 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.21e-05/0.6363, allocations: 19.92 kB / 0.551 GB, free: 15.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009121/0.6372, allocations: 1.375 MB / 0.5524 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.6372, allocations: 4.031 kB / 0.5524 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006819/0.6379, allocations: 483.1 kB / 0.5528 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.442e-05/0.638, allocations: 104.8 kB / 0.5529 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.751e-05/0.6381, allocations: 8 kB / 0.553 GB, free: 13.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002244/0.6383, allocations: 8 kB / 0.553 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.527e-05/0.6384, allocations: 27.91 kB / 0.553 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.645e-05/0.6384, allocations: 32.05 kB / 0.553 GB, free: 13.51 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000188/0.6386, allocations: 194 kB / 0.5532 GB, free: 13.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6386, allocations: 0 / 0.5532 GB, free: 13.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005011/0.6391, allocations: 120 kB / 0.5533 GB, free: 13.2 MB / 446.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000365/0.6395, allocations: 147.1 kB / 0.5535 GB, free: 13.05 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006647/0.6402, allocations: 378.4 kB / 0.5538 GB, free: 12.67 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.6402, allocations: 0.8125 kB / 0.5538 GB, free: 12.67 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003138/0.6405, allocations: 238.7 kB / 0.554 GB, free: 12.42 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008222/0.6413, allocations: 171.3 kB / 0.5542 GB, free: 12.26 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.6425, allocations: 0.6841 MB / 0.5549 GB, free: 11.54 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003196/0.6429, allocations: 0.7606 MB / 0.5556 GB, free: 10.75 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000405/0.6433, allocations: 122.9 kB / 0.5557 GB, free: 10.64 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001693/0.6435, allocations: 67.41 kB / 0.5558 GB, free: 10.57 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.6435, allocations: 0 / 0.5558 GB, free: 10.57 MB / 446.1 MB Notification: Performance of Templates: time 0.01543/0.6589, allocations: 8.775 MB / 0.5644 GB, free: 1.773 MB / 446.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.sim & ./Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1)