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.001497/0.001497, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001758/0.001758, allocations: 191 kB / 16.14 MB, free: 6.707 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.471/1.471, allocations: 205.1 MB / 222 MB, free: 4.734 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.001206/0.001207, allocations: 55.92 kB / 278.1 MB, free: 12.76 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2971, allocations: 46.63 MB / 324.7 MB, free: 1.941 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.4974/0.7946, allocations: 170.6 MB / 495.3 MB, free: 456 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004822/0.7994, allocations: 3.235 MB / 498.5 MB, free: 352 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002824/0.7999, allocations: 6.156 kB / 498.5 MB, free: 348 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008722/0.8008, allocations: 142.6 kB / 498.6 MB, free: 344 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009935/0.8018, allocations: 387.2 kB / 499 MB, free: 328 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008509/0.8027, allocations: 307.8 kB / 499.3 MB, free: 316 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001189/0.8039, allocations: 1.348 MB / 0.4889 GB, free: 312 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001756/0.804, allocations: 77.22 kB / 0.489 GB, free: 296 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001806/0.8059, allocations: 0.719 MB / 0.4897 GB, free: 264 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004203/0.8063, allocations: 287.4 kB / 0.49 GB, free: 264 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.167e-05/0.8064, allocations: 15.5 kB / 0.49 GB, free: 264 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003616/0.8067, allocations: 111.2 kB / 0.4901 GB, free: 260 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001354/0.8069, allocations: 84.06 kB / 0.4902 GB, free: 260 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002636/0.8071, allocations: 173.1 kB / 0.4904 GB, free: 260 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006715/0.8078, allocations: 0.5014 MB / 0.4908 GB, free: 236 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/0.8078, allocations: 1.203 kB / 0.4908 GB, free: 236 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.8079, allocations: 0 / 0.4908 GB, free: 236 kB / 382.1 MB Notification: Performance of Transformations before backend: time 1.423e-05/0.8079, allocations: 5.844 kB / 0.4909 GB, free: 232 kB / 382.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.001207/0.8091, allocations: 0.5886 MB / 0.4914 GB, free: 15.79 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/0.8092, allocations: 10.52 kB / 0.4914 GB, free: 15.79 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000385/0.8095, allocations: 39.94 kB / 0.4915 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000434/0.81, allocations: 291.4 kB / 0.4918 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.882e-05/0.81, allocations: 18.25 kB / 0.4918 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.131e-05/0.8101, allocations: 28.33 kB / 0.4918 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006933/0.8108, allocations: 320 kB / 0.4921 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.723e-05/0.8108, allocations: 3.938 kB / 0.4921 GB, free: 15.44 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.411e-05/0.8109, allocations: 11.62 kB / 0.4921 GB, free: 15.44 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.329e-05/0.8109, allocations: 6.062 kB / 0.4921 GB, free: 15.44 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003538/0.8113, allocations: 204.2 kB / 0.4923 GB, free: 15.44 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.002167/0.8135, allocations: 1.586 MB / 0.4939 GB, free: 14.25 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002987/0.8138, allocations: 168.9 kB / 0.494 GB, free: 14.23 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001463/0.8139, allocations: 98.31 kB / 0.4941 GB, free: 14.21 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.835e-05/0.814, allocations: 16.42 kB / 0.4941 GB, free: 14.21 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.814, allocations: 35.53 kB / 0.4942 GB, free: 14.17 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.202e-06/0.814, allocations: 0 / 0.4942 GB, free: 14.17 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.005479/0.8195, allocations: 1.61 MB / 0.4957 GB, free: 13.44 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/0.8196, allocations: 58.59 kB / 0.4958 GB, free: 13.38 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002701/0.8198, allocations: 254.1 kB / 0.496 GB, free: 13.27 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.832e-05/0.8199, allocations: 32.77 kB / 0.4961 GB, free: 13.24 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.82, allocations: 174.5 kB / 0.4962 GB, free: 13.11 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.479e-05/0.8201, allocations: 94.19 kB / 0.4963 GB, free: 13.05 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/0.8202, allocations: 86.67 kB / 0.4964 GB, free: 13.03 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.8204, allocations: 346.2 kB / 0.4967 GB, free: 12.71 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001484/0.8205, allocations: 84.62 kB / 0.4968 GB, free: 12.71 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002259/0.8208, allocations: 189.8 kB / 0.497 GB, free: 12.59 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003993/0.8212, allocations: 311.6 kB / 0.4973 GB, free: 12.46 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.8212, allocations: 2.812 kB / 0.4973 GB, free: 12.46 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006705/0.8218, allocations: 394.7 kB / 0.4977 GB, free: 12.4 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.8219, allocations: 5.875 kB / 0.4977 GB, free: 12.4 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.8219, allocations: 9.406 kB / 0.4977 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002337/0.8221, allocations: 71.38 kB / 0.4978 GB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003436/0.8225, allocations: 85.66 kB / 0.4978 GB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001484/0.824, allocations: 1.857 MB / 0.4997 GB, free: 10.6 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002291/0.8242, allocations: 19.83 kB / 0.4997 GB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-05/0.8243, allocations: 41.44 kB / 0.4997 GB, free: 10.59 MB / 398.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.0001699/0.8245, allocations: 160.3 kB / 0.4999 GB, free: 10.47 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.827e-05/0.8246, allocations: 34.88 kB / 0.4999 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000934/0.8255, allocations: 428 kB / 0.5003 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.8255, allocations: 11.5 kB / 0.5003 GB, free: 10.35 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.8255, allocations: 0 / 0.5003 GB, free: 10.35 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005676/0.8261, allocations: 0.5642 MB / 0.5009 GB, free: 9.898 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009453/0.827, allocations: 0.7298 MB / 0.5016 GB, free: 9.566 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.8271, allocations: 1.781 kB / 0.5016 GB, free: 9.566 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002963/0.8274, allocations: 67.05 kB / 0.5017 GB, free: 9.566 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.99e-05/0.8275, allocations: 27.61 kB / 0.5017 GB, free: 9.555 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.308e-05/0.8275, allocations: 10.44 kB / 0.5017 GB, free: 9.555 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001096/0.8286, allocations: 1.286 MB / 0.5029 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.8286, allocations: 1.781 kB / 0.5029 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006497/0.8293, allocations: 478.2 kB / 0.5034 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.8294, allocations: 101.7 kB / 0.5035 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.984e-05/0.8294, allocations: 6.438 kB / 0.5035 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002521/0.8297, allocations: 22.67 kB / 0.5035 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.612e-05/0.8298, allocations: 31.97 kB / 0.5036 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.15e-05/0.8298, allocations: 30.09 kB / 0.5036 GB, free: 8 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001792/0.83, allocations: 186.1 kB / 0.5038 GB, free: 7.922 MB / 398.1 MB Notification: Performance of sort global known variables: time 6.82e-07/0.83, allocations: 0 / 0.5038 GB, free: 7.922 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005214/0.8305, allocations: 128 kB / 0.5039 GB, free: 7.914 MB / 398.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.0004243/0.831, allocations: 165 kB / 0.504 GB, free: 7.809 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007222/0.8317, allocations: 369.5 kB / 0.5044 GB, free: 7.691 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.8317, allocations: 2.125 kB / 0.5044 GB, free: 7.691 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003117/0.832, allocations: 229.4 kB / 0.5046 GB, free: 7.582 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009559/0.833, allocations: 165.6 kB / 0.5048 GB, free: 7.559 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/0.8343, allocations: 0.7897 MB / 0.5055 GB, free: 7.102 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004158/0.8347, allocations: 0.7656 MB / 0.5063 GB, free: 6.398 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005869/0.8353, allocations: 114.1 kB / 0.5064 GB, free: 6.355 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002187/0.8356, allocations: 66.78 kB / 0.5065 GB, free: 6.34 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.8356, allocations: 0 / 0.5065 GB, free: 6.34 MB / 398.1 MB Notification: Performance of Templates: time 0.01525/0.8508, allocations: 8.454 MB / 0.5147 GB, free: 1.227 MB / 398.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)