Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_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.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001658/0.001659, allocations: 187.8 kB / 8.351 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.778/1.778, allocations: 194.3 MB / 203.1 MB, free: 9.32 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001702/0.001702, allocations: 118.6 kB / 248.1 MB, free: 6.332 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 2.402e-05/2.403e-05, allocations: 0 / 298.1 MB, free: 8.23 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1164, allocations: 44.49 MB / 342.6 MB, free: 11.64 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.479/1.596, allocations: 0.536 GB / 0.8705 GB, free: 94.35 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002172/1.596, allocations: 87.94 kB / 0.8706 GB, free: 94.27 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.5303/2.126, allocations: 146 MB / 1.013 GB, free: 78.37 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.482e-06/2.126, allocations: 0 / 1.013 GB, free: 78.37 MB / 395.1 MB Notification: Performance of Transformations before backend: time 3.006e-05/2.126, allocations: 15.34 kB / 1.013 GB, free: 78.37 MB / 395.1 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.001169/2.127, allocations: 0.5923 MB / 1.014 GB, free: 77.91 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/2.127, allocations: 11.19 kB / 1.014 GB, free: 77.91 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003844/2.128, allocations: 40 kB / 1.014 GB, free: 77.9 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004261/2.128, allocations: 282 kB / 1.014 GB, free: 77.66 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/2.128, allocations: 11.25 kB / 1.014 GB, free: 77.66 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.997e-05/2.128, allocations: 17 kB / 1.014 GB, free: 77.66 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003253/2.129, allocations: 177.6 kB / 1.014 GB, free: 77.59 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004082/2.129, allocations: 273.3 kB / 1.015 GB, free: 77.44 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/2.129, allocations: 2.625 kB / 1.015 GB, free: 77.44 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.062e-05/2.129, allocations: 6.562 kB / 1.015 GB, free: 77.44 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/2.129, allocations: 6.625 kB / 1.015 GB, free: 77.44 MB / 395.1 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.001688/2.131, allocations: 1.554 MB / 1.016 GB, free: 76.12 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002081/2.131, allocations: 135 kB / 1.016 GB, free: 76.05 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/2.131, allocations: 87.67 kB / 1.016 GB, free: 76.01 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.44e-05/2.131, allocations: 4.469 kB / 1.016 GB, free: 76.01 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/2.131, allocations: 30.56 kB / 1.016 GB, free: 75.97 MB / 395.1 MB Notification: Performance of pre-optimization done (n=20): time 1.282e-06/2.131, allocations: 0 / 1.016 GB, free: 75.97 MB / 395.1 MB Notification: Performance of matching and sorting (n=25): time 0.004017/2.135, allocations: 0.9886 MB / 1.017 GB, free: 75.41 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.722e-05/2.135, allocations: 54.53 kB / 1.017 GB, free: 75.35 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002231/2.136, allocations: 203 kB / 1.018 GB, free: 75.22 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 3.142e-05/2.136, allocations: 31.95 kB / 1.018 GB, free: 75.19 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.703e-05/2.136, allocations: 183.8 kB / 1.018 GB, free: 75.03 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.571e-05/2.136, allocations: 84 kB / 1.018 GB, free: 74.96 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.83e-05/2.136, allocations: 0 / 1.018 GB, free: 74.96 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 7.792e-05/2.136, allocations: 344.7 kB / 1.018 GB, free: 74.63 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/2.136, allocations: 76.28 kB / 1.018 GB, free: 74.6 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001627/2.136, allocations: 175.3 kB / 1.018 GB, free: 74.45 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002002/2.136, allocations: 112 kB / 1.019 GB, free: 74.41 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/2.136, allocations: 0 / 1.019 GB, free: 74.41 MB / 395.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005711/2.137, allocations: 356.9 kB / 1.019 GB, free: 74.27 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/2.137, allocations: 13.53 kB / 1.019 GB, free: 74.27 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/2.137, allocations: 3.656 kB / 1.019 GB, free: 74.27 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001994/2.137, allocations: 62.41 kB / 1.019 GB, free: 74.24 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003325/2.138, allocations: 89.27 kB / 1.019 GB, free: 74.23 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001056/2.139, allocations: 1.802 MB / 1.021 GB, free: 72.45 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002665/2.139, allocations: 22.19 kB / 1.021 GB, free: 72.45 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.519e-05/2.139, allocations: 41.94 kB / 1.021 GB, free: 72.44 MB / 395.1 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.0001092/2.139, allocations: 112 kB / 1.021 GB, free: 72.33 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.589e-05/2.139, allocations: 27.98 kB / 1.021 GB, free: 72.32 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006934/2.14, allocations: 354.5 kB / 1.021 GB, free: 72.16 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/2.14, allocations: 3.969 kB / 1.021 GB, free: 72.16 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/2.14, allocations: 0 / 1.021 GB, free: 72.16 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003877/2.14, allocations: 0.541 MB / 1.022 GB, free: 71.67 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008864/2.141, allocations: 0.6633 MB / 1.022 GB, free: 71.23 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/2.141, allocations: 3 kB / 1.022 GB, free: 71.23 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002919/2.142, allocations: 67.16 kB / 1.023 GB, free: 71.23 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.594e-05/2.142, allocations: 24.09 kB / 1.023 GB, free: 71.21 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.99e-05/2.142, allocations: 14.83 kB / 1.023 GB, free: 71.21 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000603/2.142, allocations: 1.232 MB / 1.024 GB, free: 69.96 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/2.142, allocations: 2.25 kB / 1.024 GB, free: 69.96 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005206/2.143, allocations: 470.5 kB / 1.024 GB, free: 69.66 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.618e-05/2.143, allocations: 103.9 kB / 1.024 GB, free: 69.55 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.789e-05/2.143, allocations: 0 / 1.024 GB, free: 69.55 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000251/2.143, allocations: 16.47 kB / 1.024 GB, free: 69.55 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.307e-05/2.143, allocations: 25.25 kB / 1.024 GB, free: 69.55 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.277e-05/2.143, allocations: 34.52 kB / 1.024 GB, free: 69.55 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001271/2.144, allocations: 153.8 kB / 1.025 GB, free: 69.44 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.01e-07/2.144, allocations: 0 / 1.025 GB, free: 69.44 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0007374/2.144, allocations: 165.9 kB / 1.025 GB, free: 69.4 MB / 395.1 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.001463/2.146, allocations: 0.9104 MB / 1.026 GB, free: 69.2 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0005952/2.146, allocations: 344 kB / 1.026 GB, free: 69.02 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/2.146, allocations: 0 / 1.026 GB, free: 69.02 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002314/2.147, allocations: 215.7 kB / 1.026 GB, free: 68.88 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007639/2.147, allocations: 115.7 kB / 1.026 GB, free: 68.86 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008781/2.148, allocations: 489.2 kB / 1.027 GB, free: 68.57 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002631/2.149, allocations: 0.7695 MB / 1.027 GB, free: 67.87 MB / 395.1 MB Notification: Performance of simCode: alias equations: time 0.0005447/2.149, allocations: 114.4 kB / 1.028 GB, free: 67.82 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001989/2.149, allocations: 64.89 kB / 1.028 GB, free: 67.8 MB / 395.1 MB Notification: Performance of SimCode: time 3.9e-07/2.149, allocations: 0 / 1.028 GB, free: 67.8 MB / 395.1 MB Notification: Performance of Templates: time 0.0181/2.167, allocations: 11.3 MB / 1.039 GB, free: 65.03 MB / 395.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe 2>&1)