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.001063/0.001063, allocations: 112.6 kB / 17.06 MB, free: 5.973 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.001112/0.001112, allocations: 200 kB / 18 MB, free: 5.055 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.468/1.468, allocations: 205.1 MB / 223.9 MB, free: 12.21 MB / 190.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.001187/0.001187, allocations: 51.94 kB / 327.9 MB, free: 3.246 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09474/0.09593, allocations: 46.62 MB / 374.5 MB, free: 4.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.41/0.5059, allocations: 172.7 MB / 0.5344 GB, free: 2.328 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004485/0.5105, allocations: 3.217 MB / 0.5376 GB, free: 15.09 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002699/0.5109, allocations: 4 kB / 0.5376 GB, free: 15.09 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008331/0.5117, allocations: 174.9 kB / 0.5377 GB, free: 14.92 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001125/0.5129, allocations: 399.3 kB / 0.5381 GB, free: 14.53 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001053/0.5139, allocations: 341.4 kB / 0.5384 GB, free: 14.2 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001049/0.515, allocations: 0.8953 MB / 0.5393 GB, free: 13.3 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000249/0.5153, allocations: 112.6 kB / 0.5394 GB, free: 13.19 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002133/0.5174, allocations: 0.7911 MB / 0.5402 GB, free: 12.4 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003623/0.5178, allocations: 270.9 kB / 0.5404 GB, free: 12.14 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.733e-05/0.5178, allocations: 32 kB / 0.5405 GB, free: 12.11 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003266/0.5182, allocations: 127.8 kB / 0.5406 GB, free: 11.98 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001348/0.5183, allocations: 87.73 kB / 0.5407 GB, free: 11.89 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002247/0.5185, allocations: 183.3 kB / 0.5409 GB, free: 11.71 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007/0.5193, allocations: 0.518 MB / 0.5414 GB, free: 11.2 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.5193, allocations: 4 kB / 0.5414 GB, free: 11.19 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.5193, allocations: 0 / 0.5414 GB, free: 11.19 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.5193, allocations: 0 / 0.5414 GB, free: 11.19 MB / 478.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.000985/0.5203, allocations: 0.5853 MB / 0.5419 GB, free: 10.55 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.5203, allocations: 12.03 kB / 0.542 GB, free: 10.54 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003475/0.5207, allocations: 43.61 kB / 0.542 GB, free: 10.5 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005527/0.5213, allocations: 290.4 kB / 0.5423 GB, free: 10.18 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.318e-05/0.5213, allocations: 20.56 kB / 0.5423 GB, free: 10.16 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.643e-05/0.5214, allocations: 24 kB / 0.5423 GB, free: 10.13 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000533/0.5219, allocations: 319.7 kB / 0.5426 GB, free: 9.797 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.198e-05/0.5219, allocations: 7.875 kB / 0.5426 GB, free: 9.789 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.207e-05/0.522, allocations: 12 kB / 0.5426 GB, free: 9.777 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.574e-05/0.522, allocations: 11.98 kB / 0.5426 GB, free: 9.766 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003233/0.5223, allocations: 201.6 kB / 0.5428 GB, free: 9.57 MB / 478.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.001833/0.5242, allocations: 1.592 MB / 0.5444 GB, free: 7.828 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003115/0.5245, allocations: 172 kB / 0.5446 GB, free: 7.652 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001454/0.5246, allocations: 96.77 kB / 0.5447 GB, free: 7.555 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.325e-05/0.5247, allocations: 4 kB / 0.5447 GB, free: 7.551 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.5247, allocations: 38.44 kB / 0.5447 GB, free: 7.504 MB / 478.1 MB Notification: Performance of pre-optimization done (n=22): time 1.332e-06/0.5247, allocations: 7.938 kB / 0.5447 GB, free: 7.496 MB / 478.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.005976/0.5307, allocations: 1.62 MB / 0.5463 GB, free: 5.746 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.5308, allocations: 55.41 kB / 0.5463 GB, free: 5.68 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000283/0.5311, allocations: 252.9 kB / 0.5466 GB, free: 5.426 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.134e-05/0.5311, allocations: 33.7 kB / 0.5466 GB, free: 5.387 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.5313, allocations: 180.2 kB / 0.5468 GB, free: 5.203 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001349/0.5314, allocations: 94.64 kB / 0.5469 GB, free: 5.109 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001474/0.5316, allocations: 81.69 kB / 0.5469 GB, free: 5.023 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.5317, allocations: 334.8 kB / 0.5473 GB, free: 4.688 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001647/0.5319, allocations: 87.95 kB / 0.5474 GB, free: 4.602 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002502/0.5322, allocations: 195.8 kB / 0.5475 GB, free: 4.367 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004255/0.5326, allocations: 300.2 kB / 0.5478 GB, free: 4.031 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.5326, allocations: 0 / 0.5478 GB, free: 4.031 MB / 478.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006784/0.5333, allocations: 403 kB / 0.5482 GB, free: 3.625 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/0.5333, allocations: 8.062 kB / 0.5482 GB, free: 3.617 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.5333, allocations: 4 kB / 0.5482 GB, free: 3.613 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002758/0.5336, allocations: 83.8 kB / 0.5483 GB, free: 3.527 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000348/0.534, allocations: 87.88 kB / 0.5484 GB, free: 3.441 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001588/0.5356, allocations: 1.943 MB / 0.5503 GB, free: 1.336 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001861/0.5358, allocations: 16.22 kB / 0.5503 GB, free: 1.32 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.76e-05/0.5358, allocations: 39.98 kB / 0.5503 GB, free: 1.281 MB / 478.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.0001746/0.536, allocations: 162.3 kB / 0.5505 GB, free: 1.113 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.629e-05/0.5361, allocations: 23.72 kB / 0.5505 GB, free: 1.09 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008687/0.537, allocations: 438 kB / 0.5509 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.537, allocations: 8.984 kB / 0.5509 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.716e-06/0.537, allocations: 0 / 0.5509 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2443/0.7813, allocations: 0.5562 MB / 0.5515 GB, free: 170.6 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001313/0.7827, allocations: 0.7287 MB / 0.5522 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.7827, allocations: 2.656 kB / 0.5522 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003351/0.783, allocations: 70.38 kB / 0.5523 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.957e-05/0.7832, allocations: 24.75 kB / 0.5523 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.973e-05/0.7832, allocations: 13.25 kB / 0.5523 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007441/0.7839, allocations: 1.384 MB / 0.5537 GB, free: 169 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.784, allocations: 5.203 kB / 0.5537 GB, free: 169 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006685/0.7846, allocations: 474.6 kB / 0.5541 GB, free: 168.8 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.403e-05/0.7847, allocations: 101.4 kB / 0.5542 GB, free: 168.7 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.709e-05/0.7848, allocations: 13.28 kB / 0.5542 GB, free: 168.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000231/0.785, allocations: 8.203 kB / 0.5542 GB, free: 168.7 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.601e-05/0.7851, allocations: 27.08 kB / 0.5543 GB, free: 168.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.698e-05/0.7851, allocations: 28.58 kB / 0.5543 GB, free: 168.7 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001897/0.7853, allocations: 191.7 kB / 0.5545 GB, free: 168.6 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7853, allocations: 4.328 kB / 0.5545 GB, free: 168.6 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006053/0.786, allocations: 123.7 kB / 0.5546 GB, free: 168.6 MB / 478.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.0004123/0.7864, allocations: 152 kB / 0.5547 GB, free: 168.6 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007685/0.7871, allocations: 380.2 kB / 0.5551 GB, free: 168.4 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.7872, allocations: 0.5 kB / 0.5551 GB, free: 168.4 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003291/0.7875, allocations: 232.4 kB / 0.5553 GB, free: 168.3 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009699/0.7885, allocations: 166.8 kB / 0.5555 GB, free: 168.3 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/0.7896, allocations: 0.6885 MB / 0.5561 GB, free: 168.1 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002175/0.7898, allocations: 0.768 MB / 0.5569 GB, free: 167.4 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000383/0.7902, allocations: 125.5 kB / 0.557 GB, free: 167.3 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001791/0.7904, allocations: 63.34 kB / 0.5571 GB, free: 167.3 MB / 478.1 MB Notification: Performance of SimCode: time 2.41e-07/0.7904, allocations: 4 kB / 0.5571 GB, free: 167.3 MB / 478.1 MB Notification: Performance of Templates: time 0.01914/0.8096, allocations: 8.773 MB / 0.5656 GB, free: 165.7 MB / 478.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)