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.001024/0.001024, allocations: 178.3 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.227/1.227, allocations: 194.5 MB / 211.6 MB, free: 3.059 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001653/0.001653, allocations: 106.6 kB / 256.9 MB, free: 4.332 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002967/0.0002966, allocations: 8 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08459/0.0849, allocations: 44.5 MB / 355.1 MB, free: 2.328 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.095/1.179, allocations: 0.5861 GB / 0.9329 GB, free: 74.89 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002459/1.18, allocations: 91.94 kB / 0.9329 GB, free: 74.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.451/1.631, allocations: 153.7 MB / 1.083 GB, free: 87.78 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.984e-06/1.631, allocations: 0 / 1.083 GB, free: 87.78 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.672e-05/1.631, allocations: 8 kB / 1.083 GB, free: 87.77 MB / 410.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.0009115/1.632, allocations: 0.6277 MB / 1.084 GB, free: 87.1 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/1.632, allocations: 8.031 kB / 1.084 GB, free: 87.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002565/1.632, allocations: 47.61 kB / 1.084 GB, free: 87.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002904/1.632, allocations: 282.7 kB / 1.084 GB, free: 86.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/1.632, allocations: 20.56 kB / 1.084 GB, free: 86.71 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.735e-05/1.633, allocations: 24 kB / 1.084 GB, free: 86.69 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004097/1.633, allocations: 311.7 kB / 1.084 GB, free: 86.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/1.633, allocations: 0 / 1.084 GB, free: 86.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.395e-05/1.633, allocations: 12 kB / 1.084 GB, free: 86.35 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/1.633, allocations: 8 kB / 1.084 GB, free: 86.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002557/1.633, allocations: 205.6 kB / 1.085 GB, free: 86.14 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.001326/1.635, allocations: 1.578 MB / 1.086 GB, free: 84.42 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002253/1.635, allocations: 163.1 kB / 1.086 GB, free: 84.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.39e-05/1.635, allocations: 7.078 kB / 1.086 GB, free: 84.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.685e-05/1.635, allocations: 38.7 kB / 1.086 GB, free: 84.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 1.272e-06/1.635, allocations: 0 / 1.086 GB, free: 84.2 MB / 410.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.004683/1.64, allocations: 1.623 MB / 1.088 GB, free: 82.45 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.489e-05/1.64, allocations: 63.33 kB / 1.088 GB, free: 82.38 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001877/1.64, allocations: 232.1 kB / 1.088 GB, free: 82.14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.904e-05/1.64, allocations: 33.64 kB / 1.088 GB, free: 82.11 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.074e-05/1.64, allocations: 174.9 kB / 1.088 GB, free: 81.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.02e-05/1.64, allocations: 96.67 kB / 1.088 GB, free: 81.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.743e-05/1.64, allocations: 8 kB / 1.088 GB, free: 81.83 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.038e-05/1.64, allocations: 334.8 kB / 1.089 GB, free: 81.49 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/1.64, allocations: 87.95 kB / 1.089 GB, free: 81.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001561/1.64, allocations: 186.4 kB / 1.089 GB, free: 81.18 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001573/1.641, allocations: 112.7 kB / 1.089 GB, free: 81.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/1.641, allocations: 7.953 kB / 1.089 GB, free: 81.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004753/1.641, allocations: 394.7 kB / 1.09 GB, free: 80.67 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/1.641, allocations: 7.984 kB / 1.09 GB, free: 80.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/1.641, allocations: 4 kB / 1.09 GB, free: 80.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001913/1.641, allocations: 69.69 kB / 1.09 GB, free: 80.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003084/1.642, allocations: 88.3 kB / 1.09 GB, free: 80.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001007/1.643, allocations: 1.86 MB / 1.091 GB, free: 78.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002144/1.643, allocations: 27.89 kB / 1.092 GB, free: 78.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.267e-05/1.643, allocations: 36 kB / 1.092 GB, free: 78.42 MB / 410.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 () * Number of clocked 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.0001343/1.643, allocations: 164.7 kB / 1.092 GB, free: 78.25 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.186e-05/1.643, allocations: 27.72 kB / 1.092 GB, free: 78.22 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007838/1.644, allocations: 435.6 kB / 1.092 GB, free: 77.78 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/1.644, allocations: 4 kB / 1.092 GB, free: 77.78 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/1.644, allocations: 0 / 1.092 GB, free: 77.78 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003818/1.644, allocations: 0.5635 MB / 1.093 GB, free: 77.12 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007662/1.645, allocations: 0.7155 MB / 1.093 GB, free: 76.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/1.645, allocations: 4 kB / 1.093 GB, free: 76.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002841/1.645, allocations: 71.89 kB / 1.093 GB, free: 76.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.814e-05/1.645, allocations: 24.91 kB / 1.094 GB, free: 76.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.543e-05/1.645, allocations: 15.98 kB / 1.094 GB, free: 76.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005729/1.646, allocations: 1.288 MB / 1.095 GB, free: 74.81 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/1.646, allocations: 0 / 1.095 GB, free: 74.81 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005226/1.647, allocations: 0.4939 MB / 1.095 GB, free: 74.28 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.586e-05/1.647, allocations: 104.7 kB / 1.095 GB, free: 74.16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.12e-05/1.647, allocations: 4 kB / 1.095 GB, free: 74.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002346/1.647, allocations: 23.86 kB / 1.095 GB, free: 74.13 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.548e-05/1.647, allocations: 27.97 kB / 1.095 GB, free: 74.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.615e-05/1.647, allocations: 31.98 kB / 1.095 GB, free: 74.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001369/1.647, allocations: 186 kB / 1.096 GB, free: 73.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/1.647, allocations: 8 kB / 1.096 GB, free: 73.88 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007044/1.648, allocations: 180 kB / 1.096 GB, free: 73.71 MB / 410.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 () * Number of clocked 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.001028/1.649, allocations: 0.7785 MB / 1.097 GB, free: 73.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005479/1.649, allocations: 382.3 kB / 1.097 GB, free: 72.63 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/1.649, allocations: 0 / 1.097 GB, free: 72.63 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002096/1.65, allocations: 226.5 kB / 1.097 GB, free: 72.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007282/1.65, allocations: 167.4 kB / 1.097 GB, free: 72.24 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008951/1.651, allocations: 0.8356 MB / 1.098 GB, free: 71.36 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001853/1.652, allocations: 0.7648 MB / 1.099 GB, free: 70.57 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004833/1.652, allocations: 114.9 kB / 1.099 GB, free: 70.46 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001814/1.652, allocations: 71.41 kB / 1.099 GB, free: 70.39 MB / 410.7 MB Notification: Performance of SimCode: time 3e-07/1.652, allocations: 0 / 1.099 GB, free: 70.39 MB / 410.7 MB Notification: Performance of Templates: time 0.01939/1.672, allocations: 17.66 MB / 1.116 GB, free: 52.72 MB / 410.7 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)