Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.MoistAir.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.MoistAir,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007333/0.007333, allocations: 95.97 kB / 15.73 MB, free: 6.055 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.001779/0.001779, allocations: 202.7 kB / 16.68 MB, free: 5.977 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.397/1.397, allocations: 205.1 MB / 222.5 MB, free: 4.352 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.00122/0.00122, allocations: 49.52 kB / 326.5 MB, free: 14.46 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08769/0.08892, allocations: 46.62 MB / 373.1 MB, free: 1.324 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.408/0.4969, allocations: 152.7 MB / 0.5135 GB, free: 3.371 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008942/0.4979, allocations: 0.5966 MB / 0.5141 GB, free: 3.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.387e-05/0.498, allocations: 3.938 kB / 0.5141 GB, free: 3.016 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003869/0.4984, allocations: 62.23 kB / 0.5142 GB, free: 2.973 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003852/0.4988, allocations: 150.8 kB / 0.5143 GB, free: 2.875 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004398/0.5032, allocations: 1.098 MB / 0.5154 GB, free: 2.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004058/0.5036, allocations: 322.2 kB / 0.5157 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.699e-05/0.5037, allocations: 9.234 kB / 0.5157 GB, free: 2.156 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002427/0.504, allocations: 149.6 kB / 0.5159 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000218/0.5042, allocations: 121.3 kB / 0.516 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.36e-05/0.5042, allocations: 13.03 kB / 0.516 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00258/0.5068, allocations: 1.618 MB / 0.5176 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.5069, allocations: 70.38 kB / 0.5176 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.507, allocations: 91.98 kB / 0.5177 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001581/0.5086, allocations: 1.008 MB / 0.5187 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.5087, allocations: 3.938 kB / 0.5187 GB, free: 0.793 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.5087, allocations: 0 / 0.5187 GB, free: 0.793 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.5087, allocations: 0 / 0.5187 GB, free: 0.793 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001659/0.5103, allocations: 0.6817 MB / 0.5194 GB, free: 212 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.5104, allocations: 13.44 kB / 0.5194 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001413/0.5105, allocations: 22.88 kB / 0.5194 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002571/0.5108, allocations: 217.9 kB / 0.5196 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.5108, allocations: 9.047 kB / 0.5196 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.419e-05/0.5109, allocations: 20.72 kB / 0.5196 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005468/0.5114, allocations: 255.9 kB / 0.5199 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.5114, allocations: 4 kB / 0.5199 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.989e-05/0.5115, allocations: 7.781 kB / 0.5199 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.864e-05/0.5115, allocations: 9.812 kB / 0.5199 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006426/0.5122, allocations: 264.8 kB / 0.5202 GB, free: 15.64 MB / 414.1 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.001406/0.5136, allocations: 0.7982 MB / 0.5209 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006241/0.5142, allocations: 221.6 kB / 0.5212 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003164/0.5145, allocations: 140.7 kB / 0.5213 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003192/0.5149, allocations: 357.1 kB / 0.5216 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.5149, allocations: 33.06 kB / 0.5217 GB, free: 14.27 MB / 414.1 MB Notification: Performance of pre-optimization done (n=29): time 1.553e-06/0.5149, allocations: 0 / 0.5217 GB, free: 14.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.002457/0.5174, allocations: 0.6745 MB / 0.5223 GB, free: 13.87 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.421e-05/0.5174, allocations: 81.11 kB / 0.5224 GB, free: 13.77 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.716e-05/0.5175, allocations: 127.6 kB / 0.5225 GB, free: 13.64 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.376e-05/0.5176, allocations: 33.7 kB / 0.5225 GB, free: 13.6 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.742e-05/0.5177, allocations: 112.9 kB / 0.5227 GB, free: 13.49 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.653e-05/0.5178, allocations: 126.9 kB / 0.5228 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/0.5179, allocations: 69.64 kB / 0.5228 GB, free: 13.29 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.5181, allocations: 326.8 kB / 0.5232 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003936/0.5185, allocations: 131.9 kB / 0.5233 GB, free: 12.83 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004248/0.5189, allocations: 207.5 kB / 0.5235 GB, free: 12.6 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008131/0.5197, allocations: 359.4 kB / 0.5238 GB, free: 12.22 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.5198, allocations: 0 / 0.5238 GB, free: 12.22 MB / 414.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009775/0.5207, allocations: 413.3 kB / 0.5242 GB, free: 11.81 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.5208, allocations: 4 kB / 0.5242 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.405e-06/0.5208, allocations: 7.875 kB / 0.5242 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/0.5208, allocations: 7.984 kB / 0.5242 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004794/0.5213, allocations: 87.83 kB / 0.5243 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.5213, allocations: 8.828 kB / 0.5243 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003052/0.5216, allocations: 28.14 kB / 0.5244 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.012e-05/0.5217, allocations: 15.98 kB / 0.5244 GB, free: 11.66 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001416/0.5218, allocations: 145.7 kB / 0.5245 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.678e-05/0.5219, allocations: 19.91 kB / 0.5245 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003691/0.5223, allocations: 181 kB / 0.5247 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.5223, allocations: 4 kB / 0.5247 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.5223, allocations: 0 / 0.5247 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.475e-05/0.5223, allocations: 7.984 kB / 0.5247 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001619/0.5239, allocations: 0.7636 MB / 0.5255 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.524, allocations: 0 / 0.5255 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004361/0.5244, allocations: 79.83 kB / 0.5255 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.5244, allocations: 7.938 kB / 0.5255 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.967e-05/0.5245, allocations: 15.98 kB / 0.5256 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.5245, allocations: 4 kB / 0.5256 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.5245, allocations: 0 / 0.5256 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001387/0.5259, allocations: 0.7072 MB / 0.5263 GB, free: 9.625 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001264/0.526, allocations: 117 kB / 0.5264 GB, free: 9.492 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.538e-05/0.5261, allocations: 15.92 kB / 0.5264 GB, free: 9.477 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003541/0.5264, allocations: 19.98 kB / 0.5264 GB, free: 9.457 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.976e-05/0.5265, allocations: 28.03 kB / 0.5264 GB, free: 9.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.258e-05/0.5265, allocations: 15.98 kB / 0.5264 GB, free: 9.414 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.616e-05/0.5266, allocations: 95.27 kB / 0.5265 GB, free: 9.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5266, allocations: 0 / 0.5265 GB, free: 9.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005723/0.5272, allocations: 143.7 kB / 0.5267 GB, free: 9.18 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,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 (38): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004509/0.5276, allocations: 238.7 kB / 0.5269 GB, free: 8.938 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008986/0.5285, allocations: 344.2 kB / 0.5272 GB, free: 8.602 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.5286, allocations: 0 / 0.5272 GB, free: 8.602 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000428/0.529, allocations: 185.2 kB / 0.5274 GB, free: 8.422 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006982/0.5297, allocations: 98.2 kB / 0.5275 GB, free: 8.332 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001511/0.5312, allocations: 0.6104 MB / 0.5281 GB, free: 7.68 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002945/0.5315, allocations: 0.7377 MB / 0.5288 GB, free: 6.914 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003376/0.5319, allocations: 77.88 kB / 0.5289 GB, free: 6.836 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001291/0.532, allocations: 35.42 kB / 0.5289 GB, free: 6.805 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.532, allocations: 0 / 0.5289 GB, free: 6.805 MB / 414.1 MB Notification: Performance of Templates: time 0.01015/0.5422, allocations: 6.113 MB / 0.5349 GB, free: 0.6836 MB / 414.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.MoistAir.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.MoistAir.sim & ./Modelica_3.1_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.MoistAir.pipe 2>&1)