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.001139/0.001139, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.008694/0.008695, allocations: 172.2 kB / 16.26 MB, free: 6.613 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.621/1.621, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.0004483/0.0004483, allocations: 8 kB / 279.4 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.2641, allocations: 47.59 MB / 327 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.4286/0.6928, allocations: 168.3 MB / 495.4 MB, free: 14.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003201/0.696, allocations: 3.179 MB / 498.5 MB, free: 13.8 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003187/0.6963, allocations: 8.328 kB / 498.6 MB, free: 13.8 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005274/0.6969, allocations: 140.4 kB / 498.7 MB, free: 13.77 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008725/0.6978, allocations: 390.3 kB / 499.1 MB, free: 13.66 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008011/0.6986, allocations: 314.3 kB / 499.4 MB, free: 13.64 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001054/0.6996, allocations: 1.348 MB / 0.489 GB, free: 13.45 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001764/0.6998, allocations: 83.58 kB / 0.4891 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001545/0.7014, allocations: 0.7061 MB / 0.4898 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003231/0.7017, allocations: 280.3 kB / 0.49 GB, free: 13.15 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.832e-05/0.7018, allocations: 13.78 kB / 0.49 GB, free: 13.15 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002534/0.702, allocations: 109.2 kB / 0.4901 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.7021, allocations: 79.64 kB / 0.4902 GB, free: 13.1 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000167/0.7023, allocations: 190.5 kB / 0.4904 GB, free: 13.06 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004658/0.7028, allocations: 0.4961 MB / 0.4909 GB, free: 12.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.7028, allocations: 2.094 kB / 0.4909 GB, free: 12.82 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.7028, allocations: 0 / 0.4909 GB, free: 12.82 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.7028, allocations: 0 / 0.4909 GB, free: 12.82 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.0007025/0.7035, allocations: 0.5204 MB / 0.4914 GB, free: 12.36 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.7036, allocations: 11 kB / 0.4914 GB, free: 12.36 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002659/0.7038, allocations: 44.23 kB / 0.4915 GB, free: 12.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003203/0.7042, allocations: 284.9 kB / 0.4917 GB, free: 12.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.7042, allocations: 15.47 kB / 0.4917 GB, free: 12.09 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.802e-05/0.7042, allocations: 24.25 kB / 0.4918 GB, free: 12.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004454/0.7047, allocations: 321.1 kB / 0.4921 GB, free: 11.94 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.7047, allocations: 7.25 kB / 0.4921 GB, free: 11.94 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.595e-05/0.7048, allocations: 10.16 kB / 0.4921 GB, free: 11.94 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.7048, allocations: 5.625 kB / 0.4921 GB, free: 11.94 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003151/0.7051, allocations: 209.8 kB / 0.4923 GB, free: 11.9 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.00169/0.7068, allocations: 1.581 MB / 0.4938 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000304/0.7071, allocations: 180 kB / 0.494 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001522/0.7073, allocations: 100.7 kB / 0.4941 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.085e-05/0.7073, allocations: 8.578 kB / 0.4941 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.7073, allocations: 37.38 kB / 0.4941 GB, free: 10.45 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.393e-06/0.7073, allocations: 0 / 0.4941 GB, free: 10.45 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.00526/0.7126, allocations: 1.626 MB / 0.4957 GB, free: 9.543 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/0.7127, allocations: 56.47 kB / 0.4958 GB, free: 9.48 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002415/0.7129, allocations: 256.6 kB / 0.496 GB, free: 9.344 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.641e-05/0.713, allocations: 32.14 kB / 0.4961 GB, free: 9.312 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.7131, allocations: 178.6 kB / 0.4962 GB, free: 9.172 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.54e-05/0.7132, allocations: 91.12 kB / 0.4963 GB, free: 9.105 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.054e-05/0.7132, allocations: 36.55 kB / 0.4964 GB, free: 9.082 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.7134, allocations: 337.7 kB / 0.4967 GB, free: 8.762 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/0.7135, allocations: 95.64 kB / 0.4968 GB, free: 8.746 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002137/0.7137, allocations: 190 kB / 0.497 GB, free: 8.613 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000366/0.7141, allocations: 313 kB / 0.4972 GB, free: 8.465 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.7141, allocations: 0 / 0.4972 GB, free: 8.465 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005882/0.7147, allocations: 391 kB / 0.4976 GB, free: 8.352 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.7147, allocations: 7.906 kB / 0.4976 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.7148, allocations: 3 kB / 0.4976 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002027/0.715, allocations: 78.41 kB / 0.4977 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003203/0.7153, allocations: 85.67 kB / 0.4978 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001295/0.7166, allocations: 1.852 MB / 0.4996 GB, free: 6.484 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002255/0.7168, allocations: 22.58 kB / 0.4996 GB, free: 6.477 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.773e-05/0.7169, allocations: 44.33 kB / 0.4997 GB, free: 6.469 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.0001798/0.7171, allocations: 156.1 kB / 0.4998 GB, free: 6.344 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.255e-05/0.7172, allocations: 29.78 kB / 0.4998 GB, free: 6.328 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009188/0.7181, allocations: 439.7 kB / 0.5003 GB, free: 6.172 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.798e-06/0.7181, allocations: 2.844 kB / 0.5003 GB, free: 6.172 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.7181, allocations: 7.984 kB / 0.5003 GB, free: 6.164 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005094/0.7186, allocations: 0.5587 MB / 0.5008 GB, free: 5.691 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009955/0.7196, allocations: 0.7309 MB / 0.5015 GB, free: 5.258 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.7196, allocations: 0 / 0.5015 GB, free: 5.258 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002965/0.7199, allocations: 71.83 kB / 0.5016 GB, free: 5.242 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.777e-05/0.72, allocations: 27.19 kB / 0.5016 GB, free: 5.227 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.39e-05/0.7201, allocations: 9.906 kB / 0.5016 GB, free: 5.227 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009305/0.721, allocations: 1.28 MB / 0.5029 GB, free: 3.941 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.721, allocations: 0 / 0.5029 GB, free: 3.941 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006623/0.7217, allocations: 492 kB / 0.5034 GB, free: 3.719 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/0.7218, allocations: 104.3 kB / 0.5034 GB, free: 3.609 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.541e-05/0.7219, allocations: 10.52 kB / 0.5035 GB, free: 3.605 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002533/0.7221, allocations: 11.19 kB / 0.5035 GB, free: 3.605 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.237e-05/0.7222, allocations: 37.64 kB / 0.5035 GB, free: 3.586 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-05/0.7223, allocations: 32.67 kB / 0.5035 GB, free: 3.578 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001982/0.7225, allocations: 192.5 kB / 0.5037 GB, free: 3.48 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7225, allocations: 1.75 kB / 0.5037 GB, free: 3.48 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006058/0.7231, allocations: 126.2 kB / 0.5038 GB, free: 3.469 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.0004383/0.7235, allocations: 152.4 kB / 0.504 GB, free: 3.359 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007102/0.7243, allocations: 367.9 kB / 0.5043 GB, free: 3.207 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.7243, allocations: 0.8125 kB / 0.5043 GB, free: 3.207 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002848/0.7246, allocations: 236.8 kB / 0.5046 GB, free: 3.07 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/0.7256, allocations: 158.1 kB / 0.5047 GB, free: 3.016 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001239/0.7269, allocations: 0.8669 MB / 0.5056 GB, free: 2.426 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003902/0.7273, allocations: 0.7658 MB / 0.5063 GB, free: 1.691 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005681/0.7278, allocations: 111.1 kB / 0.5064 GB, free: 1.641 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002029/0.728, allocations: 68.75 kB / 0.5065 GB, free: 1.617 MB / 398.1 MB Notification: Performance of SimCode: time 4.71e-07/0.728, allocations: 0 / 0.5065 GB, free: 1.617 MB / 398.1 MB Notification: Performance of Templates: time 0.01363/0.7417, allocations: 8.4 MB / 0.5147 GB, free: 13.35 MB / 414.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)