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.0009869/0.000987, allocations: 178.5 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.226/1.226, allocations: 194.5 MB / 211.6 MB, free: 3.055 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001703/0.001703, allocations: 121.8 kB / 256.9 MB, free: 4.352 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003244/0.0003245, allocations: 8 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08873/0.08907, allocations: 44.5 MB / 355.1 MB, free: 2.336 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8612/0.9503, allocations: 433.9 MB / 0.7705 GB, free: 62.32 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002771/0.9506, allocations: 88.36 kB / 0.7706 GB, free: 62.27 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4209/1.372, allocations: 143.5 MB / 0.9107 GB, free: 90.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.824e-06/1.372, allocations: 0 / 0.9107 GB, free: 90.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.734e-05/1.372, allocations: 8 kB / 0.9107 GB, free: 90.07 MB / 410.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.0008544/1.373, allocations: 0.62 MB / 0.9113 GB, free: 89.4 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/1.373, allocations: 12.03 kB / 0.9114 GB, free: 89.39 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002423/1.373, allocations: 43.61 kB / 0.9114 GB, free: 89.35 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002748/1.373, allocations: 286.8 kB / 0.9117 GB, free: 89.03 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/1.373, allocations: 16.56 kB / 0.9117 GB, free: 89.01 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.652e-05/1.373, allocations: 24 kB / 0.9117 GB, free: 88.99 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003766/1.374, allocations: 315.7 kB / 0.912 GB, free: 88.65 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/1.374, allocations: 0 / 0.912 GB, free: 88.65 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.231e-05/1.374, allocations: 12 kB / 0.912 GB, free: 88.64 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/1.374, allocations: 8 kB / 0.912 GB, free: 88.63 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00025/1.374, allocations: 205.6 kB / 0.9122 GB, free: 88.43 MB / 410.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.001235/1.375, allocations: 1.577 MB / 0.9138 GB, free: 86.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002087/1.375, allocations: 163.1 kB / 0.9139 GB, free: 86.53 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.868e-05/1.375, allocations: 8.188 kB / 0.9139 GB, free: 86.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.794e-05/1.375, allocations: 42.69 kB / 0.914 GB, free: 86.47 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 1.583e-06/1.375, allocations: 4 kB / 0.914 GB, free: 86.47 MB / 410.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.004631/1.38, allocations: 1.623 MB / 0.9156 GB, free: 84.72 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.57e-05/1.38, allocations: 59.39 kB / 0.9156 GB, free: 84.65 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001751/1.38, allocations: 228.1 kB / 0.9158 GB, free: 84.42 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.828e-05/1.38, allocations: 37.64 kB / 0.9159 GB, free: 84.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.363e-05/1.38, allocations: 172.3 kB / 0.916 GB, free: 84.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.869e-05/1.38, allocations: 98.55 kB / 0.9161 GB, free: 84.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.627e-05/1.38, allocations: 4 kB / 0.9161 GB, free: 84.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.156e-05/1.381, allocations: 342.8 kB / 0.9165 GB, free: 83.76 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/1.381, allocations: 83.97 kB / 0.9165 GB, free: 83.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/1.381, allocations: 190.4 kB / 0.9167 GB, free: 83.45 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001499/1.381, allocations: 115.9 kB / 0.9168 GB, free: 83.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/1.381, allocations: 0 / 0.9168 GB, free: 83.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004682/1.381, allocations: 395.4 kB / 0.9172 GB, free: 82.94 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/1.381, allocations: 8 kB / 0.9172 GB, free: 82.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/1.381, allocations: 0 / 0.9172 GB, free: 82.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001822/1.382, allocations: 73.67 kB / 0.9173 GB, free: 82.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002974/1.382, allocations: 91.77 kB / 0.9174 GB, free: 82.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008923/1.383, allocations: 1.856 MB / 0.9192 GB, free: 80.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002154/1.383, allocations: 24 kB / 0.9192 GB, free: 80.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.37e-05/1.383, allocations: 39.98 kB / 0.9193 GB, free: 80.68 MB / 410.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.0001323/1.383, allocations: 156.8 kB / 0.9194 GB, free: 80.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.204e-05/1.383, allocations: 31.66 kB / 0.9194 GB, free: 80.49 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000785/1.384, allocations: 435.6 kB / 0.9198 GB, free: 80.05 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/1.384, allocations: 4 kB / 0.9199 GB, free: 80.05 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/1.384, allocations: 0 / 0.9199 GB, free: 80.05 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003499/1.385, allocations: 0.5635 MB / 0.9204 GB, free: 79.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007114/1.385, allocations: 0.7247 MB / 0.9211 GB, free: 78.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/1.385, allocations: 0 / 0.9211 GB, free: 78.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002772/1.386, allocations: 71.95 kB / 0.9212 GB, free: 78.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.874e-05/1.386, allocations: 20.84 kB / 0.9212 GB, free: 78.51 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.328e-05/1.386, allocations: 15.98 kB / 0.9212 GB, free: 78.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005099/1.386, allocations: 1.288 MB / 0.9225 GB, free: 77.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/1.386, allocations: 11.95 kB / 0.9225 GB, free: 77.06 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004732/1.387, allocations: 497.8 kB / 0.923 GB, free: 76.54 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.396e-05/1.387, allocations: 104.8 kB / 0.9231 GB, free: 76.42 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.139e-05/1.387, allocations: 12 kB / 0.9231 GB, free: 76.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002345/1.387, allocations: 23.98 kB / 0.9231 GB, free: 76.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.872e-05/1.387, allocations: 27.91 kB / 0.9231 GB, free: 76.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.473e-05/1.387, allocations: 31.98 kB / 0.9231 GB, free: 76.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001351/1.387, allocations: 186 kB / 0.9233 GB, free: 76.14 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/1.387, allocations: 0 / 0.9233 GB, free: 76.14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00069/1.388, allocations: 187.9 kB / 0.9235 GB, free: 75.96 MB / 410.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.0009027/1.389, allocations: 0.7609 MB / 0.9242 GB, free: 75.19 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005029/1.389, allocations: 378.4 kB / 0.9246 GB, free: 74.81 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/1.389, allocations: 0 / 0.9246 GB, free: 74.81 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002044/1.39, allocations: 235.4 kB / 0.9248 GB, free: 74.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006994/1.39, allocations: 158 kB / 0.925 GB, free: 74.41 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009233/1.391, allocations: 0.8369 MB / 0.9258 GB, free: 73.54 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001839/1.391, allocations: 0.7726 MB / 0.9266 GB, free: 72.74 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005246/1.392, allocations: 110.9 kB / 0.9267 GB, free: 72.64 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001858/1.392, allocations: 67.41 kB / 0.9267 GB, free: 72.57 MB / 410.7 MB Notification: Performance of SimCode: time 6.51e-07/1.392, allocations: 0 / 0.9267 GB, free: 72.57 MB / 410.7 MB Notification: Performance of Templates: time 0.01864/1.411, allocations: 17.52 MB / 0.9438 GB, free: 55.04 MB / 410.7 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)