Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.004804/0.004804, allocations: 100.9 kB / 15.73 MB, free: 6.043 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.001102/0.001102, allocations: 190 kB / 16.67 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.356/1.356, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.001202/0.001202, allocations: 49.52 kB / 326.5 MB, free: 14.37 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09663/0.09785, allocations: 46.63 MB / 373.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3746/0.4725, allocations: 152.7 MB / 0.5135 GB, free: 3.375 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009775/0.4736, allocations: 0.5957 MB / 0.5141 GB, free: 3.023 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.693e-05/0.4736, allocations: 2.406 kB / 0.5141 GB, free: 3.023 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004237/0.4741, allocations: 59.25 kB / 0.5142 GB, free: 2.984 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004532/0.4746, allocations: 156.6 kB / 0.5143 GB, free: 2.879 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003302/0.4779, allocations: 1.088 MB / 0.5154 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004779/0.4784, allocations: 329.8 kB / 0.5157 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.404e-05/0.4785, allocations: 6.578 kB / 0.5157 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000275/0.4787, allocations: 149.1 kB / 0.5158 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000246/0.479, allocations: 124.4 kB / 0.516 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.394e-05/0.4791, allocations: 12.88 kB / 0.516 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003049/0.4821, allocations: 1.618 MB / 0.5176 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001198/0.4823, allocations: 74.45 kB / 0.5176 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001384/0.4824, allocations: 88.66 kB / 0.5177 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002005/0.4844, allocations: 1.001 MB / 0.5187 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.4845, allocations: 0 / 0.5187 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.4845, allocations: 3.188 kB / 0.5187 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.4845, allocations: 0 / 0.5187 GB, free: 0.8398 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.001827/0.4863, allocations: 0.6812 MB / 0.5194 GB, free: 260 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.4864, allocations: 10.25 kB / 0.5194 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001585/0.4865, allocations: 24.92 kB / 0.5194 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002801/0.4868, allocations: 207.1 kB / 0.5196 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.4868, allocations: 12.23 kB / 0.5196 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.934e-05/0.4869, allocations: 13.44 kB / 0.5196 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006214/0.4875, allocations: 263.7 kB / 0.5199 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.4876, allocations: 2.469 kB / 0.5199 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.786e-05/0.4876, allocations: 14.17 kB / 0.5199 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.217e-05/0.4876, allocations: 5.656 kB / 0.5199 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006361/0.4883, allocations: 268.2 kB / 0.5201 GB, free: 15.7 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.001477/0.4898, allocations: 0.794 MB / 0.5209 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006305/0.4904, allocations: 220.2 kB / 0.5211 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003172/0.4907, allocations: 139.4 kB / 0.5213 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003542/0.4911, allocations: 361.3 kB / 0.5216 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.864e-05/0.4911, allocations: 41 kB / 0.5216 GB, free: 14.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=29): time 1.804e-06/0.4911, allocations: 0 / 0.5216 GB, free: 14.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.002473/0.4936, allocations: 0.6727 MB / 0.5223 GB, free: 13.86 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.871e-05/0.4937, allocations: 81.11 kB / 0.5224 GB, free: 13.76 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.4938, allocations: 117.8 kB / 0.5225 GB, free: 13.63 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.532e-05/0.4938, allocations: 33.7 kB / 0.5225 GB, free: 13.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.792e-05/0.4939, allocations: 112.2 kB / 0.5226 GB, free: 13.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/0.494, allocations: 130.1 kB / 0.5228 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.4941, allocations: 65.69 kB / 0.5228 GB, free: 13.29 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.4943, allocations: 322.8 kB / 0.5231 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003864/0.4947, allocations: 139.8 kB / 0.5233 GB, free: 12.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004541/0.4951, allocations: 203.6 kB / 0.5235 GB, free: 12.6 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008555/0.496, allocations: 363.4 kB / 0.5238 GB, free: 12.21 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.496, allocations: 0 / 0.5238 GB, free: 12.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001091/0.4971, allocations: 405.2 kB / 0.5242 GB, free: 11.81 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/0.4971, allocations: 8 kB / 0.5242 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.4972, allocations: 3.938 kB / 0.5242 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.585e-05/0.4972, allocations: 4 kB / 0.5242 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005486/0.4977, allocations: 88.09 kB / 0.5243 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/0.4978, allocations: 8 kB / 0.5243 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003296/0.4981, allocations: 23.89 kB / 0.5243 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-05/0.4982, allocations: 19.98 kB / 0.5243 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.0001837/0.4983, allocations: 145.7 kB / 0.5245 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.307e-05/0.4984, allocations: 19.8 kB / 0.5245 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004028/0.4988, allocations: 178.2 kB / 0.5247 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.4989, allocations: 4 kB / 0.5247 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.4989, allocations: 0 / 0.5247 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.4989, allocations: 3.984 kB / 0.5247 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001781/0.5007, allocations: 0.7676 MB / 0.5254 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.5007, allocations: 0 / 0.5254 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004553/0.5012, allocations: 83.75 kB / 0.5255 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.304e-06/0.5012, allocations: 4 kB / 0.5255 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.391e-05/0.5012, allocations: 12 kB / 0.5255 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.67e-06/0.5012, allocations: 4 kB / 0.5255 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.5012, allocations: 8.156 kB / 0.5255 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00141/0.5026, allocations: 0.6993 MB / 0.5262 GB, free: 9.625 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001436/0.5028, allocations: 133.8 kB / 0.5263 GB, free: 9.477 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.173e-05/0.5029, allocations: 12.06 kB / 0.5263 GB, free: 9.465 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003779/0.5032, allocations: 15.98 kB / 0.5264 GB, free: 9.449 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.232e-05/0.5033, allocations: 23.97 kB / 0.5264 GB, free: 9.426 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.333e-05/0.5033, allocations: 19.98 kB / 0.5264 GB, free: 9.406 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.919e-05/0.5034, allocations: 95.58 kB / 0.5265 GB, free: 9.312 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5034, allocations: 0 / 0.5265 GB, free: 9.312 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000617/0.504, allocations: 139.9 kB / 0.5266 GB, free: 9.176 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.0004822/0.5045, allocations: 239 kB / 0.5269 GB, free: 8.934 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009166/0.5054, allocations: 348 kB / 0.5272 GB, free: 8.594 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.5055, allocations: 4 kB / 0.5272 GB, free: 8.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004171/0.5059, allocations: 179.8 kB / 0.5274 GB, free: 8.414 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007467/0.5066, allocations: 102.8 kB / 0.5275 GB, free: 8.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001538/0.5082, allocations: 0.6149 MB / 0.5281 GB, free: 7.664 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003416/0.5085, allocations: 0.7338 MB / 0.5288 GB, free: 6.902 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003443/0.5089, allocations: 73.89 kB / 0.5288 GB, free: 6.828 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/0.509, allocations: 35.42 kB / 0.5289 GB, free: 6.797 MB / 414.1 MB Notification: Performance of SimCode: time 3.8e-07/0.509, allocations: 4 kB / 0.5289 GB, free: 6.793 MB / 414.1 MB Notification: Performance of Templates: time 0.01074/0.5198, allocations: 6.11 MB / 0.5349 GB, free: 0.6719 MB / 414.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.MoistAir.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.MoistAir.sim & ./Modelica_3.2.1_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.MoistAir.pipe 2>&1)