Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001141/0.001142, allocations: 169.9 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.683/1.683, allocations: 170.6 MB / 183.8 MB, free: 11.49 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001552/0.001552, allocations: 114.7 kB / 223.2 MB, free: 4.113 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.91e-05/2.914e-05, allocations: 4 kB / 268.9 MB, free: 20.91 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09571/0.09575, allocations: 38.77 MB / 307.6 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.639/1.735, allocations: 0.5309 GB / 0.8313 GB, free: 76.06 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002735/1.735, allocations: 86.34 kB / 0.8314 GB, free: 75.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5017/2.237, allocations: 147.6 MB / 0.9756 GB, free: 74.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.663e-06/2.237, allocations: 0 / 0.9756 GB, free: 74.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.754e-05/2.237, allocations: 12 kB / 0.9756 GB, free: 74.9 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009672/2.238, allocations: 0.5969 MB / 0.9762 GB, free: 74.26 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/2.238, allocations: 15.97 kB / 0.9762 GB, free: 74.25 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002947/2.239, allocations: 35.72 kB / 0.9762 GB, free: 74.21 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003218/2.239, allocations: 286.5 kB / 0.9765 GB, free: 73.89 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/2.239, allocations: 20.56 kB / 0.9765 GB, free: 73.87 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.233e-05/2.239, allocations: 24 kB / 0.9765 GB, free: 73.85 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004284/2.239, allocations: 311.7 kB / 0.9768 GB, free: 73.51 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/2.239, allocations: 0 / 0.9768 GB, free: 73.51 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.419e-05/2.239, allocations: 12 kB / 0.9769 GB, free: 73.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/2.239, allocations: 8 kB / 0.9769 GB, free: 73.49 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002716/2.24, allocations: 197.6 kB / 0.9771 GB, free: 73.3 MB / 362.7 MB Warning: The model contains alias variables with conflicting start and/or 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.001358/2.241, allocations: 1.581 MB / 0.9786 GB, free: 71.56 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002381/2.241, allocations: 169.5 kB / 0.9788 GB, free: 71.39 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001221/2.242, allocations: 93.22 kB / 0.9788 GB, free: 71.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.471e-05/2.242, allocations: 4.188 kB / 0.9789 GB, free: 71.29 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/2.242, allocations: 42.75 kB / 0.9789 GB, free: 71.24 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 1.313e-06/2.242, allocations: 0 / 0.9789 GB, free: 71.24 MB / 362.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.004395/2.246, allocations: 1.23 MB / 0.9801 GB, free: 69.94 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/2.246, allocations: 63.33 kB / 0.9802 GB, free: 69.86 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002034/2.246, allocations: 221 kB / 0.9804 GB, free: 69.64 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.032e-05/2.246, allocations: 33.7 kB / 0.9804 GB, free: 69.6 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.136e-05/2.246, allocations: 183.9 kB / 0.9806 GB, free: 69.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.887e-05/2.246, allocations: 90.66 kB / 0.9807 GB, free: 69.32 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.719e-05/2.246, allocations: 12 kB / 0.9807 GB, free: 69.31 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.262e-05/2.247, allocations: 338.8 kB / 0.981 GB, free: 68.97 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/2.247, allocations: 87.78 kB / 0.9811 GB, free: 68.89 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000169/2.247, allocations: 187.7 kB / 0.9813 GB, free: 68.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001649/2.247, allocations: 119.9 kB / 0.9814 GB, free: 68.54 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/2.247, allocations: 0 / 0.9814 GB, free: 68.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005527/2.248, allocations: 386.7 kB / 0.9817 GB, free: 68.15 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/2.248, allocations: 4 kB / 0.9817 GB, free: 68.15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/2.248, allocations: 4 kB / 0.9817 GB, free: 68.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002146/2.248, allocations: 77.67 kB / 0.9818 GB, free: 68.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003011/2.248, allocations: 79.86 kB / 0.9819 GB, free: 67.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009479/2.249, allocations: 1.856 MB / 0.9837 GB, free: 65.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002187/2.249, allocations: 24.02 kB / 0.9837 GB, free: 65.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.49e-05/2.249, allocations: 40 kB / 0.9838 GB, free: 65.91 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 8.823e-05/2.249, allocations: 120.9 kB / 0.9839 GB, free: 65.78 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.678e-05/2.25, allocations: 31.67 kB / 0.9839 GB, free: 65.75 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008213/2.25, allocations: 439.9 kB / 0.9843 GB, free: 65.3 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/2.25, allocations: 4 kB / 0.9843 GB, free: 65.3 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/2.25, allocations: 0 / 0.9843 GB, free: 65.3 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003785/2.251, allocations: 0.5591 MB / 0.9849 GB, free: 64.65 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000791/2.252, allocations: 0.7236 MB / 0.9856 GB, free: 63.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/2.252, allocations: 0 / 0.9856 GB, free: 63.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002767/2.252, allocations: 75.89 kB / 0.9857 GB, free: 63.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.451e-05/2.252, allocations: 24.84 kB / 0.9857 GB, free: 63.76 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.253e-05/2.252, allocations: 12.06 kB / 0.9857 GB, free: 63.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000553/2.253, allocations: 1.288 MB / 0.987 GB, free: 62.33 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/2.253, allocations: 4.156 kB / 0.987 GB, free: 62.32 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005002/2.253, allocations: 492.9 kB / 0.9874 GB, free: 61.8 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.008e-05/2.253, allocations: 100.8 kB / 0.9875 GB, free: 61.69 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.2e-05/2.253, allocations: 12.06 kB / 0.9875 GB, free: 61.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002367/2.253, allocations: 12 kB / 0.9876 GB, free: 61.66 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.309e-05/2.253, allocations: 27.92 kB / 0.9876 GB, free: 61.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.564e-05/2.254, allocations: 31.98 kB / 0.9876 GB, free: 61.61 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001454/2.254, allocations: 187.1 kB / 0.9878 GB, free: 61.42 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.8e-07/2.254, allocations: 0 / 0.9878 GB, free: 61.42 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007248/2.254, allocations: 187.9 kB / 0.988 GB, free: 61.24 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009779/2.255, allocations: 0.7782 MB / 0.9887 GB, free: 60.45 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005512/2.256, allocations: 367.7 kB / 0.9891 GB, free: 60.08 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/2.256, allocations: 0 / 0.9891 GB, free: 60.08 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002136/2.256, allocations: 234.4 kB / 0.9893 GB, free: 59.84 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007949/2.257, allocations: 154.5 kB / 0.9894 GB, free: 59.69 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00074/2.258, allocations: 498 kB / 0.9899 GB, free: 59.17 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001812/2.258, allocations: 0.7687 MB / 0.9907 GB, free: 58.38 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005059/2.258, allocations: 114.9 kB / 0.9908 GB, free: 58.27 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001893/2.259, allocations: 67.41 kB / 0.9908 GB, free: 58.2 MB / 362.7 MB Notification: Performance of SimCode: time 3.31e-07/2.259, allocations: 3.938 kB / 0.9909 GB, free: 58.2 MB / 362.7 MB Notification: Performance of Templates: time 0.02212/2.281, allocations: 20.02 MB / 1.01 GB, free: 38.15 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe 2>&1)