Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001249/0.001249, 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.002378/0.002378, allocations: 191.8 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.527/1.527, allocations: 205.1 MB / 222 MB, free: 4.742 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.001139/0.001139, allocations: 51.92 kB / 278.1 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.2727, allocations: 46.63 MB / 324.7 MB, free: 1.922 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.5242/0.7969, allocations: 170.6 MB / 495.3 MB, free: 404 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003564/0.8005, allocations: 3.234 MB / 498.5 MB, free: 300 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001905/0.8008, allocations: 7.969 kB / 498.5 MB, free: 300 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000594/0.8014, allocations: 145.7 kB / 498.6 MB, free: 296 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007493/0.8022, allocations: 385.8 kB / 499 MB, free: 276 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007294/0.8029, allocations: 316 kB / 499.3 MB, free: 256 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001022/0.8039, allocations: 1.344 MB / 0.4889 GB, free: 252 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001682/0.8041, allocations: 78.56 kB / 0.489 GB, free: 236 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001546/0.8057, allocations: 0.7135 MB / 0.4897 GB, free: 208 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003381/0.806, allocations: 291 kB / 0.49 GB, free: 208 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.535e-05/0.8061, allocations: 17.59 kB / 0.49 GB, free: 208 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002906/0.8064, allocations: 105.9 kB / 0.4901 GB, free: 208 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001047/0.8065, allocations: 84.62 kB / 0.4902 GB, free: 208 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001879/0.8067, allocations: 173.3 kB / 0.4904 GB, free: 208 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004904/0.8072, allocations: 0.4988 MB / 0.4908 GB, free: 184 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.8072, allocations: 7.406 kB / 0.4909 GB, free: 180 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.8072, allocations: 0 / 0.4909 GB, free: 180 kB / 382.1 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.8072, allocations: 1.203 kB / 0.4909 GB, free: 180 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.0008259/0.808, allocations: 0.587 MB / 0.4914 GB, free: 15.74 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.8081, allocations: 11.31 kB / 0.4914 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003049/0.8084, allocations: 49.33 kB / 0.4915 GB, free: 15.72 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003866/0.8088, allocations: 288 kB / 0.4918 GB, free: 15.49 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/0.8088, allocations: 21.31 kB / 0.4918 GB, free: 15.49 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.066e-05/0.8089, allocations: 23.56 kB / 0.4918 GB, free: 15.49 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004555/0.8093, allocations: 311.7 kB / 0.4921 GB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.8094, allocations: 7.562 kB / 0.4921 GB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.846e-05/0.8094, allocations: 17.25 kB / 0.4921 GB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.8094, allocations: 5.906 kB / 0.4921 GB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002886/0.8097, allocations: 200.4 kB / 0.4923 GB, free: 15.39 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.001691/0.8114, allocations: 1.591 MB / 0.4939 GB, free: 14.2 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002802/0.8117, allocations: 174.1 kB / 0.494 GB, free: 14.17 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000136/0.8118, allocations: 94.98 kB / 0.4941 GB, free: 14.16 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.136e-05/0.8119, allocations: 3.594 kB / 0.4941 GB, free: 14.16 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.8119, allocations: 39.66 kB / 0.4942 GB, free: 14.12 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.232e-06/0.8119, allocations: 0 / 0.4942 GB, free: 14.12 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.005417/0.8174, allocations: 1.617 MB / 0.4957 GB, free: 13.39 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.8174, allocations: 56 kB / 0.4958 GB, free: 13.32 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002317/0.8176, allocations: 251.3 kB / 0.496 GB, free: 13.22 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.12e-05/0.8177, allocations: 33.94 kB / 0.4961 GB, free: 13.19 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.8178, allocations: 181.9 kB / 0.4962 GB, free: 13.05 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.665e-05/0.8179, allocations: 97.62 kB / 0.4963 GB, free: 12.99 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/0.818, allocations: 87.91 kB / 0.4964 GB, free: 12.97 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.8181, allocations: 335.6 kB / 0.4967 GB, free: 12.66 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.8183, allocations: 89.19 kB / 0.4968 GB, free: 12.66 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002039/0.8185, allocations: 192.7 kB / 0.497 GB, free: 12.54 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004068/0.8189, allocations: 310.6 kB / 0.4973 GB, free: 12.41 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.8189, allocations: 4.344 kB / 0.4973 GB, free: 12.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005907/0.8195, allocations: 390 kB / 0.4977 GB, free: 12.34 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.8195, allocations: 13 kB / 0.4977 GB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.8195, allocations: 3.578 kB / 0.4977 GB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002098/0.8197, allocations: 73.34 kB / 0.4978 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003233/0.8201, allocations: 85.89 kB / 0.4979 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001348/0.8214, allocations: 1.851 MB / 0.4997 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000216/0.8217, allocations: 24.27 kB / 0.4997 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.235e-05/0.8217, allocations: 40.84 kB / 0.4997 GB, free: 10.54 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.0001543/0.8219, allocations: 157.7 kB / 0.4999 GB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.556e-05/0.822, allocations: 30.5 kB / 0.4999 GB, free: 10.4 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008726/0.8228, allocations: 449.9 kB / 0.5003 GB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.8228, allocations: 2.031 kB / 0.5003 GB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.8229, allocations: 0 / 0.5003 GB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000499/0.8234, allocations: 0.5555 MB / 0.5009 GB, free: 9.844 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009152/0.8243, allocations: 0.7397 MB / 0.5016 GB, free: 9.508 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.8243, allocations: 2.766 kB / 0.5016 GB, free: 9.508 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002926/0.8246, allocations: 64.16 kB / 0.5017 GB, free: 9.508 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.9e-05/0.8247, allocations: 23.73 kB / 0.5017 GB, free: 9.5 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.488e-05/0.8247, allocations: 17.16 kB / 0.5017 GB, free: 9.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007917/0.8255, allocations: 1.279 MB / 0.5029 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.8255, allocations: 3.656 kB / 0.503 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006052/0.8261, allocations: 487.3 kB / 0.5034 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.609e-05/0.8262, allocations: 99.5 kB / 0.5035 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.961e-05/0.8263, allocations: 8.688 kB / 0.5035 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002496/0.8265, allocations: 18.09 kB / 0.5035 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.766e-05/0.8266, allocations: 32.75 kB / 0.5036 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.343e-05/0.8267, allocations: 31.59 kB / 0.5036 GB, free: 7.938 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001562/0.8268, allocations: 185.6 kB / 0.5038 GB, free: 7.859 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.8268, allocations: 0 / 0.5038 GB, free: 7.859 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004649/0.8273, allocations: 126.9 kB / 0.5039 GB, free: 7.852 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.0003408/0.8276, allocations: 151 kB / 0.504 GB, free: 7.758 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006086/0.8283, allocations: 370.2 kB / 0.5044 GB, free: 7.645 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/0.8283, allocations: 4 kB / 0.5044 GB, free: 7.641 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002708/0.8285, allocations: 230.2 kB / 0.5046 GB, free: 7.531 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009181/0.8295, allocations: 156.9 kB / 0.5048 GB, free: 7.512 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001181/0.8307, allocations: 0.799 MB / 0.5055 GB, free: 7.051 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003334/0.831, allocations: 0.7666 MB / 0.5063 GB, free: 6.348 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005384/0.8316, allocations: 116.4 kB / 0.5064 GB, free: 6.301 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002018/0.8318, allocations: 68.3 kB / 0.5065 GB, free: 6.285 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.8318, allocations: 1.094 kB / 0.5065 GB, free: 6.285 MB / 398.1 MB Notification: Performance of Templates: time 0.015/0.8468, allocations: 8.433 MB / 0.5147 GB, free: 1.184 MB / 398.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.sim & ./Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1)