Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_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.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001489/0.001489, allocations: 187.8 kB / 8.351 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.826/1.826, allocations: 194.3 MB / 203.1 MB, free: 9.32 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001757/0.001757, allocations: 113.2 kB / 248.1 MB, free: 6.336 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.877e-05/1.88e-05, allocations: 0 / 298.1 MB, free: 8.23 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1144, allocations: 44.49 MB / 342.6 MB, free: 11.64 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.26/1.374, allocations: 433.2 MB / 0.7576 GB, free: 57.99 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003684/1.375, allocations: 87.94 kB / 0.7576 GB, free: 57.91 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.5795/1.954, allocations: 141.5 MB / 0.8958 GB, free: 71.84 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.813e-06/1.954, allocations: 384 / 0.8958 GB, free: 71.84 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.891e-05/1.954, allocations: 6.344 kB / 0.8958 GB, free: 71.84 MB / 395.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.001184/1.955, allocations: 0.5871 MB / 0.8964 GB, free: 71.21 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/1.955, allocations: 12.03 kB / 0.8964 GB, free: 71.2 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003843/1.956, allocations: 47.59 kB / 0.8964 GB, free: 71.15 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004099/1.956, allocations: 284 kB / 0.8967 GB, free: 70.84 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/1.956, allocations: 8 kB / 0.8967 GB, free: 70.83 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.004e-05/1.956, allocations: 12 kB / 0.8967 GB, free: 70.82 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003219/1.957, allocations: 177.1 kB / 0.8969 GB, free: 70.64 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004356/1.957, allocations: 270.6 kB / 0.8972 GB, free: 70.35 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/1.957, allocations: 4 kB / 0.8972 GB, free: 70.35 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.248e-05/1.957, allocations: 4 kB / 0.8972 GB, free: 70.34 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/1.957, allocations: 7.953 kB / 0.8972 GB, free: 70.34 MB / 395.1 MB Warning: The model contains alias variables with conflicting start and/or 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.001673/1.959, allocations: 1.55 MB / 0.8987 GB, free: 68.66 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002068/1.959, allocations: 138.7 kB / 0.8988 GB, free: 68.51 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/1.959, allocations: 76.84 kB / 0.8989 GB, free: 68.43 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.547e-05/1.959, allocations: 10.41 kB / 0.8989 GB, free: 68.43 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/1.959, allocations: 38.5 kB / 0.8989 GB, free: 68.38 MB / 395.1 MB Notification: Performance of pre-optimization done (n=20): time 2.144e-06/1.959, allocations: 0 / 0.8989 GB, free: 68.38 MB / 395.1 MB Notification: Performance of matching and sorting (n=25): time 0.003891/1.963, allocations: 1.001 MB / 0.8999 GB, free: 67.3 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.133e-05/1.963, allocations: 55.41 kB / 0.9 GB, free: 67.23 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002012/1.963, allocations: 196 kB / 0.9002 GB, free: 67.04 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/1.964, allocations: 29.64 kB / 0.9002 GB, free: 67.01 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.965e-05/1.964, allocations: 191.7 kB / 0.9004 GB, free: 66.82 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.116e-05/1.964, allocations: 86.75 kB / 0.9005 GB, free: 66.73 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.935e-05/1.964, allocations: 4 kB / 0.9005 GB, free: 66.73 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 7.777e-05/1.964, allocations: 330.8 kB / 0.9008 GB, free: 66.39 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/1.964, allocations: 76 kB / 0.9008 GB, free: 66.32 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/1.964, allocations: 179.8 kB / 0.901 GB, free: 66.1 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001595/1.964, allocations: 109.4 kB / 0.9011 GB, free: 66 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/1.964, allocations: 0 / 0.9011 GB, free: 66 MB / 395.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005368/1.965, allocations: 356.9 kB / 0.9015 GB, free: 65.64 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/1.965, allocations: 15.47 kB / 0.9015 GB, free: 65.62 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/1.965, allocations: 4 kB / 0.9015 GB, free: 65.62 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001979/1.965, allocations: 61.69 kB / 0.9015 GB, free: 65.55 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000344/1.965, allocations: 83.89 kB / 0.9016 GB, free: 65.47 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009928/1.966, allocations: 1.811 MB / 0.9034 GB, free: 63.52 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002488/1.967, allocations: 24.06 kB / 0.9034 GB, free: 63.5 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.938e-05/1.967, allocations: 40 kB / 0.9034 GB, free: 63.46 MB / 395.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 () * 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.0001033/1.967, allocations: 112.9 kB / 0.9036 GB, free: 63.34 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.686e-05/1.967, allocations: 23.72 kB / 0.9036 GB, free: 63.32 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006486/1.968, allocations: 364.2 kB / 0.9039 GB, free: 62.95 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/1.968, allocations: 4 kB / 0.9039 GB, free: 62.95 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/1.968, allocations: 0 / 0.9039 GB, free: 62.95 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003432/1.968, allocations: 0.5357 MB / 0.9045 GB, free: 62.32 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007949/1.969, allocations: 0.6585 MB / 0.9051 GB, free: 61.61 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/1.969, allocations: 3.938 kB / 0.9051 GB, free: 61.61 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002764/1.969, allocations: 71.95 kB / 0.9052 GB, free: 61.54 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.179e-05/1.969, allocations: 24.78 kB / 0.9052 GB, free: 61.51 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.428e-05/1.969, allocations: 15.92 kB / 0.9052 GB, free: 61.5 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005523/1.97, allocations: 1.225 MB / 0.9064 GB, free: 60.16 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/1.97, allocations: 0 / 0.9064 GB, free: 60.16 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004793/1.97, allocations: 473.2 kB / 0.9069 GB, free: 59.66 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.604e-05/1.97, allocations: 100.8 kB / 0.907 GB, free: 59.54 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.758e-05/1.97, allocations: 7.953 kB / 0.907 GB, free: 59.54 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002404/1.971, allocations: 16.05 kB / 0.907 GB, free: 59.52 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.114e-05/1.971, allocations: 23.97 kB / 0.907 GB, free: 59.5 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.906e-05/1.971, allocations: 31.98 kB / 0.907 GB, free: 59.46 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001142/1.971, allocations: 156.5 kB / 0.9072 GB, free: 59.31 MB / 395.1 MB Notification: Performance of sort global known variables: time 2.31e-07/1.971, allocations: 0 / 0.9072 GB, free: 59.31 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0006785/1.971, allocations: 155.9 kB / 0.9073 GB, free: 59.16 MB / 395.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 () * 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.001228/1.973, allocations: 0.907 MB / 0.9082 GB, free: 58.35 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0005489/1.973, allocations: 341.9 kB / 0.9085 GB, free: 58.01 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/1.973, allocations: 0 / 0.9085 GB, free: 58.01 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002061/1.973, allocations: 213.6 kB / 0.9087 GB, free: 57.79 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007087/1.974, allocations: 124.9 kB / 0.9089 GB, free: 57.66 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007955/1.975, allocations: 484.7 kB / 0.9093 GB, free: 57.17 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002078/1.975, allocations: 0.7718 MB / 0.9101 GB, free: 56.37 MB / 395.1 MB Notification: Performance of simCode: alias equations: time 0.0005258/1.976, allocations: 115.2 kB / 0.9102 GB, free: 56.25 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001927/1.976, allocations: 59.41 kB / 0.9102 GB, free: 56.2 MB / 395.1 MB Notification: Performance of SimCode: time 2.81e-07/1.976, allocations: 4 kB / 0.9102 GB, free: 56.19 MB / 395.1 MB Notification: Performance of Templates: time 0.01589/1.992, allocations: 11.24 MB / 0.9212 GB, free: 44.97 MB / 395.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1)