Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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.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.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005445/0.005445, allocations: 100.1 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 197.3 kB / 16.68 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.374/1.374, allocations: 205.1 MB / 222.5 MB, free: 4.527 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 49.61 kB / 326.6 MB, free: 14.46 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08567/0.087, allocations: 46.63 MB / 373.2 MB, free: 1.391 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.3896/0.4767, allocations: 144 MB / 0.5051 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00255/0.4793, allocations: 1.726 MB / 0.5068 GB, free: 9.473 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001735/0.4795, allocations: 8.75 kB / 0.5068 GB, free: 9.469 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000648/0.4802, allocations: 182.2 kB / 0.507 GB, free: 9.348 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006072/0.4808, allocations: 328.2 kB / 0.5073 GB, free: 9.121 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009865/0.4818, allocations: 416.8 kB / 0.5077 GB, free: 8.934 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007512/0.4826, allocations: 0.8427 MB / 0.5085 GB, free: 8.547 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002037/0.4828, allocations: 97.8 kB / 0.5086 GB, free: 8.496 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005624/0.4833, allocations: 402.5 kB / 0.509 GB, free: 8.281 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003858/0.4837, allocations: 322.4 kB / 0.5093 GB, free: 8.109 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.538e-05/0.4838, allocations: 30.59 kB / 0.5093 GB, free: 8.109 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002895/0.4841, allocations: 150.7 kB / 0.5095 GB, free: 8.043 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001746/0.4843, allocations: 90.19 kB / 0.5095 GB, free: 7.977 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002227/0.4845, allocations: 184.7 kB / 0.5097 GB, free: 7.871 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005371/0.485, allocations: 499 kB / 0.5102 GB, free: 7.543 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.4851, allocations: 1.5 kB / 0.5102 GB, free: 7.543 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4851, allocations: 0 / 0.5102 GB, free: 7.543 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.154e-06/0.4851, allocations: 0 / 0.5102 GB, free: 7.543 MB / 398.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.0008203/0.4859, allocations: 0.5866 MB / 0.5108 GB, free: 7.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.486, allocations: 13.38 kB / 0.5108 GB, free: 7.016 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002922/0.4863, allocations: 47.64 kB / 0.5108 GB, free: 6.992 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004349/0.4867, allocations: 281.6 kB / 0.5111 GB, free: 6.715 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.4867, allocations: 26.11 kB / 0.5111 GB, free: 6.703 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.434e-05/0.4868, allocations: 27.44 kB / 0.5111 GB, free: 6.691 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004533/0.4872, allocations: 302.7 kB / 0.5114 GB, free: 6.484 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.4873, allocations: 2.469 kB / 0.5114 GB, free: 6.484 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.558e-05/0.4873, allocations: 10.41 kB / 0.5114 GB, free: 6.477 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.4873, allocations: 7.906 kB / 0.5115 GB, free: 6.477 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000296/0.4876, allocations: 206.4 kB / 0.5117 GB, free: 6.383 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001656/0.4893, allocations: 1.287 MB / 0.5129 GB, free: 5.164 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003631/0.4896, allocations: 200.4 kB / 0.5131 GB, free: 5.051 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000138/0.4898, allocations: 94.28 kB / 0.5132 GB, free: 5 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000153/0.49, allocations: 167.8 kB / 0.5133 GB, free: 4.809 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.49, allocations: 37.33 kB / 0.5134 GB, free: 4.766 MB / 398.1 MB Notification: Performance of pre-optimization done (n=21): time 1.573e-06/0.49, allocations: 0 / 0.5134 GB, free: 4.766 MB / 398.1 MB Notification: Performance of matching and sorting (n=26): time 0.002389/0.4924, allocations: 1.029 MB / 0.5144 GB, free: 3.977 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.4924, allocations: 54.72 kB / 0.5144 GB, free: 3.914 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002387/0.4927, allocations: 263 kB / 0.5147 GB, free: 3.73 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.353e-05/0.4927, allocations: 29.7 kB / 0.5147 GB, free: 3.695 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.4929, allocations: 183.9 kB / 0.5149 GB, free: 3.527 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.277e-05/0.4929, allocations: 96.81 kB / 0.515 GB, free: 3.441 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.561e-05/0.493, allocations: 62.53 kB / 0.515 GB, free: 3.398 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.4931, allocations: 338.5 kB / 0.5154 GB, free: 3.066 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.4933, allocations: 80.03 kB / 0.5154 GB, free: 3.027 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001979/0.4935, allocations: 183.2 kB / 0.5156 GB, free: 2.859 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003468/0.4938, allocations: 286.8 kB / 0.5159 GB, free: 2.637 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4938, allocations: 0 / 0.5159 GB, free: 2.637 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000584/0.4944, allocations: 440.3 kB / 0.5163 GB, free: 2.34 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.4945, allocations: 16.39 kB / 0.5163 GB, free: 2.332 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.4945, allocations: 2.938 kB / 0.5163 GB, free: 2.332 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001669/0.4947, allocations: 40.98 kB / 0.5164 GB, free: 2.305 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003088/0.495, allocations: 76.78 kB / 0.5164 GB, free: 2.289 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002148/0.4971, allocations: 2.763 MB / 0.5191 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000221/0.4974, allocations: 8.719 kB / 0.5192 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.053e-05/0.4974, allocations: 17.72 kB / 0.5192 GB, free: 15.39 MB / 414.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 () * 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002041/0.4976, allocations: 168.9 kB / 0.5193 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.3e-05/0.4977, allocations: 27 kB / 0.5194 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005554/0.4983, allocations: 362.4 kB / 0.5197 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.4983, allocations: 2 kB / 0.5197 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.4983, allocations: 2.531 kB / 0.5197 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005657/0.4989, allocations: 0.6192 MB / 0.5203 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009518/0.4998, allocations: 0.7592 MB / 0.5211 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.4999, allocations: 6.078 kB / 0.5211 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002671/0.5001, allocations: 48.5 kB / 0.5211 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.841e-05/0.5002, allocations: 26.44 kB / 0.5211 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.991e-05/0.5003, allocations: 6.75 kB / 0.5211 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008962/0.5012, allocations: 1.382 MB / 0.5225 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.5012, allocations: 0 / 0.5225 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005729/0.5018, allocations: 0.5104 MB / 0.523 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.833e-05/0.5018, allocations: 100.7 kB / 0.5231 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.221e-05/0.5019, allocations: 14.48 kB / 0.5231 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002294/0.5021, allocations: 13.06 kB / 0.5231 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.329e-05/0.5022, allocations: 19.03 kB / 0.5231 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.714e-05/0.5022, allocations: 11.86 kB / 0.5231 GB, free: 11.62 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001804/0.5024, allocations: 189.3 kB / 0.5233 GB, free: 11.49 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5024, allocations: 0 / 0.5233 GB, free: 11.49 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004575/0.5029, allocations: 104.3 kB / 0.5234 GB, free: 11.47 MB / 414.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002852/0.5031, allocations: 140.9 kB / 0.5236 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007561/0.5039, allocations: 450.8 kB / 0.524 GB, free: 11.03 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.5039, allocations: 6.156 kB / 0.524 GB, free: 11.03 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002953/0.5042, allocations: 216.2 kB / 0.5242 GB, free: 10.87 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009255/0.5052, allocations: 158 kB / 0.5243 GB, free: 10.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.5064, allocations: 0.6788 MB / 0.525 GB, free: 10.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003387/0.5067, allocations: 0.7606 MB / 0.5257 GB, free: 9.371 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002378/0.507, allocations: 54.89 kB / 0.5258 GB, free: 9.312 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.491e-05/0.507, allocations: 31.42 kB / 0.5258 GB, free: 9.281 MB / 414.1 MB Notification: Performance of SimCode: time 6.71e-07/0.507, allocations: 0 / 0.5258 GB, free: 9.281 MB / 414.1 MB Notification: Performance of Templates: time 0.0116/0.5187, allocations: 6.221 MB / 0.5319 GB, free: 3.051 MB / 414.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.sim & ./Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe 2>&1)