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.007836/0.007836, allocations: 101.8 kB / 15.73 MB, free: 6.477 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.001625/0.001625, allocations: 192.4 kB / 16.67 MB, free: 6.391 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.505/1.505, allocations: 205.1 MB / 222.5 MB, free: 4.551 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.001346/0.001346, allocations: 47.47 kB / 326.6 MB, free: 14.25 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1098, allocations: 46.63 MB / 373.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.5035/0.6133, allocations: 172.7 MB / 0.5331 GB, free: 3.047 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003938/0.6173, allocations: 3.22 MB / 0.5363 GB, free: 15.81 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001685/0.6176, allocations: 7.938 kB / 0.5363 GB, free: 15.8 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006504/0.6182, allocations: 170.9 kB / 0.5364 GB, free: 15.63 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008184/0.6191, allocations: 413.4 kB / 0.5368 GB, free: 15.23 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007949/0.6199, allocations: 343.1 kB / 0.5372 GB, free: 14.9 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008042/0.6207, allocations: 0.8914 MB / 0.538 GB, free: 14 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002056/0.6209, allocations: 112.6 kB / 0.5381 GB, free: 13.9 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001435/0.6223, allocations: 0.8006 MB / 0.5389 GB, free: 13.1 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003286/0.6227, allocations: 271 kB / 0.5392 GB, free: 12.84 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.168e-05/0.6227, allocations: 32 kB / 0.5392 GB, free: 12.8 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002577/0.623, allocations: 123.8 kB / 0.5393 GB, free: 12.68 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001103/0.6231, allocations: 95.72 kB / 0.5394 GB, free: 12.59 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001817/0.6233, allocations: 183.3 kB / 0.5396 GB, free: 12.41 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005398/0.6239, allocations: 0.518 MB / 0.5401 GB, free: 11.89 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.6239, allocations: 0 / 0.5401 GB, free: 11.89 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.6239, allocations: 3.938 kB / 0.5401 GB, free: 11.89 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.732e-06/0.6239, allocations: 0 / 0.5401 GB, free: 11.89 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.0008735/0.6248, allocations: 0.5808 MB / 0.5407 GB, free: 11.26 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.6248, allocations: 12.03 kB / 0.5407 GB, free: 11.25 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002796/0.6251, allocations: 47.61 kB / 0.5407 GB, free: 11.2 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004593/0.6256, allocations: 286.4 kB / 0.541 GB, free: 10.88 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.554e-05/0.6256, allocations: 20.56 kB / 0.541 GB, free: 10.86 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.826e-05/0.6257, allocations: 27.94 kB / 0.541 GB, free: 10.83 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004832/0.6261, allocations: 327.6 kB / 0.5414 GB, free: 10.48 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/0.6262, allocations: 5.062 kB / 0.5414 GB, free: 10.48 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.711e-05/0.6262, allocations: 12 kB / 0.5414 GB, free: 10.46 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.6262, allocations: 11.94 kB / 0.5414 GB, free: 10.45 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003192/0.6266, allocations: 205.5 kB / 0.5416 GB, free: 10.25 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.001792/0.6284, allocations: 1.589 MB / 0.5431 GB, free: 8.516 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003001/0.6287, allocations: 171.1 kB / 0.5433 GB, free: 8.34 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001463/0.6288, allocations: 96.77 kB / 0.5434 GB, free: 8.242 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.07e-05/0.6289, allocations: 4 kB / 0.5434 GB, free: 8.238 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.6289, allocations: 38.56 kB / 0.5434 GB, free: 8.191 MB / 430.1 MB Notification: Performance of pre-optimization done (n=22): time 1.613e-06/0.6289, allocations: 0 / 0.5434 GB, free: 8.191 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.005515/0.6344, allocations: 1.619 MB / 0.545 GB, free: 6.441 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.896e-05/0.6345, allocations: 55.41 kB / 0.5451 GB, free: 6.375 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000293/0.6348, allocations: 260.8 kB / 0.5453 GB, free: 6.113 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.87e-05/0.6349, allocations: 33.7 kB / 0.5453 GB, free: 6.074 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.635, allocations: 176.2 kB / 0.5455 GB, free: 5.898 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.519e-05/0.6351, allocations: 90.66 kB / 0.5456 GB, free: 5.809 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.6352, allocations: 81.69 kB / 0.5457 GB, free: 5.723 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.6353, allocations: 334.8 kB / 0.546 GB, free: 5.387 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001539/0.6355, allocations: 87.95 kB / 0.5461 GB, free: 5.301 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002338/0.6357, allocations: 187.8 kB / 0.5463 GB, free: 5.074 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004596/0.6362, allocations: 308.2 kB / 0.5466 GB, free: 4.73 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.6362, allocations: 0 / 0.5466 GB, free: 4.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006503/0.6369, allocations: 402.8 kB / 0.5469 GB, free: 4.324 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.6369, allocations: 8 kB / 0.5469 GB, free: 4.316 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.6369, allocations: 4 kB / 0.5469 GB, free: 4.312 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002289/0.6371, allocations: 69.67 kB / 0.547 GB, free: 4.238 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000341/0.6375, allocations: 91.83 kB / 0.5471 GB, free: 4.148 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001646/0.6392, allocations: 1.951 MB / 0.549 GB, free: 2.031 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001829/0.6394, allocations: 10.81 kB / 0.549 GB, free: 2.023 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.245e-05/0.6394, allocations: 39.98 kB / 0.5491 GB, free: 1.984 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.0001851/0.6396, allocations: 161.6 kB / 0.5492 GB, free: 1.816 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.558e-05/0.6397, allocations: 23.72 kB / 0.5492 GB, free: 1.793 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008495/0.6405, allocations: 437 kB / 0.5496 GB, free: 1.348 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.6406, allocations: 4 kB / 0.5497 GB, free: 1.344 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.6406, allocations: 3.984 kB / 0.5497 GB, free: 1.34 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005525/0.6411, allocations: 0.563 MB / 0.5502 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009713/0.6421, allocations: 0.7352 MB / 0.5509 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.6421, allocations: 0 / 0.5509 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000299/0.6424, allocations: 72.83 kB / 0.551 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-05/0.6425, allocations: 20.78 kB / 0.551 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.828e-05/0.6425, allocations: 16 kB / 0.551 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000914/0.6435, allocations: 1.386 MB / 0.5524 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/0.6435, allocations: 7.922 kB / 0.5524 GB, free: 14.24 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006519/0.6441, allocations: 479.2 kB / 0.5528 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.406e-05/0.6442, allocations: 104.8 kB / 0.5529 GB, free: 13.63 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.857e-05/0.6443, allocations: 7.984 kB / 0.553 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002225/0.6445, allocations: 8 kB / 0.553 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.086e-05/0.6446, allocations: 31.97 kB / 0.553 GB, free: 13.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.351e-05/0.6446, allocations: 31.98 kB / 0.553 GB, free: 13.55 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001845/0.6448, allocations: 186 kB / 0.5532 GB, free: 13.37 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6448, allocations: 4 kB / 0.5532 GB, free: 13.36 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004845/0.6453, allocations: 120 kB / 0.5533 GB, free: 13.25 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.0003781/0.6457, allocations: 147.1 kB / 0.5535 GB, free: 13.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006493/0.6464, allocations: 371.2 kB / 0.5538 GB, free: 12.72 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.211e-06/0.6464, allocations: 4 kB / 0.5538 GB, free: 12.71 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000272/0.6467, allocations: 234.5 kB / 0.554 GB, free: 12.47 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009305/0.6476, allocations: 172.7 kB / 0.5542 GB, free: 12.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.6488, allocations: 0.6914 MB / 0.5549 GB, free: 11.58 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002892/0.6491, allocations: 0.7606 MB / 0.5556 GB, free: 10.79 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003965/0.6495, allocations: 114.9 kB / 0.5557 GB, free: 10.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001671/0.6497, allocations: 67.41 kB / 0.5558 GB, free: 10.62 MB / 446.1 MB Notification: Performance of SimCode: time 2.6e-07/0.6497, allocations: 0 / 0.5558 GB, free: 10.62 MB / 446.1 MB Notification: Performance of Templates: time 0.0137/0.6634, allocations: 8.795 MB / 0.5644 GB, free: 1.801 MB / 446.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)