Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.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.Tests.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_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.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00115/0.00115, allocations: 192.7 kB / 16.13 MB, free: 6.707 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.389/1.389, allocations: 205.1 MB / 222 MB, free: 4.77 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.001152/0.001152, allocations: 59.91 kB / 278.1 MB, free: 12.76 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.2519, allocations: 46.63 MB / 324.7 MB, free: 1.926 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.4626/0.7146, allocations: 185.3 MB / 0.498 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006111/0.7207, allocations: 4.878 MB / 0.5028 GB, free: 9.672 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002493/0.721, allocations: 6.359 kB / 0.5028 GB, free: 9.672 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008568/0.722, allocations: 217.9 kB / 0.503 GB, free: 9.559 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000623/0.7226, allocations: 371 kB / 0.5034 GB, free: 9.371 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008957/0.7316, allocations: 2.522 MB / 0.5058 GB, free: 8.441 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002345/0.734, allocations: 1.667 MB / 0.5074 GB, free: 7.934 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003251/0.7343, allocations: 115.9 kB / 0.5076 GB, free: 7.895 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004864/0.7392, allocations: 1.289 MB / 0.5088 GB, free: 7.477 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000791/0.74, allocations: 435.4 kB / 0.5092 GB, free: 7.375 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.591e-05/0.7401, allocations: 33.97 kB / 0.5093 GB, free: 7.371 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009547/0.7496, allocations: 4.299 MB / 0.5135 GB, free: 6.152 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005147/0.7502, allocations: 199.2 kB / 0.5136 GB, free: 6.086 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006242/0.7508, allocations: 287.2 kB / 0.5139 GB, free: 6.055 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008853/0.7597, allocations: 2.966 MB / 0.5168 GB, free: 4.637 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.7598, allocations: 0 / 0.5168 GB, free: 4.637 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.7598, allocations: 0 / 0.5168 GB, free: 4.637 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.918e-06/0.7598, allocations: 0 / 0.5168 GB, free: 4.637 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.003222/0.763, allocations: 1.148 MB / 0.5179 GB, free: 3.703 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/0.7631, allocations: 8.031 kB / 0.5179 GB, free: 3.695 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003945/0.7635, allocations: 55.52 kB / 0.518 GB, free: 3.641 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005175/0.764, allocations: 371.9 kB / 0.5184 GB, free: 3.238 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.694e-05/0.7641, allocations: 36.94 kB / 0.5184 GB, free: 3.199 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.597e-05/0.7641, allocations: 44 kB / 0.5184 GB, free: 3.156 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009528/0.7651, allocations: 0.5062 MB / 0.5189 GB, free: 2.645 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/0.7651, allocations: 0 / 0.5189 GB, free: 2.645 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.428e-05/0.7652, allocations: 16 kB / 0.5189 GB, free: 2.629 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.56e-05/0.7652, allocations: 12 kB / 0.519 GB, free: 2.617 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/0.7663, allocations: 0.5973 MB / 0.5195 GB, free: 2.023 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003577/0.7699, allocations: 2.175 MB / 0.5217 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001194/0.7711, allocations: 0.552 MB / 0.5222 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003777/0.7715, allocations: 261.9 kB / 0.5225 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005728/0.772, allocations: 0.6976 MB / 0.5231 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.19e-05/0.7721, allocations: 43 kB / 0.5232 GB, free: 13.94 MB / 414.1 MB Notification: Performance of pre-optimization done (n=53): time 2.414e-06/0.7721, allocations: 0 / 0.5232 GB, free: 13.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=65): time 0.01564/0.7877, allocations: 3.644 MB / 0.5267 GB, free: 10.21 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/0.7878, allocations: 59.97 kB / 0.5268 GB, free: 10.14 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004254/0.7883, allocations: 298.7 kB / 0.5271 GB, free: 9.836 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000126/0.7884, allocations: 37.7 kB / 0.5271 GB, free: 9.793 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00017/0.7886, allocations: 193.2 kB / 0.5273 GB, free: 9.602 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002098/0.7888, allocations: 234.3 kB / 0.5275 GB, free: 9.375 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002263/0.789, allocations: 110.3 kB / 0.5276 GB, free: 9.262 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.7892, allocations: 354.8 kB / 0.528 GB, free: 8.906 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008042/0.79, allocations: 313.1 kB / 0.5283 GB, free: 8.598 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008712/0.7909, allocations: 388.2 kB / 0.5286 GB, free: 8.203 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001867/0.7928, allocations: 0.7086 MB / 0.5293 GB, free: 7.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.7928, allocations: 0 / 0.5293 GB, free: 7.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002536/0.7953, allocations: 0.9639 MB / 0.5303 GB, free: 6.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.051e-05/0.7954, allocations: 4.625 kB / 0.5303 GB, free: 6.496 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/0.7954, allocations: 8.094 kB / 0.5303 GB, free: 6.488 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001628/0.797, allocations: 333.2 kB / 0.5306 GB, free: 6.156 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000627/0.7977, allocations: 127.8 kB / 0.5307 GB, free: 6.031 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00388/0.8016, allocations: 3.503 MB / 0.5341 GB, free: 2.234 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007639/0.8024, allocations: 63.95 kB / 0.5342 GB, free: 2.172 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.087e-05/0.8025, allocations: 23.98 kB / 0.5342 GB, free: 2.148 MB / 414.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,6), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003611/0.8028, allocations: 193.7 kB / 0.5344 GB, free: 1.949 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001892/0.803, allocations: 47.47 kB / 0.5344 GB, free: 1.902 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002707/0.8057, allocations: 1.019 MB / 0.5354 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.288e-06/0.8058, allocations: 8 kB / 0.5355 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.84e-06/0.8058, allocations: 0 / 0.5355 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002166/0.8079, allocations: 1.075 MB / 0.5365 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003266/0.8112, allocations: 1.694 MB / 0.5382 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.8112, allocations: 0 / 0.5382 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005613/0.8118, allocations: 111.8 kB / 0.5383 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001837/0.8137, allocations: 378.3 kB / 0.5386 GB, free: 13.49 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.974e-05/0.8137, allocations: 27.92 kB / 0.5386 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001492/0.8152, allocations: 0.8632 MB / 0.5395 GB, free: 12.58 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.8153, allocations: 4.062 kB / 0.5395 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003091/0.8184, allocations: 1.348 MB / 0.5408 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00022/0.8186, allocations: 108.6 kB / 0.5409 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001217/0.8187, allocations: 27.92 kB / 0.5409 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008202/0.8196, allocations: 55.86 kB / 0.541 GB, free: 10.99 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.8197, allocations: 44.5 kB / 0.541 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-05/0.8198, allocations: 39.91 kB / 0.5411 GB, free: 10.91 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002809/0.8201, allocations: 217.9 kB / 0.5413 GB, free: 10.7 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.8201, allocations: 0 / 0.5413 GB, free: 10.7 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002056/0.8221, allocations: 459.6 kB / 0.5417 GB, free: 10.25 MB / 430.1 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 () * Number of clocked 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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001954/0.8241, allocations: 0.5706 MB / 0.5423 GB, free: 9.699 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002313/0.8264, allocations: 0.9897 MB / 0.5432 GB, free: 8.688 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.461e-06/0.8264, allocations: 3.938 kB / 0.5433 GB, free: 8.684 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001013/0.8275, allocations: 419.1 kB / 0.5437 GB, free: 8.27 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001577/0.8291, allocations: 304.4 kB / 0.5439 GB, free: 7.973 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003327/0.8324, allocations: 1.477 MB / 0.5454 GB, free: 6.48 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000481/0.8329, allocations: 0.8532 MB / 0.5462 GB, free: 5.594 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006853/0.8336, allocations: 128.6 kB / 0.5463 GB, free: 5.465 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000195/0.8338, allocations: 59.41 kB / 0.5464 GB, free: 5.406 MB / 430.1 MB Notification: Performance of SimCode: time 4.31e-07/0.8338, allocations: 3.938 kB / 0.5464 GB, free: 5.402 MB / 430.1 MB Notification: Performance of Templates: time 0.03507/0.8689, allocations: 21.27 MB / 0.5672 GB, free: 124 kB / 446.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.sim & ./Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe 2>&1)