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.001487/0.001487, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.001406/0.001406, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.419/1.419, allocations: 205.4 MB / 222.1 MB, free: 5.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.000541/0.0005411, allocations: 12 kB / 278.9 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2962/0.2967, allocations: 47.58 MB / 326.5 MB, free: 1.465 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.456/0.7528, allocations: 169.7 MB / 496.2 MB, free: 1.188 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005373/0.7582, allocations: 4.444 MB / 0.4889 GB, free: 1.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005717/0.7588, allocations: 9.5 kB / 0.4889 GB, free: 1.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008792/0.7597, allocations: 169.4 kB / 0.4891 GB, free: 1.066 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001063/0.7608, allocations: 353.2 kB / 0.4894 GB, free: 1.047 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007718/0.7685, allocations: 2.164 MB / 0.4915 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001856/0.7704, allocations: 1.388 MB / 0.4929 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002825/0.7707, allocations: 109.2 kB / 0.493 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003693/0.7744, allocations: 1.2 MB / 0.4941 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001012/0.7754, allocations: 415.5 kB / 0.4945 GB, free: 0.793 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001763/0.7756, allocations: 31.75 kB / 0.4946 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008693/0.7843, allocations: 3.507 MB / 0.498 GB, free: 15.99 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004508/0.7848, allocations: 194.3 kB / 0.4982 GB, free: 15.92 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004404/0.7852, allocations: 133.3 kB / 0.4983 GB, free: 15.88 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004647/0.7899, allocations: 1.894 MB / 0.5002 GB, free: 15.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.7899, allocations: 0 / 0.5002 GB, free: 15.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.7899, allocations: 0 / 0.5002 GB, free: 15.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.366e-05/0.79, allocations: 0 / 0.5002 GB, free: 15.07 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.002853/0.7928, allocations: 1.031 MB / 0.5012 GB, free: 14.3 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.7929, allocations: 10.81 kB / 0.5012 GB, free: 14.3 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004371/0.7933, allocations: 63.56 kB / 0.5012 GB, free: 14.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006834/0.794, allocations: 358.5 kB / 0.5016 GB, free: 14 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.78e-05/0.7941, allocations: 33 kB / 0.5016 GB, free: 14 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.7942, allocations: 46.41 kB / 0.5017 GB, free: 13.99 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.7952, allocations: 0.4989 MB / 0.5021 GB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.389e-05/0.7953, allocations: 1.859 kB / 0.5021 GB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.714e-05/0.7953, allocations: 20.16 kB / 0.5022 GB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.756e-05/0.7953, allocations: 10.44 kB / 0.5022 GB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009745/0.7963, allocations: 0.5985 MB / 0.5028 GB, free: 13.75 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003543/0.7999, allocations: 2.172 MB / 0.5049 GB, free: 12.22 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001228/0.8011, allocations: 0.5652 MB / 0.5054 GB, free: 12.12 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000454/0.8016, allocations: 257.5 kB / 0.5057 GB, free: 12.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007792/0.8024, allocations: 0.7001 MB / 0.5064 GB, free: 11.3 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.368e-05/0.8025, allocations: 44.62 kB / 0.5064 GB, free: 11.27 MB / 398.1 MB Notification: Performance of pre-optimization done (n=53): time 2.735e-06/0.8025, allocations: 0 / 0.5064 GB, free: 11.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=65): time 0.01333/0.8158, allocations: 3.797 MB / 0.5101 GB, free: 9.941 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.029e-05/0.8159, allocations: 58.12 kB / 0.5102 GB, free: 9.879 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003685/0.8163, allocations: 295.6 kB / 0.5104 GB, free: 9.738 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.144e-05/0.8164, allocations: 39.14 kB / 0.5105 GB, free: 9.707 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001616/0.8165, allocations: 191.9 kB / 0.5107 GB, free: 9.57 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002126/0.8168, allocations: 229.6 kB / 0.5109 GB, free: 9.402 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.941e-05/0.8168, allocations: 17.12 kB / 0.5109 GB, free: 9.398 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.817, allocations: 349.7 kB / 0.5112 GB, free: 9.074 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006397/0.8176, allocations: 308.8 kB / 0.5115 GB, free: 9.031 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000698/0.8183, allocations: 395.7 kB / 0.5119 GB, free: 8.918 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007004/0.8191, allocations: 357.5 kB / 0.5122 GB, free: 8.879 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.8191, allocations: 1.859 kB / 0.5123 GB, free: 8.879 MB / 398.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002/0.8211, allocations: 0.9704 MB / 0.5132 GB, free: 8.672 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.8211, allocations: 5.219 kB / 0.5132 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.8211, allocations: 0 / 0.5132 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001509/0.8226, allocations: 356.6 kB / 0.5135 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005331/0.8232, allocations: 117.7 kB / 0.5137 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003551/0.8267, allocations: 3.523 MB / 0.5171 GB, free: 5.293 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006582/0.8274, allocations: 68.16 kB / 0.5172 GB, free: 5.234 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.833e-05/0.8275, allocations: 30.48 kB / 0.5172 GB, free: 5.211 MB / 398.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 (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.0003234/0.8278, allocations: 188.9 kB / 0.5174 GB, free: 5.062 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/0.828, allocations: 43.53 kB / 0.5174 GB, free: 5.02 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002426/0.8304, allocations: 1.046 MB / 0.5184 GB, free: 4.27 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/0.8304, allocations: 8 kB / 0.5184 GB, free: 4.262 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.8304, allocations: 6.484 kB / 0.5184 GB, free: 4.258 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002042/0.8325, allocations: 1.08 MB / 0.5195 GB, free: 3.352 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003002/0.8355, allocations: 1.725 MB / 0.5212 GB, free: 2.074 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/0.8355, allocations: 3.984 kB / 0.5212 GB, free: 2.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005322/0.8361, allocations: 107.8 kB / 0.5213 GB, free: 1.973 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001733/0.8378, allocations: 389.5 kB / 0.5217 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.416e-05/0.8379, allocations: 22.11 kB / 0.5217 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001288/0.8392, allocations: 0.8865 MB / 0.5226 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.8392, allocations: 4.031 kB / 0.5226 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002705/0.8419, allocations: 1.358 MB / 0.5239 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002049/0.8421, allocations: 124 kB / 0.524 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.8422, allocations: 14.06 kB / 0.524 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006486/0.8429, allocations: 65.81 kB / 0.5241 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.622e-05/0.843, allocations: 44.06 kB / 0.5241 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.149e-05/0.8431, allocations: 34.47 kB / 0.5242 GB, free: 15.58 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000263/0.8434, allocations: 220.2 kB / 0.5244 GB, free: 15.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.11e-07/0.8434, allocations: 0 / 0.5244 GB, free: 15.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001593/0.845, allocations: 453.5 kB / 0.5248 GB, free: 15 MB / 414.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 (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.001773/0.8467, allocations: 0.5605 MB / 0.5253 GB, free: 14.49 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002089/0.8488, allocations: 1.001 MB / 0.5263 GB, free: 13.71 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.8489, allocations: 0 / 0.5263 GB, free: 13.71 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008785/0.8497, allocations: 419.9 kB / 0.5267 GB, free: 13.42 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001439/0.8512, allocations: 305 kB / 0.527 GB, free: 13.17 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003162/0.8544, allocations: 1.551 MB / 0.5285 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005487/0.8549, allocations: 0.8489 MB / 0.5294 GB, free: 10.89 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0007114/0.8557, allocations: 128.6 kB / 0.5295 GB, free: 10.77 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001914/0.8559, allocations: 59.36 kB / 0.5295 GB, free: 10.71 MB / 414.1 MB Notification: Performance of SimCode: time 9.72e-07/0.8559, allocations: 0 / 0.5295 GB, free: 10.71 MB / 414.1 MB Notification: Performance of Templates: time 0.0327/0.8886, allocations: 20.76 MB / 0.5498 GB, free: 6 MB / 430.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)