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.001109/0.001109, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001321/0.001321, allocations: 194.8 kB / 16.25 MB, free: 6.621 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.571/1.571, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.001256/0.001256, allocations: 43.92 kB / 278.2 MB, free: 12.67 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2925/0.2938, allocations: 46.63 MB / 324.9 MB, free: 1.941 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.5314/0.8252, allocations: 170.4 MB / 495.3 MB, free: 0.6328 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003799/0.829, allocations: 3.196 MB / 498.5 MB, free: 0.5273 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002374/0.8294, allocations: 4.844 kB / 498.5 MB, free: 0.5273 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006394/0.83, allocations: 152 kB / 498.6 MB, free: 0.5234 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009019/0.8309, allocations: 376.1 kB / 499 MB, free: 0.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008163/0.8317, allocations: 316.2 kB / 499.3 MB, free: 500 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001106/0.8329, allocations: 0.8988 MB / 0.4885 GB, free: 496 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002181/0.8331, allocations: 106.2 kB / 0.4886 GB, free: 476 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00232/0.8354, allocations: 0.7646 MB / 0.4893 GB, free: 456 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004108/0.8358, allocations: 290.9 kB / 0.4896 GB, free: 452 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.415e-05/0.8359, allocations: 30.5 kB / 0.4896 GB, free: 452 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003694/0.8363, allocations: 126.6 kB / 0.4897 GB, free: 448 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.8364, allocations: 102.9 kB / 0.4898 GB, free: 444 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002099/0.8366, allocations: 186.1 kB / 0.49 GB, free: 444 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006174/0.8373, allocations: 0.5127 MB / 0.4905 GB, free: 420 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.8373, allocations: 0 / 0.4905 GB, free: 420 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.8373, allocations: 0 / 0.4905 GB, free: 420 kB / 382.1 MB Notification: Performance of Transformations before backend: time 8.245e-06/0.8373, allocations: 0 / 0.4905 GB, free: 420 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.0009623/0.8383, allocations: 0.5901 MB / 0.4911 GB, free: 15.97 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.8383, allocations: 12.22 kB / 0.4911 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000344/0.8387, allocations: 42.97 kB / 0.4911 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004059/0.8391, allocations: 293.9 kB / 0.4914 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.535e-05/0.8391, allocations: 22.34 kB / 0.4914 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.712e-05/0.8392, allocations: 22.09 kB / 0.4915 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004727/0.8396, allocations: 316.5 kB / 0.4918 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/0.8397, allocations: 7.062 kB / 0.4918 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.911e-05/0.8397, allocations: 10.38 kB / 0.4918 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.8397, allocations: 4.812 kB / 0.4918 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003277/0.8401, allocations: 206.3 kB / 0.492 GB, free: 15.62 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.001896/0.842, allocations: 1.597 MB / 0.4935 GB, free: 14.42 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003393/0.8423, allocations: 172.2 kB / 0.4937 GB, free: 14.4 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001595/0.8425, allocations: 97.16 kB / 0.4938 GB, free: 14.39 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.543e-05/0.8425, allocations: 3.531 kB / 0.4938 GB, free: 14.39 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/0.8426, allocations: 42.38 kB / 0.4938 GB, free: 14.34 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.693e-06/0.8426, allocations: 0 / 0.4938 GB, free: 14.34 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.006117/0.8487, allocations: 1.621 MB / 0.4954 GB, free: 13.6 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.979e-05/0.8488, allocations: 54.16 kB / 0.4955 GB, free: 13.54 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003616/0.8492, allocations: 254.5 kB / 0.4957 GB, free: 13.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.276e-05/0.8493, allocations: 35.92 kB / 0.4958 GB, free: 13.4 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/0.8494, allocations: 174 kB / 0.4959 GB, free: 13.27 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.704e-05/0.8495, allocations: 96.03 kB / 0.496 GB, free: 13.21 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001394/0.8497, allocations: 84.53 kB / 0.4961 GB, free: 13.19 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.8499, allocations: 335.7 kB / 0.4964 GB, free: 12.88 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001602/0.85, allocations: 94.59 kB / 0.4965 GB, free: 12.88 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002858/0.8503, allocations: 185.6 kB / 0.4967 GB, free: 12.76 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004562/0.8508, allocations: 316.3 kB / 0.497 GB, free: 12.63 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.8508, allocations: 0 / 0.497 GB, free: 12.63 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005966/0.8514, allocations: 392 kB / 0.4974 GB, free: 12.57 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/0.8514, allocations: 9.594 kB / 0.4974 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.8515, allocations: 3.438 kB / 0.4974 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002301/0.8517, allocations: 71.3 kB / 0.4974 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003288/0.852, allocations: 87.08 kB / 0.4975 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001531/0.8536, allocations: 1.948 MB / 0.4994 GB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002811/0.8539, allocations: 23.7 kB / 0.4994 GB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.183e-05/0.8539, allocations: 39.81 kB / 0.4995 GB, free: 10.68 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.0002166/0.8542, allocations: 159.3 kB / 0.4996 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.386e-05/0.8542, allocations: 29.34 kB / 0.4997 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001023/0.8553, allocations: 443 kB / 0.5001 GB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.8553, allocations: 3.594 kB / 0.5001 GB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.8553, allocations: 3.938 kB / 0.5001 GB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006103/0.8559, allocations: 0.5618 MB / 0.5006 GB, free: 9.98 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001104/0.857, allocations: 0.7283 MB / 0.5013 GB, free: 9.648 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.857, allocations: 0 / 0.5013 GB, free: 9.648 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003186/0.8574, allocations: 73.03 kB / 0.5014 GB, free: 9.648 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.729e-05/0.8575, allocations: 21.36 kB / 0.5014 GB, free: 9.641 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.847e-05/0.8575, allocations: 13.94 kB / 0.5015 GB, free: 9.641 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001228/0.8588, allocations: 1.388 MB / 0.5028 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.8588, allocations: 4.062 kB / 0.5028 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007416/0.8595, allocations: 481.5 kB / 0.5033 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.8597, allocations: 107.6 kB / 0.5034 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.785e-05/0.8597, allocations: 3.188 kB / 0.5034 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002688/0.86, allocations: 21.2 kB / 0.5034 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.018e-05/0.8601, allocations: 23.81 kB / 0.5034 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.867e-05/0.8601, allocations: 32.62 kB / 0.5035 GB, free: 7.984 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002512/0.8604, allocations: 189.5 kB / 0.5036 GB, free: 7.906 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8604, allocations: 0 / 0.5036 GB, free: 7.906 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006949/0.8611, allocations: 127 kB / 0.5038 GB, free: 7.898 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.0004763/0.8616, allocations: 150.5 kB / 0.5039 GB, free: 7.801 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000903/0.8625, allocations: 393.3 kB / 0.5043 GB, free: 7.676 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.8625, allocations: 0 / 0.5043 GB, free: 7.676 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003135/0.8628, allocations: 226.2 kB / 0.5045 GB, free: 7.57 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.8639, allocations: 176.4 kB / 0.5047 GB, free: 7.527 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001658/0.8656, allocations: 0.7946 MB / 0.5054 GB, free: 7.055 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004737/0.8661, allocations: 0.7629 MB / 0.5062 GB, free: 6.355 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006181/0.8667, allocations: 112.6 kB / 0.5063 GB, free: 6.316 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002152/0.867, allocations: 64.45 kB / 0.5063 GB, free: 6.301 MB / 398.1 MB Notification: Performance of SimCode: time 3.8e-07/0.867, allocations: 1.094 kB / 0.5063 GB, free: 6.301 MB / 398.1 MB Notification: Performance of Templates: time 0.01592/0.8829, allocations: 8.686 MB / 0.5148 GB, free: 2.164 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)