Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.01051/0.01051, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001715/0.001715, allocations: 195.9 kB / 16.67 MB, free: 5.52 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.499/1.499, allocations: 205.1 MB / 222.5 MB, free: 12.25 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.001496/0.001496, allocations: 55.94 kB / 326.6 MB, free: 3.258 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1221, allocations: 46.62 MB / 373.2 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.4933/0.6155, allocations: 172.7 MB / 0.5331 GB, free: 2.352 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00429/0.6198, allocations: 3.22 MB / 0.5363 GB, free: 15.11 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000369/0.6202, allocations: 7.938 kB / 0.5363 GB, free: 15.11 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007002/0.6209, allocations: 166.9 kB / 0.5364 GB, free: 14.94 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001125/0.6221, allocations: 399.2 kB / 0.5368 GB, free: 14.55 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009676/0.6231, allocations: 353.7 kB / 0.5372 GB, free: 14.21 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001087/0.6242, allocations: 0.8837 MB / 0.538 GB, free: 13.32 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002363/0.6244, allocations: 108.6 kB / 0.5381 GB, free: 13.22 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001958/0.6264, allocations: 0.7976 MB / 0.5389 GB, free: 12.42 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005373/0.6269, allocations: 270.9 kB / 0.5392 GB, free: 12.16 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.329e-05/0.627, allocations: 28 kB / 0.5392 GB, free: 12.13 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004013/0.6274, allocations: 123.9 kB / 0.5393 GB, free: 12.01 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001525/0.6276, allocations: 95.72 kB / 0.5394 GB, free: 11.91 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002802/0.6279, allocations: 187.2 kB / 0.5396 GB, free: 11.73 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006355/0.6285, allocations: 0.5102 MB / 0.5401 GB, free: 11.22 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.6285, allocations: 0 / 0.5401 GB, free: 11.22 MB / 478.1 MB Notification: Performance of FrontEnd: time 7.82e-07/0.6285, allocations: 0 / 0.5401 GB, free: 11.22 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.4e-05/0.6285, allocations: 0 / 0.5401 GB, free: 11.22 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.00104/0.6296, allocations: 0.5931 MB / 0.5407 GB, free: 10.57 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.6297, allocations: 8.031 kB / 0.5407 GB, free: 10.57 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000334/0.63, allocations: 47.61 kB / 0.5407 GB, free: 10.52 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005154/0.6305, allocations: 294.4 kB / 0.541 GB, free: 10.19 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.6305, allocations: 16.56 kB / 0.541 GB, free: 10.18 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.485e-05/0.6306, allocations: 27.98 kB / 0.541 GB, free: 10.15 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005153/0.6311, allocations: 319.7 kB / 0.5413 GB, free: 9.812 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.6312, allocations: 3.938 kB / 0.5413 GB, free: 9.809 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.035e-05/0.6312, allocations: 12 kB / 0.5413 GB, free: 9.797 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.6312, allocations: 8 kB / 0.5414 GB, free: 9.789 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003412/0.6316, allocations: 205.5 kB / 0.5416 GB, free: 9.59 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.001968/0.6335, allocations: 1.593 MB / 0.5431 GB, free: 7.848 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003146/0.6339, allocations: 171.1 kB / 0.5433 GB, free: 7.672 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001454/0.634, allocations: 103.4 kB / 0.5434 GB, free: 7.57 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.506e-05/0.6341, allocations: 4 kB / 0.5434 GB, free: 7.566 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.26e-05/0.6341, allocations: 42.56 kB / 0.5434 GB, free: 7.516 MB / 478.1 MB Notification: Performance of pre-optimization done (n=22): time 1.463e-06/0.6341, allocations: 0 / 0.5434 GB, free: 7.516 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.00573/0.6399, allocations: 1.611 MB / 0.545 GB, free: 5.773 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.6399, allocations: 55.39 kB / 0.545 GB, free: 5.707 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002861/0.6402, allocations: 256.9 kB / 0.5453 GB, free: 5.449 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.883e-05/0.6403, allocations: 29.7 kB / 0.5453 GB, free: 5.414 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.6404, allocations: 184.2 kB / 0.5455 GB, free: 5.227 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.886e-05/0.6405, allocations: 90.66 kB / 0.5456 GB, free: 5.137 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/0.6406, allocations: 77.69 kB / 0.5456 GB, free: 5.055 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.6407, allocations: 338.8 kB / 0.546 GB, free: 4.715 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001665/0.6409, allocations: 91.89 kB / 0.5461 GB, free: 4.625 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002176/0.6411, allocations: 191.8 kB / 0.5462 GB, free: 4.395 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004532/0.6416, allocations: 304.2 kB / 0.5465 GB, free: 4.055 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.6416, allocations: 0 / 0.5465 GB, free: 4.055 MB / 478.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006702/0.6423, allocations: 402.8 kB / 0.5469 GB, free: 3.648 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.6423, allocations: 11.98 kB / 0.5469 GB, free: 3.637 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.6423, allocations: 3.984 kB / 0.5469 GB, free: 3.633 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002327/0.6426, allocations: 73.69 kB / 0.547 GB, free: 3.555 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003356/0.6429, allocations: 87.83 kB / 0.5471 GB, free: 3.469 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001462/0.6444, allocations: 1.948 MB / 0.549 GB, free: 1.359 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002109/0.6446, allocations: 12 kB / 0.549 GB, free: 1.348 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.739e-05/0.6447, allocations: 39.98 kB / 0.549 GB, free: 1.309 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.000199/0.6449, allocations: 158.4 kB / 0.5492 GB, free: 1.145 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.751e-05/0.645, allocations: 27.72 kB / 0.5492 GB, free: 1.117 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008973/0.6459, allocations: 442.7 kB / 0.5496 GB, free: 0.668 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.6459, allocations: 4 kB / 0.5496 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.6459, allocations: 0 / 0.5496 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000586/0.6465, allocations: 0.5591 MB / 0.5502 GB, free: 16 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2333/0.8798, allocations: 0.7336 MB / 0.5509 GB, free: 170.4 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.8799, allocations: 3.312 kB / 0.5509 GB, free: 170.4 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003587/0.8803, allocations: 72.14 kB / 0.551 GB, free: 170.4 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001097/0.8804, allocations: 20.31 kB / 0.551 GB, free: 170.4 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.392e-05/0.8804, allocations: 13 kB / 0.551 GB, free: 170.4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007395/0.8812, allocations: 1.382 MB / 0.5524 GB, free: 169.1 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.8812, allocations: 1.125 kB / 0.5524 GB, free: 169.1 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000686/0.8819, allocations: 484.3 kB / 0.5528 GB, free: 168.9 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.346e-05/0.882, allocations: 97.16 kB / 0.5529 GB, free: 168.8 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.747e-05/0.882, allocations: 11.77 kB / 0.5529 GB, free: 168.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002313/0.8823, allocations: 7.641 kB / 0.5529 GB, free: 168.8 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.837e-05/0.8823, allocations: 26.59 kB / 0.553 GB, free: 168.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.005e-05/0.8824, allocations: 33.17 kB / 0.553 GB, free: 168.8 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002067/0.8826, allocations: 187.8 kB / 0.5532 GB, free: 168.8 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.8826, allocations: 0 / 0.5532 GB, free: 168.8 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005973/0.8832, allocations: 121.3 kB / 0.5533 GB, free: 168.8 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.000408/0.8836, allocations: 151.3 kB / 0.5534 GB, free: 168.7 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008227/0.8845, allocations: 379.4 kB / 0.5538 GB, free: 168.6 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.8845, allocations: 0.5625 kB / 0.5538 GB, free: 168.6 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003237/0.8848, allocations: 234.7 kB / 0.554 GB, free: 168.4 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000968/0.8858, allocations: 180.3 kB / 0.5542 GB, free: 168.4 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/0.887, allocations: 0.6904 MB / 0.5549 GB, free: 168.2 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002617/0.8873, allocations: 0.7656 MB / 0.5556 GB, free: 167.5 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004139/0.8877, allocations: 113.2 kB / 0.5557 GB, free: 167.5 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001858/0.8879, allocations: 68.09 kB / 0.5558 GB, free: 167.4 MB / 478.1 MB Notification: Performance of SimCode: time 5.71e-07/0.8879, allocations: 0 / 0.5558 GB, free: 167.4 MB / 478.1 MB Notification: Performance of Templates: time 0.01869/0.9066, allocations: 8.776 MB / 0.5644 GB, free: 165.8 MB / 478.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1)