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.00157/0.00157, allocations: 102.5 kB / 17.06 MB, free: 6.117 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.001775/0.001775, allocations: 198.9 kB / 18 MB, free: 5.195 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.589/1.589, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.001282/0.001282, allocations: 47.94 kB / 327.9 MB, free: 3.254 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09281/0.0941, allocations: 46.62 MB / 374.5 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.4502/0.5443, allocations: 172.7 MB / 0.5344 GB, free: 2.344 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004399/0.5488, allocations: 3.217 MB / 0.5376 GB, free: 15.11 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003357/0.5492, allocations: 7.938 kB / 0.5376 GB, free: 15.1 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000719/0.5499, allocations: 170.9 kB / 0.5377 GB, free: 14.93 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001113/0.551, allocations: 407.3 kB / 0.5381 GB, free: 14.54 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009904/0.552, allocations: 347.6 kB / 0.5384 GB, free: 14.2 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001094/0.5531, allocations: 0.8915 MB / 0.5393 GB, free: 13.3 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002286/0.5534, allocations: 104.7 kB / 0.5394 GB, free: 13.21 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002122/0.5555, allocations: 0.8093 MB / 0.5402 GB, free: 12.4 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005309/0.5561, allocations: 266.9 kB / 0.5405 GB, free: 12.14 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.841e-05/0.5562, allocations: 28 kB / 0.5405 GB, free: 12.11 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004002/0.5566, allocations: 127.8 kB / 0.5406 GB, free: 11.98 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001542/0.5567, allocations: 95.72 kB / 0.5407 GB, free: 11.89 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000298/0.557, allocations: 183.3 kB / 0.5409 GB, free: 11.71 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007399/0.5578, allocations: 0.5102 MB / 0.5414 GB, free: 11.2 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.5578, allocations: 4 kB / 0.5414 GB, free: 11.2 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.5578, allocations: 3.938 kB / 0.5414 GB, free: 11.19 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.582e-05/0.5578, 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.001239/0.5591, allocations: 0.5892 MB / 0.542 GB, free: 10.55 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.5591, allocations: 8.031 kB / 0.542 GB, free: 10.54 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000356/0.5595, allocations: 43.61 kB / 0.542 GB, free: 10.5 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005729/0.5601, allocations: 294.4 kB / 0.5423 GB, free: 10.17 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.573e-05/0.5601, allocations: 16.56 kB / 0.5423 GB, free: 10.16 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.805e-05/0.5602, allocations: 24 kB / 0.5423 GB, free: 10.13 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005476/0.5607, allocations: 322.5 kB / 0.5426 GB, free: 9.797 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/0.5608, allocations: 3.938 kB / 0.5426 GB, free: 9.793 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.057e-05/0.5608, allocations: 12 kB / 0.5427 GB, free: 9.781 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.5608, allocations: 8 kB / 0.5427 GB, free: 9.773 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003663/0.5612, allocations: 209.5 kB / 0.5429 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.002033/0.5632, allocations: 1.589 MB / 0.5444 GB, free: 7.832 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003353/0.5636, allocations: 175.1 kB / 0.5446 GB, free: 7.652 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001512/0.5638, allocations: 96.77 kB / 0.5447 GB, free: 7.555 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.043e-05/0.5638, allocations: 4 kB / 0.5447 GB, free: 7.551 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.5638, allocations: 43.38 kB / 0.5447 GB, free: 7.5 MB / 478.1 MB Notification: Performance of pre-optimization done (n=22): time 1.623e-06/0.5639, allocations: 4 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.00576/0.5696, allocations: 1.614 MB / 0.5463 GB, free: 5.75 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.286e-05/0.5697, allocations: 51.41 kB / 0.5463 GB, free: 5.688 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003207/0.57, allocations: 260.8 kB / 0.5466 GB, free: 5.426 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.049e-05/0.5701, allocations: 29.7 kB / 0.5466 GB, free: 5.391 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.5702, allocations: 184.2 kB / 0.5468 GB, free: 5.203 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.05e-05/0.5703, allocations: 94.64 kB / 0.5469 GB, free: 5.109 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/0.5704, allocations: 77.69 kB / 0.547 GB, free: 5.027 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.5706, allocations: 338.8 kB / 0.5473 GB, free: 4.688 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001734/0.5708, allocations: 91.95 kB / 0.5474 GB, free: 4.598 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002304/0.571, allocations: 187.8 kB / 0.5475 GB, free: 4.371 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004458/0.5714, allocations: 304.2 kB / 0.5478 GB, free: 4.031 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.5715, allocations: 0 / 0.5478 GB, free: 4.031 MB / 478.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000691/0.5722, allocations: 403 kB / 0.5482 GB, free: 3.625 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.5722, allocations: 12.06 kB / 0.5482 GB, free: 3.613 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/0.5722, allocations: 3.984 kB / 0.5482 GB, free: 3.609 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002536/0.5725, allocations: 73.67 kB / 0.5483 GB, free: 3.531 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003616/0.5728, allocations: 89.83 kB / 0.5484 GB, free: 3.445 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001589/0.5744, allocations: 1.943 MB / 0.5503 GB, free: 1.34 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002314/0.5747, allocations: 16.22 kB / 0.5503 GB, free: 1.324 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.285e-05/0.5748, allocations: 43.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.0001812/0.5749, allocations: 158.3 kB / 0.5505 GB, free: 1.117 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.126e-05/0.575, allocations: 27.72 kB / 0.5505 GB, free: 1.09 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008388/0.5759, allocations: 434.2 kB / 0.5509 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.5759, allocations: 4 kB / 0.5509 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.5759, allocations: 4.984 kB / 0.551 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2442/0.8201, allocations: 0.5582 MB / 0.5515 GB, free: 170.6 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001271/0.8214, allocations: 0.7319 MB / 0.5522 GB, free: 170.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.8214, allocations: 3.297 kB / 0.5522 GB, free: 170.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003205/0.8217, allocations: 71.39 kB / 0.5523 GB, free: 170.2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.739e-05/0.8218, allocations: 22.03 kB / 0.5523 GB, free: 170.2 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.272e-05/0.8219, allocations: 13.66 kB / 0.5523 GB, free: 170.2 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006771/0.8226, allocations: 1.379 MB / 0.5537 GB, free: 168.9 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.8226, allocations: 2.453 kB / 0.5537 GB, free: 168.9 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006276/0.8232, allocations: 481.4 kB / 0.5541 GB, free: 168.8 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.462e-05/0.8233, allocations: 99.33 kB / 0.5542 GB, free: 168.7 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.315e-05/0.8234, allocations: 10.47 kB / 0.5542 GB, free: 168.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002202/0.8236, allocations: 8.922 kB / 0.5542 GB, free: 168.7 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.016e-05/0.8237, allocations: 24.58 kB / 0.5543 GB, free: 168.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.048e-05/0.8237, allocations: 31.95 kB / 0.5543 GB, free: 168.7 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001979/0.8239, allocations: 195.6 kB / 0.5545 GB, free: 168.6 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.8239, allocations: 0 / 0.5545 GB, free: 168.6 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006113/0.8245, allocations: 123.1 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.0003772/0.8249, allocations: 148.9 kB / 0.5547 GB, free: 168.5 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.000764/0.8257, allocations: 381.2 kB / 0.5551 GB, free: 168.4 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/0.8257, allocations: 0 / 0.5551 GB, free: 168.4 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003528/0.8261, allocations: 237.1 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.0008747/0.827, allocations: 167.7 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.001096/0.8281, allocations: 0.6906 MB / 0.5562 GB, free: 168 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000236/0.8283, allocations: 0.7706 MB / 0.5569 GB, free: 167.3 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003714/0.8287, allocations: 117.2 kB / 0.557 GB, free: 167.3 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001763/0.8289, allocations: 63.92 kB / 0.5571 GB, free: 167.2 MB / 478.1 MB Notification: Performance of SimCode: time 2.81e-07/0.8289, allocations: 0 / 0.5571 GB, free: 167.2 MB / 478.1 MB Notification: Performance of Templates: time 0.0165/0.8454, allocations: 8.782 MB / 0.5657 GB, free: 165.6 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)