Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.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.Air.MoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001157/0.001157, allocations: 182.6 kB / 13.64 MB, free: 1.676 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.736/1.736, allocations: 194.3 MB / 208.4 MB, free: 6.703 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.001625/0.001625, allocations: 116.7 kB / 253.5 MB, free: 9.57 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.945e-05/2.947e-05, allocations: 4 kB / 305 MB, free: 29.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08944/0.08949, allocations: 44.5 MB / 349.5 MB, free: 1.238 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.711/7.8, allocations: 3.617 GB / 3.958 GB, free: 26.94 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001903/7.8, allocations: 83.95 kB / 3.958 GB, free: 26.86 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.092/8.892, allocations: 321.8 MB / 4.272 GB, free: 31.86 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.803e-06/8.892, allocations: 0 / 4.272 GB, free: 31.86 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.243e-05/8.892, allocations: 12.38 kB / 4.272 GB, free: 31.84 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.005307/8.898, allocations: 1.552 MB / 4.274 GB, free: 30.25 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/8.898, allocations: 8.031 kB / 4.274 GB, free: 30.24 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003433/8.898, allocations: 58.89 kB / 4.274 GB, free: 30.18 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005096/8.899, allocations: 354.2 kB / 4.274 GB, free: 29.8 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.73e-05/8.899, allocations: 33 kB / 4.274 GB, free: 29.77 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.55e-05/8.899, allocations: 40 kB / 4.274 GB, free: 29.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008043/8.9, allocations: 0.4906 MB / 4.275 GB, free: 29.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/8.9, allocations: 11.89 kB / 4.275 GB, free: 29.21 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.615e-05/8.9, allocations: 20 kB / 4.275 GB, free: 29.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/8.9, allocations: 12 kB / 4.275 GB, free: 29.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007563/8.901, allocations: 0.5818 MB / 4.276 GB, free: 28.6 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002713/8.903, allocations: 2.171 MB / 4.278 GB, free: 26.21 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001/8.904, allocations: 0.5452 MB / 4.278 GB, free: 25.65 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003226/8.905, allocations: 255.2 kB / 4.278 GB, free: 25.4 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004377/8.905, allocations: 0.7048 MB / 4.279 GB, free: 24.55 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/8.905, allocations: 39 kB / 4.279 GB, free: 24.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=53): time 3.286e-06/8.905, allocations: 0 / 4.279 GB, free: 24.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=65): time 0.01203/8.917, allocations: 3.359 MB / 4.282 GB, free: 21.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/8.917, allocations: 59.97 kB / 4.282 GB, free: 21.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002739/8.917, allocations: 263.1 kB / 4.283 GB, free: 20.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.536e-05/8.918, allocations: 37.7 kB / 4.283 GB, free: 20.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.748e-05/8.918, allocations: 189.2 kB / 4.283 GB, free: 20.52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001221/8.918, allocations: 232.7 kB / 4.283 GB, free: 20.29 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.322e-05/8.918, allocations: 12 kB / 4.283 GB, free: 20.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.891e-05/8.918, allocations: 354.8 kB / 4.284 GB, free: 19.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003638/8.918, allocations: 265.5 kB / 4.284 GB, free: 19.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004365/8.919, allocations: 345.6 kB / 4.284 GB, free: 19.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004165/8.919, allocations: 314 kB / 4.284 GB, free: 19 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/8.919, allocations: 0 / 4.284 GB, free: 19 MB / 410.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001468/8.921, allocations: 0.8927 MB / 4.285 GB, free: 18.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/8.921, allocations: 8 kB / 4.285 GB, free: 18.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/8.921, allocations: 0 / 4.285 GB, free: 18.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001017/8.922, allocations: 274.3 kB / 4.286 GB, free: 17.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005235/8.922, allocations: 119.8 kB / 4.286 GB, free: 17.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002041/8.924, allocations: 3.413 MB / 4.289 GB, free: 13.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006297/8.925, allocations: 63.86 kB / 4.289 GB, free: 13.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.148e-05/8.925, allocations: 27.98 kB / 4.289 GB, free: 13.89 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 65 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 6,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000167/8.925, allocations: 132.9 kB / 4.289 GB, free: 13.76 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.646e-05/8.925, allocations: 51.5 kB / 4.289 GB, free: 13.71 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003515/8.929, allocations: 1.263 MB / 4.29 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/8.929, allocations: 8 kB / 4.29 GB, free: 12.42 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/8.929, allocations: 0 / 4.29 GB, free: 12.42 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002989/8.932, allocations: 1.301 MB / 4.292 GB, free: 11.05 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002167/8.934, allocations: 1.613 MB / 4.293 GB, free: 9.371 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/8.934, allocations: 0 / 4.293 GB, free: 9.371 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005281/8.935, allocations: 111.9 kB / 4.293 GB, free: 9.262 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001232/8.936, allocations: 304.4 kB / 4.294 GB, free: 8.961 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.855e-05/8.936, allocations: 23.98 kB / 4.294 GB, free: 8.938 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006509/8.937, allocations: 0.7748 MB / 4.294 GB, free: 8.137 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/8.937, allocations: 3.984 kB / 4.295 GB, free: 8.133 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003387/8.94, allocations: 1.53 MB / 4.296 GB, free: 6.578 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001701/8.94, allocations: 120.7 kB / 4.296 GB, free: 6.441 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.062e-05/8.94, allocations: 20 kB / 4.296 GB, free: 6.422 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006289/8.941, allocations: 55.95 kB / 4.296 GB, free: 6.367 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.589e-05/8.941, allocations: 48.45 kB / 4.296 GB, free: 6.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.431e-05/8.941, allocations: 31.97 kB / 4.296 GB, free: 6.289 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002222/8.941, allocations: 223.1 kB / 4.296 GB, free: 6.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.31e-07/8.941, allocations: 0 / 4.296 GB, free: 6.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001975/8.943, allocations: 0.5385 MB / 4.297 GB, free: 5.531 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 61 * 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: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.001938/8.945, allocations: 1.201 MB / 4.298 GB, free: 4.32 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001445/8.947, allocations: 0.9087 MB / 4.299 GB, free: 3.383 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/8.947, allocations: 3.938 kB / 4.299 GB, free: 3.379 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005971/8.947, allocations: 379.4 kB / 4.299 GB, free: 3.004 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001308/8.949, allocations: 288.5 kB / 4.3 GB, free: 2.719 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001995/8.951, allocations: 1.011 MB / 4.301 GB, free: 1.688 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002626/8.951, allocations: 0.8572 MB / 4.302 GB, free: 0.8008 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005452/8.951, allocations: 132.5 kB / 4.302 GB, free: 0.668 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000152/8.952, allocations: 55.42 kB / 4.302 GB, free: 0.6172 MB / 410.7 MB Notification: Performance of SimCode: time 4.21e-07/8.952, allocations: 0 / 4.302 GB, free: 0.6172 MB / 410.7 MB Notification: Performance of Templates: time 0.291/9.243, allocations: 32 MB / 4.333 GB, free: 57.99 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe 2>&1)