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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.008143/0.008143, allocations: 166.3 kB / 15.11 MB, free: 5.578 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.608/1.608, allocations: 170.8 MB / 186.6 MB, free: 1.125 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001714/0.001714, allocations: 106.6 kB / 226.2 MB, free: 10.12 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007023/0.0007028, allocations: 12 kB / 274.1 MB, free: 10.08 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.3092, allocations: 38.76 MB / 312.9 MB, free: 38.79 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.19/1.499, allocations: 428.2 MB / 0.7237 GB, free: 95.7 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000308/1.499, allocations: 90.88 kB / 0.7238 GB, free: 95.66 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5119/2.011, allocations: 143.5 MB / 0.8639 GB, free: 88.67 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.815e-06/2.011, allocations: 0 / 0.8639 GB, free: 88.67 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.044e-05/2.011, allocations: 7.406 kB / 0.864 GB, free: 88.67 MB / 362.7 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.001068/2.012, allocations: 0.6157 MB / 0.8646 GB, free: 88.22 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/2.012, allocations: 7.438 kB / 0.8646 GB, free: 88.22 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002998/2.013, allocations: 50.34 kB / 0.8646 GB, free: 88.21 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003467/2.013, allocations: 280.9 kB / 0.8649 GB, free: 88 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.498e-05/2.013, allocations: 19.81 kB / 0.8649 GB, free: 88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.903e-05/2.013, allocations: 25.56 kB / 0.8649 GB, free: 88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004846/2.014, allocations: 321.7 kB / 0.8652 GB, free: 87.9 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/2.014, allocations: 2.25 kB / 0.8652 GB, free: 87.9 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.869e-05/2.014, allocations: 13.84 kB / 0.8652 GB, free: 87.9 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.844e-06/2.014, allocations: 3.875 kB / 0.8652 GB, free: 87.9 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003024/2.014, allocations: 210.1 kB / 0.8654 GB, free: 87.9 MB / 362.7 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.001569/2.016, allocations: 1.569 MB / 0.867 GB, free: 86.73 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002737/2.016, allocations: 174 kB / 0.8671 GB, free: 86.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.952e-05/2.016, allocations: 4.062 kB / 0.8671 GB, free: 86.7 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/2.016, allocations: 37.84 kB / 0.8672 GB, free: 86.66 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 1.542e-06/2.016, allocations: 0 / 0.8672 GB, free: 86.66 MB / 362.7 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.005064/2.021, allocations: 1.623 MB / 0.8688 GB, free: 85.96 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/2.021, allocations: 59.23 kB / 0.8688 GB, free: 85.89 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000235/2.021, allocations: 223 kB / 0.869 GB, free: 85.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.92e-05/2.021, allocations: 33.39 kB / 0.8691 GB, free: 85.76 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.466e-05/2.022, allocations: 177.6 kB / 0.8692 GB, free: 85.65 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.727e-05/2.022, allocations: 96.59 kB / 0.8693 GB, free: 85.6 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.939e-05/2.022, allocations: 10.09 kB / 0.8693 GB, free: 85.6 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.872e-05/2.022, allocations: 338.2 kB / 0.8697 GB, free: 85.29 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/2.022, allocations: 86.56 kB / 0.8697 GB, free: 85.29 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001815/2.022, allocations: 188.2 kB / 0.8699 GB, free: 85.17 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001818/2.022, allocations: 120.5 kB / 0.87 GB, free: 85.17 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/2.022, allocations: 2.906 kB / 0.87 GB, free: 85.17 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005705/2.023, allocations: 401.4 kB / 0.8704 GB, free: 85.1 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/2.023, allocations: 7.875 kB / 0.8704 GB, free: 85.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/2.023, allocations: 0 / 0.8704 GB, free: 85.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000215/2.023, allocations: 79.86 kB / 0.8705 GB, free: 85.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003242/2.023, allocations: 85.52 kB / 0.8706 GB, free: 85.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001092/2.025, allocations: 1.854 MB / 0.8724 GB, free: 83.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002428/2.025, allocations: 23.31 kB / 0.8724 GB, free: 83.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.993e-05/2.025, allocations: 32.69 kB / 0.8725 GB, free: 83.32 MB / 362.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001655/2.025, allocations: 162.4 kB / 0.8726 GB, free: 83.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.95e-05/2.025, allocations: 32.66 kB / 0.8726 GB, free: 83.19 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008731/2.026, allocations: 439.7 kB / 0.8731 GB, free: 83.11 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/2.026, allocations: 3.719 kB / 0.8731 GB, free: 83.11 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/2.026, allocations: 0 / 0.8731 GB, free: 83.11 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004598/2.026, allocations: 0.5606 MB / 0.8736 GB, free: 82.65 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009153/2.027, allocations: 0.7239 MB / 0.8743 GB, free: 82.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/2.027, allocations: 3 kB / 0.8743 GB, free: 82.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003017/2.028, allocations: 71.09 kB / 0.8744 GB, free: 82.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.104e-05/2.028, allocations: 22.05 kB / 0.8744 GB, free: 82.31 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.529e-05/2.028, allocations: 14.5 kB / 0.8744 GB, free: 82.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006825/2.029, allocations: 1.286 MB / 0.8757 GB, free: 81.05 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/2.029, allocations: 0 / 0.8757 GB, free: 81.05 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005874/2.029, allocations: 0.4907 MB / 0.8762 GB, free: 80.84 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.813e-05/2.029, allocations: 103.4 kB / 0.8763 GB, free: 80.73 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.242e-05/2.029, allocations: 6.812 kB / 0.8763 GB, free: 80.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002578/2.03, allocations: 27.08 kB / 0.8763 GB, free: 80.73 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.444e-05/2.03, allocations: 22.28 kB / 0.8763 GB, free: 80.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.356e-05/2.03, allocations: 30.89 kB / 0.8763 GB, free: 80.73 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001694/2.03, allocations: 197.8 kB / 0.8765 GB, free: 80.64 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/2.03, allocations: 0 / 0.8765 GB, free: 80.64 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008851/2.031, allocations: 181.7 kB / 0.8767 GB, free: 80.64 MB / 362.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001205/2.032, allocations: 0.7655 MB / 0.8775 GB, free: 80.46 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006405/2.033, allocations: 371.1 kB / 0.8778 GB, free: 80.34 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/2.033, allocations: 0 / 0.8778 GB, free: 80.34 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002451/2.033, allocations: 236.8 kB / 0.878 GB, free: 80.22 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007977/2.034, allocations: 156.4 kB / 0.8782 GB, free: 80.21 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/2.035, allocations: 0.8359 MB / 0.879 GB, free: 79.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002339/2.035, allocations: 0.7749 MB / 0.8798 GB, free: 79.15 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005195/2.036, allocations: 107.9 kB / 0.8799 GB, free: 79.14 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001967/2.036, allocations: 66.84 kB / 0.8799 GB, free: 79.13 MB / 362.7 MB Notification: Performance of SimCode: time 8.02e-07/2.036, allocations: 0 / 0.8799 GB, free: 79.13 MB / 362.7 MB Notification: Performance of Templates: time 0.0228/2.059, allocations: 17.53 MB / 0.897 GB, free: 68.81 MB / 362.7 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)