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.001203/0.001208, allocations: 99.27 kB / 16.5 MB, free: 6.695 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.001234/0.001234, allocations: 193.2 kB / 17.42 MB, free: 6.09 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.368/1.368, allocations: 205.1 MB / 223.3 MB, free: 12.46 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.001456/0.001456, allocations: 43.94 kB / 279.3 MB, free: 3.586 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.109, allocations: 46.64 MB / 326 MB, free: 4.879 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.3796/0.4887, allocations: 170.6 MB / 496.6 MB, free: 12.87 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003948/0.4927, allocations: 3.237 MB / 499.8 MB, free: 9.621 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002095/0.493, allocations: 0 / 499.8 MB, free: 9.621 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006178/0.4936, allocations: 135.2 kB / 499.9 MB, free: 9.488 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000865/0.4945, allocations: 395.7 kB / 0.4886 GB, free: 9.102 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008518/0.4953, allocations: 316.4 kB / 0.4889 GB, free: 8.793 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001129/0.4965, allocations: 1.344 MB / 0.4902 GB, free: 7.445 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001839/0.4967, allocations: 81.31 kB / 0.4903 GB, free: 7.367 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001881/0.4986, allocations: 0.7094 MB / 0.491 GB, free: 6.656 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003686/0.4989, allocations: 298.8 kB / 0.4912 GB, free: 6.363 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.825e-05/0.499, allocations: 16 kB / 0.4913 GB, free: 6.348 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003055/0.4993, allocations: 107.8 kB / 0.4914 GB, free: 6.242 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.4994, allocations: 83.72 kB / 0.4914 GB, free: 6.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002067/0.4997, allocations: 175.3 kB / 0.4916 GB, free: 5.988 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005447/0.5002, allocations: 0.4985 MB / 0.4921 GB, free: 5.488 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.5002, allocations: 0 / 0.4921 GB, free: 5.488 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.906e-06/0.5002, allocations: 0 / 0.4921 GB, free: 5.488 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.226e-06/0.5003, allocations: 11.88 kB / 0.4921 GB, free: 5.477 MB / 398.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.0009047/0.5012, allocations: 0.5892 MB / 0.4927 GB, free: 4.84 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.5012, allocations: 8.031 kB / 0.4927 GB, free: 4.832 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002813/0.5015, allocations: 43.61 kB / 0.4927 GB, free: 4.789 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003502/0.5019, allocations: 286.4 kB / 0.493 GB, free: 4.469 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.5019, allocations: 20.56 kB / 0.493 GB, free: 4.449 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.689e-05/0.502, allocations: 28 kB / 0.4931 GB, free: 4.422 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005084/0.5025, allocations: 315.7 kB / 0.4934 GB, free: 4.082 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.5025, allocations: 3.938 kB / 0.4934 GB, free: 4.078 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.857e-05/0.5025, allocations: 12 kB / 0.4934 GB, free: 4.066 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.5026, allocations: 6.625 kB / 0.4934 GB, free: 4.062 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003129/0.5029, allocations: 213.5 kB / 0.4936 GB, free: 3.855 MB / 398.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.001812/0.5047, allocations: 1.577 MB / 0.4951 GB, free: 2.129 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002944/0.505, allocations: 179.1 kB / 0.4953 GB, free: 1.945 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001752/0.5052, allocations: 96.77 kB / 0.4954 GB, free: 1.848 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.303e-05/0.5052, allocations: 4 kB / 0.4954 GB, free: 1.844 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.5053, allocations: 38.56 kB / 0.4954 GB, free: 1.797 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.373e-06/0.5053, allocations: 0 / 0.4954 GB, free: 1.797 MB / 398.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.005575/0.5109, allocations: 1.613 MB / 0.497 GB, free: 56 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.317e-05/0.5109, allocations: 55.41 kB / 0.4971 GB, free: 15.99 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002676/0.5112, allocations: 260.8 kB / 0.4973 GB, free: 15.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.389e-05/0.5112, allocations: 29.7 kB / 0.4973 GB, free: 15.69 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.5114, allocations: 180.2 kB / 0.4975 GB, free: 15.51 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.753e-05/0.5115, allocations: 98.64 kB / 0.4976 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001268/0.5116, allocations: 89.38 kB / 0.4977 GB, free: 15.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.5117, allocations: 334.8 kB / 0.498 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001764/0.5119, allocations: 91.95 kB / 0.4981 GB, free: 14.89 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002359/0.5121, allocations: 187.8 kB / 0.4983 GB, free: 14.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004221/0.5126, allocations: 308.2 kB / 0.4986 GB, free: 14.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.5126, allocations: 4 kB / 0.4986 GB, free: 14.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006311/0.5132, allocations: 390.7 kB / 0.4989 GB, free: 13.92 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.5132, allocations: 4 kB / 0.4989 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.5133, allocations: 4.406 kB / 0.4989 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002255/0.5135, allocations: 77.67 kB / 0.499 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000345/0.5138, allocations: 87.83 kB / 0.4991 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001382/0.5152, allocations: 1.86 MB / 0.5009 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002367/0.5155, allocations: 20.08 kB / 0.5009 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-05/0.5156, allocations: 44 kB / 0.501 GB, free: 11.66 MB / 414.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.0001787/0.5157, allocations: 157.6 kB / 0.5011 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.187e-05/0.5158, allocations: 31.66 kB / 0.5012 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009664/0.5168, allocations: 434.6 kB / 0.5016 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.5168, allocations: 4 kB / 0.5016 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.5168, allocations: 0 / 0.5016 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005499/0.5174, allocations: 0.563 MB / 0.5021 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00106/0.5184, allocations: 0.7309 MB / 0.5028 GB, free: 9.578 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.5185, allocations: 0.875 kB / 0.5028 GB, free: 9.578 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003246/0.5188, allocations: 67.95 kB / 0.5029 GB, free: 9.512 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.604e-05/0.5189, allocations: 24.78 kB / 0.5029 GB, free: 9.484 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.342e-05/0.5189, allocations: 15.98 kB / 0.5029 GB, free: 9.469 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001096/0.52, allocations: 1.28 MB / 0.5042 GB, free: 8.055 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.5201, allocations: 4.031 kB / 0.5042 GB, free: 8.051 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006987/0.5208, allocations: 482.7 kB / 0.5047 GB, free: 7.555 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.813e-05/0.5209, allocations: 100.8 kB / 0.5048 GB, free: 7.438 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.306e-05/0.5209, allocations: 11.94 kB / 0.5048 GB, free: 7.426 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000263/0.5212, allocations: 19.89 kB / 0.5048 GB, free: 7.406 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.729e-05/0.5213, allocations: 23.86 kB / 0.5048 GB, free: 7.383 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.66e-05/0.5213, allocations: 36.05 kB / 0.5048 GB, free: 7.348 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001884/0.5215, allocations: 194 kB / 0.505 GB, free: 7.16 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5215, allocations: 0 / 0.505 GB, free: 7.16 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005547/0.5221, allocations: 123.9 kB / 0.5051 GB, free: 7.039 MB / 414.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.000506/0.5226, allocations: 157.1 kB / 0.5053 GB, free: 6.879 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000833/0.5234, allocations: 370.3 kB / 0.5057 GB, free: 6.504 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.5235, allocations: 4.812 kB / 0.5057 GB, free: 6.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003217/0.5238, allocations: 226.7 kB / 0.5059 GB, free: 6.266 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009673/0.5248, allocations: 164.3 kB / 0.506 GB, free: 6.102 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/0.5261, allocations: 0.7915 MB / 0.5068 GB, free: 5.285 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003574/0.5264, allocations: 0.7684 MB / 0.5076 GB, free: 4.492 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0006106/0.5271, allocations: 118.9 kB / 0.5077 GB, free: 4.375 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003301/0.5274, allocations: 63.41 kB / 0.5077 GB, free: 4.312 MB / 414.1 MB Notification: Performance of SimCode: time 4.6e-07/0.5274, allocations: 0 / 0.5077 GB, free: 4.312 MB / 414.1 MB Notification: Performance of Templates: time 0.01479/0.5422, allocations: 8.452 MB / 0.516 GB, free: 11.86 MB / 430.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)