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.001723/0.001723, allocations: 164.4 kB / 7.635 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.613/1.613, allocations: 170.7 MB / 178.7 MB, free: 15.58 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.001898/0.001898, allocations: 115.4 kB / 218 MB, free: 8.344 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.782e-05/1.776e-05, allocations: 0 / 262.2 MB, free: 26.37 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09996/0.09999, allocations: 38.78 MB / 301 MB, free: 3.602 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.473/1.573, allocations: 0.5303 GB / 0.8242 GB, free: 28.18 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002804/1.573, allocations: 91.94 kB / 0.8243 GB, free: 28.09 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5753/2.149, allocations: 146 MB / 0.9669 GB, free: 18.83 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.674e-06/2.149, allocations: 0 / 0.9669 GB, free: 18.83 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.19e-05/2.149, allocations: 11.98 kB / 0.9669 GB, free: 18.82 MB / 346.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.001336/2.15, allocations: 0.5898 MB / 0.9675 GB, free: 18.19 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/2.15, allocations: 12.03 kB / 0.9675 GB, free: 18.18 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004395/2.151, allocations: 43.61 kB / 0.9675 GB, free: 18.13 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004667/2.151, allocations: 282.5 kB / 0.9678 GB, free: 17.82 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/2.151, allocations: 8 kB / 0.9678 GB, free: 17.81 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.574e-05/2.151, allocations: 16 kB / 0.9678 GB, free: 17.79 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003392/2.152, allocations: 177 kB / 0.968 GB, free: 17.62 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004178/2.152, allocations: 278.5 kB / 0.9682 GB, free: 17.32 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/2.152, allocations: 4 kB / 0.9682 GB, free: 17.31 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.241e-05/2.152, allocations: 0 / 0.9682 GB, free: 17.31 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/2.152, allocations: 4 kB / 0.9682 GB, free: 17.31 MB / 346.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.001722/2.154, allocations: 1.547 MB / 0.9698 GB, free: 15.62 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002136/2.154, allocations: 138.6 kB / 0.9699 GB, free: 15.48 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/2.154, allocations: 85.17 kB / 0.97 GB, free: 15.39 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.292e-05/2.154, allocations: 11.95 kB / 0.97 GB, free: 15.38 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/2.154, allocations: 34.56 kB / 0.97 GB, free: 15.34 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 1.452e-06/2.154, allocations: 4 kB / 0.97 GB, free: 15.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=25): time 0.003828/2.158, allocations: 0.9786 MB / 0.971 GB, free: 14.28 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.317e-05/2.158, allocations: 59.39 kB / 0.971 GB, free: 14.21 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002394/2.158, allocations: 207.8 kB / 0.9712 GB, free: 14 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.327e-05/2.159, allocations: 25.7 kB / 0.9713 GB, free: 13.97 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.238e-05/2.159, allocations: 183.8 kB / 0.9714 GB, free: 13.79 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.859e-05/2.159, allocations: 86.66 kB / 0.9715 GB, free: 13.7 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.922e-05/2.159, allocations: 0 / 0.9715 GB, free: 13.7 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.77e-05/2.159, allocations: 346.6 kB / 0.9718 GB, free: 13.35 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/2.159, allocations: 79.78 kB / 0.9719 GB, free: 13.27 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000147/2.159, allocations: 173.3 kB / 0.9721 GB, free: 13.06 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001627/2.159, allocations: 108 kB / 0.9722 GB, free: 12.96 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/2.159, allocations: 0 / 0.9722 GB, free: 12.96 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005484/2.16, allocations: 354.9 kB / 0.9725 GB, free: 12.6 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/2.16, allocations: 11.94 kB / 0.9725 GB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/2.16, allocations: 4 kB / 0.9725 GB, free: 12.58 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001965/2.16, allocations: 61.69 kB / 0.9726 GB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003213/2.16, allocations: 83.89 kB / 0.9727 GB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001074/2.161, allocations: 1.809 MB / 0.9744 GB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002495/2.162, allocations: 11.98 kB / 0.9745 GB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.328e-05/2.162, allocations: 40 kB / 0.9745 GB, free: 10.43 MB / 346.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 0.0001109/2.162, allocations: 117 kB / 0.9746 GB, free: 10.31 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.001e-05/2.162, allocations: 23.81 kB / 0.9746 GB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007365/2.163, allocations: 356.4 kB / 0.975 GB, free: 9.93 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/2.163, allocations: 8 kB / 0.975 GB, free: 9.922 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/2.163, allocations: 0 / 0.975 GB, free: 9.922 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003898/2.163, allocations: 0.5514 MB / 0.9755 GB, free: 9.281 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008478/2.164, allocations: 0.638 MB / 0.9761 GB, free: 8.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/2.164, allocations: 3.984 kB / 0.9761 GB, free: 8.586 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002966/2.164, allocations: 79.95 kB / 0.9762 GB, free: 8.508 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.158e-05/2.164, allocations: 12.86 kB / 0.9762 GB, free: 8.492 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.13e-05/2.164, allocations: 15.98 kB / 0.9762 GB, free: 8.477 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006939/2.165, allocations: 1.233 MB / 0.9775 GB, free: 7.129 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/2.165, allocations: 3.953 kB / 0.9775 GB, free: 7.125 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005529/2.166, allocations: 473.8 kB / 0.9779 GB, free: 6.625 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.616e-05/2.166, allocations: 96.86 kB / 0.978 GB, free: 6.512 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.233e-05/2.166, allocations: 4 kB / 0.978 GB, free: 6.508 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002453/2.166, allocations: 11.92 kB / 0.978 GB, free: 6.496 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.961e-05/2.166, allocations: 27.97 kB / 0.978 GB, free: 6.469 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.456e-05/2.166, allocations: 31.98 kB / 0.9781 GB, free: 6.438 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001675/2.166, allocations: 164.6 kB / 0.9782 GB, free: 6.273 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/2.166, allocations: 3.938 kB / 0.9782 GB, free: 6.27 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007804/2.167, allocations: 160 kB / 0.9784 GB, free: 6.113 MB / 346.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.001554/2.169, allocations: 0.9108 MB / 0.9793 GB, free: 5.195 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005925/2.169, allocations: 342.3 kB / 0.9796 GB, free: 4.852 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/2.169, allocations: 0 / 0.9796 GB, free: 4.852 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002404/2.17, allocations: 217.6 kB / 0.9798 GB, free: 4.629 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007803/2.17, allocations: 120.7 kB / 0.9799 GB, free: 4.512 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009276/2.171, allocations: 487 kB / 0.9804 GB, free: 4.004 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/2.172, allocations: 0.7757 MB / 0.9811 GB, free: 3.195 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005328/2.172, allocations: 111.2 kB / 0.9813 GB, free: 3.09 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001944/2.172, allocations: 67.41 kB / 0.9813 GB, free: 3.023 MB / 346.7 MB Notification: Performance of SimCode: time 3.7e-07/2.172, allocations: 0 / 0.9813 GB, free: 3.023 MB / 346.7 MB Notification: Performance of Templates: time 0.2554/2.428, allocations: 11.29 MB / 0.9923 GB, free: 63.89 MB / 346.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)