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.00108/0.00108, allocations: 113.1 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.001129/0.001129, allocations: 200 kB / 18.01 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.48/1.48, 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.001263/0.001263, allocations: 47.94 kB / 327.9 MB, free: 3.25 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1131, 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.4686/0.5817, allocations: 172.7 MB / 0.5344 GB, free: 2.355 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004838/0.5866, allocations: 3.224 MB / 0.5376 GB, free: 15.11 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004691/0.5871, allocations: 7.938 kB / 0.5376 GB, free: 15.11 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007968/0.588, allocations: 163 kB / 0.5377 GB, free: 14.95 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001165/0.5891, allocations: 407.2 kB / 0.5381 GB, free: 14.55 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001002/0.5902, allocations: 345.8 kB / 0.5384 GB, free: 14.21 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001203/0.5914, allocations: 0.8876 MB / 0.5393 GB, free: 13.32 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002601/0.5916, allocations: 109.2 kB / 0.5394 GB, free: 13.22 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00202/0.5937, allocations: 0.7992 MB / 0.5402 GB, free: 12.42 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004927/0.5942, allocations: 263 kB / 0.5404 GB, free: 12.16 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.022e-05/0.5943, allocations: 32 kB / 0.5405 GB, free: 12.13 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000389/0.5947, allocations: 123.8 kB / 0.5406 GB, free: 12.01 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001323/0.5948, allocations: 99.66 kB / 0.5407 GB, free: 11.91 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002737/0.5951, allocations: 191.3 kB / 0.5409 GB, free: 11.73 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007198/0.5958, allocations: 0.5102 MB / 0.5414 GB, free: 11.21 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.5959, allocations: 0 / 0.5414 GB, free: 11.21 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.5959, allocations: 0 / 0.5414 GB, free: 11.21 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.297e-05/0.5959, allocations: 0 / 0.5414 GB, free: 11.21 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.001261/0.5972, allocations: 0.5853 MB / 0.5419 GB, free: 10.58 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.5972, allocations: 12.03 kB / 0.542 GB, free: 10.57 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003545/0.5976, allocations: 47.56 kB / 0.542 GB, free: 10.52 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005691/0.5982, allocations: 290.4 kB / 0.5423 GB, free: 10.2 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/0.5982, allocations: 20.56 kB / 0.5423 GB, free: 10.18 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.539e-05/0.5983, allocations: 24 kB / 0.5423 GB, free: 10.15 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005659/0.5988, allocations: 320.8 kB / 0.5426 GB, free: 9.816 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/0.5989, allocations: 3.938 kB / 0.5426 GB, free: 9.812 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.086e-05/0.5989, allocations: 12 kB / 0.5426 GB, free: 9.801 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.657e-06/0.5989, allocations: 4 kB / 0.5426 GB, free: 9.797 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003526/0.5993, allocations: 209.5 kB / 0.5428 GB, free: 9.594 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.001942/0.6012, allocations: 1.596 MB / 0.5444 GB, free: 7.848 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000322/0.6016, allocations: 175.1 kB / 0.5446 GB, free: 7.668 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001547/0.6017, allocations: 96.77 kB / 0.5447 GB, free: 7.57 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.808e-05/0.6018, allocations: 7.984 kB / 0.5447 GB, free: 7.562 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.6018, allocations: 38.56 kB / 0.5447 GB, free: 7.516 MB / 478.1 MB Notification: Performance of pre-optimization done (n=22): time 1.393e-06/0.6018, allocations: 0 / 0.5447 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.005534/0.6074, allocations: 1.614 MB / 0.5463 GB, free: 5.773 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.6074, allocations: 55.41 kB / 0.5463 GB, free: 5.707 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002652/0.6077, allocations: 256.9 kB / 0.5466 GB, free: 5.449 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.086e-05/0.6077, allocations: 33.7 kB / 0.5466 GB, free: 5.41 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.6079, allocations: 176.2 kB / 0.5468 GB, free: 5.23 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.944e-05/0.608, allocations: 94.64 kB / 0.5469 GB, free: 5.137 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001354/0.6081, allocations: 81.69 kB / 0.5469 GB, free: 5.051 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.6082, allocations: 338.8 kB / 0.5473 GB, free: 4.711 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001795/0.6084, allocations: 91.95 kB / 0.5474 GB, free: 4.621 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002301/0.6087, allocations: 187.8 kB / 0.5475 GB, free: 4.395 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004184/0.6091, allocations: 312.2 kB / 0.5478 GB, free: 4.047 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.6091, allocations: 0 / 0.5478 GB, free: 4.047 MB / 478.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006687/0.6098, allocations: 402.8 kB / 0.5482 GB, free: 3.641 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.6098, allocations: 8 kB / 0.5482 GB, free: 3.633 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.6098, allocations: 4 kB / 0.5482 GB, free: 3.629 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002309/0.6101, allocations: 69.67 kB / 0.5483 GB, free: 3.555 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003434/0.6104, allocations: 87.84 kB / 0.5484 GB, free: 3.469 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001448/0.6119, allocations: 1.955 MB / 0.5503 GB, free: 1.352 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002153/0.6121, allocations: 12 kB / 0.5503 GB, free: 1.34 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.005e-05/0.6122, allocations: 36 kB / 0.5503 GB, free: 1.305 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.0001709/0.6123, allocations: 162.4 kB / 0.5505 GB, free: 1.137 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.889e-05/0.6124, allocations: 23.72 kB / 0.5505 GB, free: 1.113 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008326/0.6133, allocations: 444 kB / 0.5509 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.6133, allocations: 4 kB / 0.5509 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.6133, allocations: 0 / 0.5509 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005427/0.6138, allocations: 0.563 MB / 0.5515 GB, free: 8 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2346/0.8485, allocations: 0.7272 MB / 0.5522 GB, free: 170.4 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/0.8485, allocations: 4.391 kB / 0.5522 GB, free: 170.4 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003337/0.8489, allocations: 70.62 kB / 0.5523 GB, free: 170.4 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.982e-05/0.849, allocations: 20.48 kB / 0.5523 GB, free: 170.4 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.136e-05/0.849, allocations: 17.05 kB / 0.5523 GB, free: 170.4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007264/0.8498, allocations: 1.378 MB / 0.5537 GB, free: 169.1 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.8498, allocations: 1.859 kB / 0.5537 GB, free: 169.1 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006688/0.8505, allocations: 483.7 kB / 0.5541 GB, free: 169 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.634e-05/0.8505, allocations: 101.9 kB / 0.5542 GB, free: 168.9 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.258e-05/0.8506, allocations: 5.125 kB / 0.5542 GB, free: 168.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002193/0.8508, allocations: 9.516 kB / 0.5542 GB, free: 168.9 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.147e-05/0.8509, allocations: 24.23 kB / 0.5542 GB, free: 168.9 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.86e-05/0.851, allocations: 34.52 kB / 0.5543 GB, free: 168.9 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002112/0.8512, allocations: 188 kB / 0.5545 GB, free: 168.8 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.8512, allocations: 0 / 0.5545 GB, free: 168.8 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006559/0.8519, allocations: 120.9 kB / 0.5546 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.0004364/0.8523, allocations: 156.9 kB / 0.5547 GB, free: 168.7 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008081/0.8531, allocations: 372.2 kB / 0.5551 GB, free: 168.6 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.8531, allocations: 0.5312 kB / 0.5551 GB, free: 168.6 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003065/0.8534, allocations: 238.5 kB / 0.5553 GB, free: 168.5 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009567/0.8544, allocations: 172.1 kB / 0.5555 GB, free: 168.5 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001249/0.8557, allocations: 0.6879 MB / 0.5561 GB, free: 168.2 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/0.856, allocations: 0.7711 MB / 0.5569 GB, free: 167.5 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004097/0.8564, allocations: 119.8 kB / 0.557 GB, free: 167.5 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001835/0.8566, allocations: 63 kB / 0.5571 GB, free: 167.5 MB / 478.1 MB Notification: Performance of SimCode: time 3e-07/0.8566, allocations: 1.062 kB / 0.5571 GB, free: 167.5 MB / 478.1 MB Notification: Performance of Templates: time 0.01697/0.8736, allocations: 8.868 MB / 0.5657 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)