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.007056/0.007056, allocations: 100.5 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.001641/0.001641, allocations: 191.7 kB / 16.67 MB, free: 5.957 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.478/1.478, allocations: 205.1 MB / 222.5 MB, free: 4.492 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.001206/0.001206, allocations: 51.77 kB / 326.6 MB, free: 14.33 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1103, allocations: 46.62 MB / 373.2 MB, free: 1.293 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.5406/0.651, allocations: 186.6 MB / 0.5467 GB, free: 5.094 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006629/0.6577, allocations: 4.794 MB / 0.5514 GB, free: 292 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002397/0.658, allocations: 4 kB / 0.5514 GB, free: 288 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000903/0.6589, allocations: 254.5 kB / 0.5516 GB, free: 32 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007122/0.6597, allocations: 381.8 kB / 0.552 GB, free: 15.66 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009041/0.6687, allocations: 2.864 MB / 0.5548 GB, free: 12.79 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001872/0.6706, allocations: 1.169 MB / 0.5559 GB, free: 11.61 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003014/0.6709, allocations: 150.2 kB / 0.5561 GB, free: 11.46 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004961/0.6759, allocations: 1.467 MB / 0.5575 GB, free: 9.992 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007616/0.6767, allocations: 426.6 kB / 0.5579 GB, free: 9.574 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001071/0.6768, allocations: 64 kB / 0.558 GB, free: 9.512 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009158/0.686, allocations: 4.209 MB / 0.5621 GB, free: 5.297 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006448/0.6867, allocations: 239.5 kB / 0.5623 GB, free: 5.062 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006433/0.6874, allocations: 318.9 kB / 0.5626 GB, free: 4.75 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008943/0.6963, allocations: 2.904 MB / 0.5654 GB, free: 1.84 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.6964, allocations: 0 / 0.5654 GB, free: 1.84 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.847e-06/0.6964, allocations: 4 kB / 0.5654 GB, free: 1.836 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.293e-05/0.6964, allocations: 3.938 kB / 0.5654 GB, free: 1.832 MB / 446.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.003009/0.6994, allocations: 1.138 MB / 0.5666 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.725e-05/0.6995, allocations: 12.03 kB / 0.5666 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004091/0.6999, allocations: 63.05 kB / 0.5666 GB, free: 0.5742 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005598/0.7005, allocations: 362.1 kB / 0.567 GB, free: 184 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.825e-05/0.7005, allocations: 32.94 kB / 0.567 GB, free: 152 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.091e-05/0.7006, allocations: 44 kB / 0.567 GB, free: 108 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009203/0.7016, allocations: 0.5061 MB / 0.5675 GB, free: 15.59 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.15e-05/0.7016, allocations: 7.906 kB / 0.5675 GB, free: 15.59 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.171e-05/0.7017, allocations: 20 kB / 0.5676 GB, free: 15.57 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.387e-05/0.7017, allocations: 15.98 kB / 0.5676 GB, free: 15.55 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009653/0.7026, allocations: 0.5973 MB / 0.5682 GB, free: 14.95 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00327/0.7059, allocations: 2.171 MB / 0.5703 GB, free: 12.55 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00125/0.7072, allocations: 0.5552 MB / 0.5708 GB, free: 11.99 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003857/0.7076, allocations: 262.2 kB / 0.5711 GB, free: 11.73 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005745/0.7082, allocations: 0.6926 MB / 0.5718 GB, free: 10.89 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.852e-05/0.7082, allocations: 42.94 kB / 0.5718 GB, free: 10.84 MB / 462.1 MB Notification: Performance of pre-optimization done (n=53): time 2.765e-06/0.7082, allocations: 0 / 0.5718 GB, free: 10.84 MB / 462.1 MB Notification: Performance of matching and sorting (n=65): time 0.01445/0.7227, allocations: 3.631 MB / 0.5753 GB, free: 7.109 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.195e-05/0.7228, allocations: 59.97 kB / 0.5754 GB, free: 7.039 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004025/0.7232, allocations: 298.5 kB / 0.5757 GB, free: 6.734 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.556e-05/0.7233, allocations: 41.7 kB / 0.5757 GB, free: 6.688 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001633/0.7235, allocations: 193.2 kB / 0.5759 GB, free: 6.492 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000183/0.7237, allocations: 224.7 kB / 0.5761 GB, free: 6.27 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002358/0.7239, allocations: 122.2 kB / 0.5762 GB, free: 6.145 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.7241, allocations: 346.8 kB / 0.5766 GB, free: 5.797 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007108/0.7248, allocations: 313.1 kB / 0.5769 GB, free: 5.492 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007723/0.7256, allocations: 388.2 kB / 0.5772 GB, free: 5.094 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001488/0.7271, allocations: 0.7086 MB / 0.5779 GB, free: 4.363 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.7271, allocations: 4 kB / 0.5779 GB, free: 4.359 MB / 462.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002246/0.7293, allocations: 0.96 MB / 0.5789 GB, free: 3.383 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.855e-05/0.7294, allocations: 4 kB / 0.5789 GB, free: 3.379 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.7294, allocations: 3.938 kB / 0.5789 GB, free: 3.375 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001543/0.7309, allocations: 334.4 kB / 0.5792 GB, free: 3.039 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005684/0.7315, allocations: 119.8 kB / 0.5793 GB, free: 2.922 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003803/0.7353, allocations: 3.707 MB / 0.5829 GB, free: 14.91 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006754/0.736, allocations: 40 kB / 0.583 GB, free: 14.88 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.58e-05/0.7361, allocations: 20 kB / 0.583 GB, free: 14.86 MB / 478.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.0003923/0.7365, allocations: 201.7 kB / 0.5832 GB, free: 14.65 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001392/0.7367, allocations: 39.53 kB / 0.5832 GB, free: 14.61 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002505/0.7392, allocations: 1.033 MB / 0.5842 GB, free: 13.56 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/0.7392, allocations: 8 kB / 0.5842 GB, free: 13.55 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.7392, allocations: 7.875 kB / 0.5842 GB, free: 13.54 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002139/0.7414, allocations: 1.067 MB / 0.5853 GB, free: 12.41 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00312/0.7445, allocations: 1.694 MB / 0.5869 GB, free: 10.65 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.7445, allocations: 0 / 0.5869 GB, free: 10.65 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005723/0.7451, allocations: 111.9 kB / 0.587 GB, free: 10.54 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001762/0.7469, allocations: 376.3 kB / 0.5874 GB, free: 10.17 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.139e-05/0.747, allocations: 19.98 kB / 0.5874 GB, free: 10.15 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001461/0.7484, allocations: 0.8646 MB / 0.5883 GB, free: 9.262 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.032e-06/0.7485, allocations: 8.094 kB / 0.5883 GB, free: 9.254 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002847/0.7513, allocations: 1.33 MB / 0.5896 GB, free: 7.902 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001726/0.7515, allocations: 120.6 kB / 0.5897 GB, free: 7.766 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.984e-05/0.7516, allocations: 23.91 kB / 0.5897 GB, free: 7.742 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007027/0.7523, allocations: 43.95 kB / 0.5898 GB, free: 7.699 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.7524, allocations: 40.5 kB / 0.5898 GB, free: 7.656 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.142e-05/0.7525, allocations: 31.97 kB / 0.5898 GB, free: 7.625 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000276/0.7528, allocations: 221.9 kB / 0.59 GB, free: 7.406 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.7528, allocations: 0 / 0.59 GB, free: 7.406 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001464/0.7543, allocations: 463.6 kB / 0.5905 GB, free: 6.953 MB / 478.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.001435/0.7557, allocations: 0.561 MB / 0.591 GB, free: 6.383 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002354/0.7581, allocations: 1.006 MB / 0.592 GB, free: 5.352 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.7581, allocations: 0 / 0.592 GB, free: 5.352 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000992/0.7591, allocations: 423.2 kB / 0.5924 GB, free: 4.941 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001757/0.7609, allocations: 318.3 kB / 0.5927 GB, free: 4.633 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003025/0.7639, allocations: 1.311 MB / 0.594 GB, free: 3.289 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004584/0.7644, allocations: 0.8493 MB / 0.5948 GB, free: 2.414 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005359/0.765, allocations: 124.6 kB / 0.5949 GB, free: 2.293 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001721/0.7651, allocations: 59.42 kB / 0.595 GB, free: 2.234 MB / 478.1 MB Notification: Performance of SimCode: time 1.363e-06/0.7651, allocations: 0 / 0.595 GB, free: 2.234 MB / 478.1 MB Notification: Performance of Templates: time 0.03777/0.8029, allocations: 22.11 MB / 0.6166 GB, free: 12.08 MB / 0.4981 GB 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)