Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.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.Air.SimpleAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001465/0.001465, allocations: 157.7 kB / 7.633 MB, free: 1.445 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.604/1.604, allocations: 170.6 MB / 178.7 MB, free: 6.984 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.001685/0.001685, allocations: 98.94 kB / 218 MB, free: 15.33 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.234e-05/2.23e-05, allocations: 0 / 262.2 MB, free: 3.043 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.258/0.2581, allocations: 38.77 MB / 301 MB, free: 39.12 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7923/1.05, allocations: 327.9 MB / 0.6141 GB, free: 87.14 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002882/1.051, allocations: 83.33 kB / 0.6142 GB, free: 87.09 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1562/1.207, allocations: 86.81 MB / 0.699 GB, free: 6.406 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.773e-06/1.207, allocations: 4 kB / 0.699 GB, free: 6.402 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.045e-05/1.207, allocations: 8 kB / 0.699 GB, free: 6.395 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.0007032/1.208, allocations: 0.5204 MB / 0.6995 GB, free: 5.832 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.524e-05/1.208, allocations: 12.03 kB / 0.6995 GB, free: 5.82 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003236/1.208, allocations: 43.61 kB / 0.6996 GB, free: 5.777 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000326/1.209, allocations: 278.8 kB / 0.6998 GB, free: 5.465 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/1.209, allocations: 8 kB / 0.6998 GB, free: 5.457 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.762e-05/1.209, allocations: 20 kB / 0.6999 GB, free: 5.438 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002868/1.209, allocations: 177.1 kB / 0.7 GB, free: 5.262 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003584/1.209, allocations: 252.3 kB / 0.7003 GB, free: 4.996 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/1.209, allocations: 0 / 0.7003 GB, free: 4.996 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.281e-05/1.209, allocations: 4 kB / 0.7003 GB, free: 4.992 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/1.209, allocations: 7.938 kB / 0.7003 GB, free: 4.984 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001384/1.211, allocations: 1.23 MB / 0.7015 GB, free: 3.645 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003112/1.211, allocations: 171 kB / 0.7016 GB, free: 3.469 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/1.211, allocations: 81.23 kB / 0.7017 GB, free: 3.387 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001207/1.211, allocations: 170.4 kB / 0.7019 GB, free: 3.184 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/1.211, allocations: 46.7 kB / 0.7019 GB, free: 3.129 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 1.522e-06/1.211, allocations: 0 / 0.7019 GB, free: 3.129 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.001733/1.213, allocations: 0.7824 MB / 0.7027 GB, free: 2.27 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.514e-05/1.213, allocations: 63.39 kB / 0.7028 GB, free: 2.195 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000169/1.213, allocations: 187.2 kB / 0.7029 GB, free: 2.004 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/1.213, allocations: 33.64 kB / 0.703 GB, free: 1.965 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.166e-05/1.213, allocations: 183.7 kB / 0.7031 GB, free: 1.777 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.612e-05/1.213, allocations: 86.75 kB / 0.7032 GB, free: 1.691 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.163e-05/1.214, allocations: 0 / 0.7032 GB, free: 1.691 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.045e-05/1.214, allocations: 342.8 kB / 0.7035 GB, free: 1.348 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.853e-05/1.214, allocations: 68 kB / 0.7036 GB, free: 1.281 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001429/1.214, allocations: 164.6 kB / 0.7038 GB, free: 1.082 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001827/1.214, allocations: 104.4 kB / 0.7039 GB, free: 0.9805 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/1.214, allocations: 4 kB / 0.7039 GB, free: 0.9766 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005185/1.215, allocations: 392.3 kB / 0.7042 GB, free: 0.5625 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/1.215, allocations: 18.36 kB / 0.7043 GB, free: 0.5469 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/1.215, allocations: 4 kB / 0.7043 GB, free: 0.543 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001642/1.215, allocations: 41.7 kB / 0.7043 GB, free: 0.4961 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002913/1.215, allocations: 83.8 kB / 0.7044 GB, free: 424 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2554/1.471, allocations: 2.445 MB / 0.7068 GB, free: 99.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003839/1.471, allocations: 17.09 kB / 0.7068 GB, free: 99.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.579e-05/1.471, allocations: 15.59 kB / 0.7068 GB, free: 99.44 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002227/1.471, allocations: 118.3 kB / 0.7069 GB, free: 99.33 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.839e-05/1.471, allocations: 25.69 kB / 0.7069 GB, free: 99.33 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006095/1.472, allocations: 335.2 kB / 0.7073 GB, free: 99.18 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/1.472, allocations: 3.969 kB / 0.7073 GB, free: 99.18 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/1.472, allocations: 0 / 0.7073 GB, free: 99.18 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005696/1.473, allocations: 0.5919 MB / 0.7078 GB, free: 98.64 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009357/1.473, allocations: 0.6964 MB / 0.7085 GB, free: 98.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.301e-06/1.473, allocations: 3.562 kB / 0.7085 GB, free: 98.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002966/1.474, allocations: 57.42 kB / 0.7086 GB, free: 98.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.014e-05/1.474, allocations: 19.48 kB / 0.7086 GB, free: 98.26 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.018e-05/1.474, allocations: 8.094 kB / 0.7086 GB, free: 98.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006404/1.475, allocations: 1.23 MB / 0.7098 GB, free: 97.07 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.676e-06/1.475, allocations: 0 / 0.7098 GB, free: 97.07 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006006/1.475, allocations: 0.4948 MB / 0.7103 GB, free: 96.81 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.746e-05/1.475, allocations: 100.8 kB / 0.7104 GB, free: 96.71 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.666e-05/1.475, allocations: 5.219 kB / 0.7104 GB, free: 96.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002526/1.476, allocations: 9.406 kB / 0.7104 GB, free: 96.71 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.257e-05/1.476, allocations: 19.72 kB / 0.7104 GB, free: 96.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.234e-05/1.476, allocations: 11.67 kB / 0.7104 GB, free: 96.71 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001604/1.476, allocations: 152.1 kB / 0.7106 GB, free: 96.64 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/1.476, allocations: 4.219 kB / 0.7106 GB, free: 96.64 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006238/1.476, allocations: 108.7 kB / 0.7107 GB, free: 96.64 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (25): * Single equations (assignments): 24 * 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.0005029/1.477, allocations: 248.7 kB / 0.7109 GB, free: 96.54 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006916/1.478, allocations: 418 kB / 0.7113 GB, free: 96.34 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/1.478, allocations: 0 / 0.7113 GB, free: 96.34 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002894/1.478, allocations: 207.2 kB / 0.7115 GB, free: 96.23 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008376/1.479, allocations: 117.1 kB / 0.7116 GB, free: 96.23 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/1.48, allocations: 465 kB / 0.7121 GB, free: 96.09 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004677/1.48, allocations: 0.7672 MB / 0.7128 GB, free: 95.39 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003104/1.481, allocations: 53.67 kB / 0.7129 GB, free: 95.38 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.829e-05/1.481, allocations: 28.75 kB / 0.7129 GB, free: 95.38 MB / 362.7 MB Notification: Performance of SimCode: time 2.7e-07/1.481, allocations: 4.656 kB / 0.7129 GB, free: 95.38 MB / 362.7 MB Notification: Performance of Templates: time 0.01438/1.495, allocations: 5.843 MB / 0.7186 GB, free: 95.24 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe 2>&1)