Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.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.Air.SimpleAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001802/0.001802, allocations: 169.9 kB / 12.72 MB, free: 2.594 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.713/1.713, allocations: 170.6 MB / 183.8 MB, free: 11.42 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.001851/0.001851, allocations: 115.4 kB / 223.2 MB, free: 4.043 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.875e-05/3.877e-05, allocations: 4 kB / 268.9 MB, free: 20.91 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09238/0.09244, allocations: 38.76 MB / 307.6 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.135/1.228, allocations: 328.5 MB / 0.6213 GB, free: 140.6 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004446/1.228, allocations: 87.14 kB / 0.6214 GB, free: 140.6 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1761/1.404, allocations: 87.2 MB / 0.7065 GB, free: 56.93 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.876e-06/1.404, allocations: 0 / 0.7065 GB, free: 56.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.894e-05/1.404, allocations: 8 kB / 0.7065 GB, free: 56.93 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.0009509/1.405, allocations: 0.5271 MB / 0.707 GB, free: 56.36 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001032/1.406, allocations: 16.03 kB / 0.7071 GB, free: 56.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003204/1.406, allocations: 39.61 kB / 0.7071 GB, free: 56.3 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004273/1.406, allocations: 294.8 kB / 0.7074 GB, free: 55.97 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.368e-05/1.406, allocations: 24.52 kB / 0.7074 GB, free: 55.95 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.438e-05/1.406, allocations: 24 kB / 0.7074 GB, free: 55.93 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000526/1.407, allocations: 281.4 kB / 0.7077 GB, free: 55.63 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/1.407, allocations: 3.938 kB / 0.7077 GB, free: 55.62 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.991e-05/1.407, allocations: 16 kB / 0.7077 GB, free: 55.61 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/1.407, allocations: 8 kB / 0.7077 GB, free: 55.6 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003001/1.407, allocations: 194.1 kB / 0.7079 GB, free: 55.41 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001719/1.409, allocations: 1.285 MB / 0.7092 GB, free: 54 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004142/1.409, allocations: 183.3 kB / 0.7093 GB, free: 53.81 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000142/1.41, allocations: 85.23 kB / 0.7094 GB, free: 53.73 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001488/1.41, allocations: 170.3 kB / 0.7096 GB, free: 53.52 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.213e-05/1.41, allocations: 42.7 kB / 0.7096 GB, free: 53.47 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 2.504e-06/1.41, allocations: 0 / 0.7096 GB, free: 53.47 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.00235/1.412, allocations: 0.8866 MB / 0.7105 GB, free: 52.51 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.763e-05/1.412, allocations: 59.34 kB / 0.7105 GB, free: 52.44 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002808/1.413, allocations: 230.8 kB / 0.7108 GB, free: 52.21 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.302e-05/1.413, allocations: 29.7 kB / 0.7108 GB, free: 52.17 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/1.413, allocations: 187.9 kB / 0.711 GB, free: 51.98 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.753e-05/1.413, allocations: 90.75 kB / 0.7111 GB, free: 51.89 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.427e-05/1.413, allocations: 4 kB / 0.7111 GB, free: 51.89 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000179/1.413, allocations: 342.8 kB / 0.7114 GB, free: 51.54 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/1.413, allocations: 75.78 kB / 0.7115 GB, free: 51.47 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001988/1.413, allocations: 175.8 kB / 0.7116 GB, free: 51.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002332/1.414, allocations: 113 kB / 0.7117 GB, free: 51.14 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/1.414, allocations: 0 / 0.7117 GB, free: 51.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006015/1.414, allocations: 439.8 kB / 0.7121 GB, free: 50.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.744e-05/1.414, allocations: 8 kB / 0.7122 GB, free: 50.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/1.414, allocations: 4 kB / 0.7122 GB, free: 50.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002048/1.415, allocations: 45.97 kB / 0.7122 GB, free: 50.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003014/1.415, allocations: 83.83 kB / 0.7123 GB, free: 50.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001771/1.417, allocations: 2.56 MB / 0.7148 GB, free: 47.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002257/1.417, allocations: 24.06 kB / 0.7148 GB, free: 47.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.689e-05/1.417, allocations: 20 kB / 0.7148 GB, free: 47.67 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 () * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001183/1.417, allocations: 120.9 kB / 0.7149 GB, free: 47.54 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.692e-05/1.417, allocations: 31.66 kB / 0.715 GB, free: 47.51 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006018/1.418, allocations: 358.4 kB / 0.7153 GB, free: 47.13 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/1.418, allocations: 7.938 kB / 0.7153 GB, free: 47.12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/1.418, allocations: 0 / 0.7153 GB, free: 47.12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004997/1.418, allocations: 0.6075 MB / 0.7159 GB, free: 46.41 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009904/1.419, allocations: 0.7665 MB / 0.7167 GB, free: 45.56 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/1.419, allocations: 0 / 0.7167 GB, free: 45.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002677/1.42, allocations: 51.97 kB / 0.7167 GB, free: 45.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.731e-05/1.42, allocations: 24.78 kB / 0.7167 GB, free: 45.48 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.265e-05/1.42, allocations: 11.95 kB / 0.7167 GB, free: 45.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008459/1.42, allocations: 1.284 MB / 0.718 GB, free: 44.05 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/1.42, allocations: 0 / 0.718 GB, free: 44.05 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005927/1.421, allocations: 0.5158 MB / 0.7185 GB, free: 43.49 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.408e-05/1.421, allocations: 100.8 kB / 0.7186 GB, free: 43.38 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.459e-05/1.421, allocations: 4 kB / 0.7186 GB, free: 43.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002656/1.421, allocations: 15.98 kB / 0.7186 GB, free: 43.36 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.942e-05/1.422, allocations: 16.05 kB / 0.7186 GB, free: 43.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.152e-05/1.422, allocations: 15.98 kB / 0.7187 GB, free: 43.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001861/1.422, allocations: 187.1 kB / 0.7188 GB, free: 43.14 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.81e-07/1.422, allocations: 3.938 kB / 0.7188 GB, free: 43.14 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005796/1.422, allocations: 112 kB / 0.7189 GB, free: 43.03 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (25): * Single equations (assignments): 24 * 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.0005335/1.423, allocations: 251.6 kB / 0.7192 GB, free: 42.77 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007182/1.424, allocations: 441.7 kB / 0.7196 GB, free: 42.32 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/1.424, allocations: 4 kB / 0.7196 GB, free: 42.31 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002991/1.424, allocations: 218.8 kB / 0.7198 GB, free: 42.09 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000914/1.425, allocations: 159 kB / 0.72 GB, free: 41.93 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/1.426, allocations: 477.9 kB / 0.7204 GB, free: 41.44 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003886/1.426, allocations: 0.7687 MB / 0.7212 GB, free: 40.64 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000298/1.427, allocations: 62.94 kB / 0.7212 GB, free: 40.58 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.159e-05/1.427, allocations: 27.44 kB / 0.7213 GB, free: 40.55 MB / 362.7 MB Notification: Performance of SimCode: time 7.11e-07/1.427, allocations: 0 / 0.7213 GB, free: 40.55 MB / 362.7 MB Notification: Performance of Templates: time 0.0136/1.44, allocations: 7.536 MB / 0.7286 GB, free: 33.02 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe 2>&1)