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.01101/0.01101, allocations: 165.5 kB / 15.11 MB, free: 5.973 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.673/1.673, allocations: 170.8 MB / 186.6 MB, free: 0.9922 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.001916/0.001915, allocations: 114.6 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004418/0.0004415, allocations: 11.94 kB / 274.1 MB, free: 10.05 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2423/0.2428, allocations: 38.76 MB / 312.9 MB, free: 38.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7776/1.02, allocations: 328.6 MB / 0.6265 GB, free: 72.77 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002953/1.021, allocations: 91.94 kB / 0.6266 GB, free: 72.68 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4121/1.433, allocations: 87.56 MB / 0.7121 GB, free: 111.7 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.204e-06/1.433, allocations: 0 / 0.7121 GB, free: 111.7 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.995e-05/1.433, allocations: 7.062 kB / 0.7121 GB, free: 111.7 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.0008256/1.434, allocations: 0.5555 MB / 0.7126 GB, free: 111.3 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/1.434, allocations: 11.06 kB / 0.7127 GB, free: 111.3 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002914/1.434, allocations: 41.88 kB / 0.7127 GB, free: 111.3 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003826/1.435, allocations: 281.8 kB / 0.713 GB, free: 111.1 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/1.435, allocations: 19.8 kB / 0.713 GB, free: 111.1 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.632e-05/1.435, allocations: 28.38 kB / 0.713 GB, free: 111.1 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000457/1.435, allocations: 294.3 kB / 0.7133 GB, free: 111 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/1.435, allocations: 3.875 kB / 0.7133 GB, free: 111 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.681e-05/1.435, allocations: 14.34 kB / 0.7133 GB, free: 111 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-06/1.435, allocations: 7.656 kB / 0.7133 GB, free: 111 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002872/1.436, allocations: 201.5 kB / 0.7135 GB, free: 111 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001522/1.437, allocations: 1.292 MB / 0.7148 GB, free: 110.1 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003606/1.437, allocations: 186 kB / 0.715 GB, free: 110.1 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001363/1.438, allocations: 168.9 kB / 0.7151 GB, free: 109.9 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/1.438, allocations: 37.84 kB / 0.7151 GB, free: 109.9 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 2.314e-06/1.438, allocations: 3.656 kB / 0.7152 GB, free: 109.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.002328/1.44, allocations: 1.042 MB / 0.7162 GB, free: 109.4 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/1.44, allocations: 60.12 kB / 0.7162 GB, free: 109.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002102/1.44, allocations: 230.3 kB / 0.7164 GB, free: 109.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/1.44, allocations: 31.77 kB / 0.7165 GB, free: 109.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.294e-05/1.44, allocations: 176.8 kB / 0.7166 GB, free: 109 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.981e-05/1.44, allocations: 95.03 kB / 0.7167 GB, free: 109 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.199e-05/1.44, allocations: 7.375 kB / 0.7167 GB, free: 109 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.093e-05/1.441, allocations: 338.2 kB / 0.7171 GB, free: 108.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/1.441, allocations: 83.41 kB / 0.7171 GB, free: 108.7 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001572/1.441, allocations: 183.4 kB / 0.7173 GB, free: 108.6 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/1.441, allocations: 110.3 kB / 0.7174 GB, free: 108.6 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/1.441, allocations: 0 / 0.7174 GB, free: 108.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005252/1.442, allocations: 438.1 kB / 0.7178 GB, free: 108.4 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/1.442, allocations: 9.25 kB / 0.7179 GB, free: 108.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/1.442, allocations: 6.031 kB / 0.7179 GB, free: 108.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001487/1.442, allocations: 46.88 kB / 0.7179 GB, free: 108.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003027/1.442, allocations: 71.75 kB / 0.718 GB, free: 108.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001407/1.443, allocations: 2.575 MB / 0.7205 GB, free: 105.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002181/1.444, allocations: 23.98 kB / 0.7205 GB, free: 105.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.087e-05/1.444, allocations: 15.19 kB / 0.7205 GB, free: 105.9 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001527/1.444, allocations: 155.8 kB / 0.7207 GB, free: 105.8 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.402e-05/1.444, allocations: 27.34 kB / 0.7207 GB, free: 105.7 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004745/1.444, allocations: 364.5 kB / 0.721 GB, free: 105.6 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/1.444, allocations: 9.75 kB / 0.7211 GB, free: 105.6 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/1.444, allocations: 0 / 0.7211 GB, free: 105.6 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004197/1.445, allocations: 0.6186 MB / 0.7217 GB, free: 105 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000806/1.446, allocations: 0.7515 MB / 0.7224 GB, free: 104.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/1.446, allocations: 0 / 0.7224 GB, free: 104.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002846/1.446, allocations: 62.67 kB / 0.7225 GB, free: 104.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.2e-05/1.446, allocations: 29.75 kB / 0.7225 GB, free: 104.6 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.881e-05/1.446, allocations: 6.156 kB / 0.7225 GB, free: 104.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006197/1.447, allocations: 1.283 MB / 0.7237 GB, free: 103.4 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/1.447, allocations: 0 / 0.7237 GB, free: 103.4 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005192/1.447, allocations: 0.5246 MB / 0.7243 GB, free: 103.1 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.806e-05/1.447, allocations: 96.64 kB / 0.7243 GB, free: 103 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.595e-05/1.447, allocations: 7.625 kB / 0.7244 GB, free: 103 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002515/1.448, allocations: 15.53 kB / 0.7244 GB, free: 103 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.5e-05/1.448, allocations: 29.67 kB / 0.7244 GB, free: 103 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.678e-05/1.448, allocations: 11.61 kB / 0.7244 GB, free: 103 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001548/1.448, allocations: 183.2 kB / 0.7246 GB, free: 102.9 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.61e-07/1.448, allocations: 0 / 0.7246 GB, free: 102.9 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005114/1.448, allocations: 126.7 kB / 0.7247 GB, free: 102.9 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 () * Number of clocked 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.0004039/1.449, allocations: 237.4 kB / 0.7249 GB, free: 102.8 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005794/1.449, allocations: 451.3 kB / 0.7254 GB, free: 102.6 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/1.449, allocations: 0 / 0.7254 GB, free: 102.6 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002437/1.45, allocations: 222.5 kB / 0.7256 GB, free: 102.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007786/1.45, allocations: 157.7 kB / 0.7257 GB, free: 102.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/1.452, allocations: 0.7912 MB / 0.7265 GB, free: 102.1 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000254/1.452, allocations: 0.7682 MB / 0.7272 GB, free: 101.4 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002768/1.452, allocations: 60.5 kB / 0.7273 GB, free: 101.4 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.707e-05/1.452, allocations: 37.39 kB / 0.7273 GB, free: 101.4 MB / 362.7 MB Notification: Performance of SimCode: time 3.71e-07/1.452, allocations: 0 / 0.7273 GB, free: 101.4 MB / 362.7 MB Notification: Performance of Templates: time 0.01183/1.464, allocations: 7.248 MB / 0.7344 GB, free: 100.9 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)