Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008143/0.0008144, allocations: 97.95 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005706/0.005707, allocations: 170.5 kB / 16.27 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.378/1.378, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3308/0.3308, allocations: 38.03 MB / 308.8 MB, free: 10.31 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006641/0.0006642, allocations: 20 kB / 377.1 MB, free: 14.8 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1208, allocations: 57.51 MB / 434.6 MB, free: 5.195 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.4201/0.5409, allocations: 175.8 MB / 0.5961 GB, free: 8.195 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01035/0.5513, allocations: 8.302 MB / 0.6042 GB, free: 15.88 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009079/0.5522, allocations: 23.81 kB / 0.6042 GB, free: 15.86 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001063/0.5533, allocations: 274.5 kB / 0.6045 GB, free: 15.59 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003694/0.557, allocations: 1.314 MB / 0.6057 GB, free: 14.27 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002549/0.5596, allocations: 1.017 MB / 0.6067 GB, free: 13.27 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002549/0.5622, allocations: 2.713 MB / 0.6094 GB, free: 10.56 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005223/0.5627, allocations: 403.5 kB / 0.6098 GB, free: 10.16 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002171/0.5649, allocations: 1.104 MB / 0.6108 GB, free: 9.059 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008704/0.5658, allocations: 0.689 MB / 0.6115 GB, free: 8.367 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.302e-05/0.5658, allocations: 32 kB / 0.6115 GB, free: 8.336 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001397/0.5673, allocations: 0.6981 MB / 0.6122 GB, free: 7.637 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002251/0.5675, allocations: 231.3 kB / 0.6124 GB, free: 7.41 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003408/0.5678, allocations: 403.9 kB / 0.6128 GB, free: 7.008 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001375/0.5692, allocations: 1.375 MB / 0.6142 GB, free: 5.629 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.5692, allocations: 0 / 0.6142 GB, free: 5.629 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.5692, allocations: 4 kB / 0.6142 GB, free: 5.625 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.5693, allocations: 0 / 0.6142 GB, free: 5.625 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001843/0.5711, allocations: 0.9773 MB / 0.6151 GB, free: 4.602 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.5711, allocations: 11.97 kB / 0.6151 GB, free: 4.59 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007551/0.5719, allocations: 143 kB / 0.6153 GB, free: 4.449 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007075/0.5726, allocations: 0.5003 MB / 0.6158 GB, free: 3.906 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001049/0.5727, allocations: 108.3 kB / 0.6159 GB, free: 3.793 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.368e-05/0.5728, allocations: 51.89 kB / 0.6159 GB, free: 3.742 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00115/0.574, allocations: 0.8135 MB / 0.6167 GB, free: 2.852 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.226e-05/0.574, allocations: 8 kB / 0.6167 GB, free: 2.844 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.281e-05/0.5741, allocations: 27.94 kB / 0.6168 GB, free: 2.816 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.439e-05/0.5742, allocations: 40.92 kB / 0.6168 GB, free: 2.777 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009762/0.5752, allocations: 0.6166 MB / 0.6174 GB, free: 2.156 MB / 478.1 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.004693/0.5799, allocations: 3.983 MB / 0.6213 GB, free: 13.92 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006598/0.5805, allocations: 351.7 kB / 0.6216 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00034/0.5809, allocations: 174.5 kB / 0.6218 GB, free: 13.4 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006042/0.5815, allocations: 365.4 kB / 0.6221 GB, free: 12.99 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.551e-05/0.5816, allocations: 42.84 kB / 0.6222 GB, free: 12.94 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 2.414e-06/0.5816, allocations: 0 / 0.6222 GB, free: 12.94 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.005686/0.5873, allocations: 1.665 MB / 0.6238 GB, free: 11.2 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.682e-05/0.5874, allocations: 136.5 kB / 0.6239 GB, free: 11.04 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007006/0.5881, allocations: 0.6133 MB / 0.6245 GB, free: 10.41 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.754e-05/0.5881, allocations: 37.7 kB / 0.6246 GB, free: 10.37 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002876/0.5884, allocations: 362.9 kB / 0.6249 GB, free: 10.01 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001381/0.5886, allocations: 145.9 kB / 0.625 GB, free: 9.867 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.359e-05/0.5887, allocations: 61.69 kB / 0.6251 GB, free: 9.801 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.5888, allocations: 374.8 kB / 0.6255 GB, free: 9.426 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003395/0.5892, allocations: 201.9 kB / 0.6257 GB, free: 9.23 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005473/0.5897, allocations: 0.5086 MB / 0.6262 GB, free: 8.578 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008803/0.5906, allocations: 0.7554 MB / 0.6269 GB, free: 7.684 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.5907, allocations: 7.938 kB / 0.6269 GB, free: 7.676 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001332/0.592, allocations: 0.8793 MB / 0.6278 GB, free: 6.785 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.592, allocations: 8 kB / 0.6278 GB, free: 6.777 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.592, allocations: 12 kB / 0.6278 GB, free: 6.766 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00138/0.5934, allocations: 321.4 kB / 0.6281 GB, free: 6.449 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003714/0.5938, allocations: 124.4 kB / 0.6282 GB, free: 6.328 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00108/0.5949, allocations: 0.9313 MB / 0.6291 GB, free: 5.371 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004724/0.5954, allocations: 44.05 kB / 0.6292 GB, free: 5.328 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.515e-05/0.5955, allocations: 67.98 kB / 0.6292 GB, free: 5.262 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0003113/0.5958, allocations: 246 kB / 0.6295 GB, free: 5.012 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.5959, allocations: 67.19 kB / 0.6295 GB, free: 4.945 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001426/0.5973, allocations: 0.6843 MB / 0.6302 GB, free: 4.246 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.5974, allocations: 4 kB / 0.6302 GB, free: 4.242 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-06/0.5974, allocations: 4 kB / 0.6302 GB, free: 4.238 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.5974, allocations: 0 / 0.6302 GB, free: 4.238 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002161/0.5995, allocations: 1.618 MB / 0.6318 GB, free: 2.477 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.5996, allocations: 3.938 kB / 0.6318 GB, free: 2.473 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/0.6006, allocations: 211.9 kB / 0.632 GB, free: 2.266 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.054e-05/0.6007, allocations: 24.84 kB / 0.632 GB, free: 2.238 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.507e-05/0.6007, allocations: 16 kB / 0.632 GB, free: 2.223 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3122/0.9129, allocations: 2.686 MB / 0.6346 GB, free: 25.21 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.913, allocations: 2.5 kB / 0.6346 GB, free: 25.21 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001333/0.9143, allocations: 0.81 MB / 0.6354 GB, free: 25.04 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000316/0.9147, allocations: 193 kB / 0.6356 GB, free: 24.95 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.483e-05/0.9148, allocations: 7.625 kB / 0.6356 GB, free: 24.95 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004151/0.9152, allocations: 34.22 kB / 0.6357 GB, free: 24.95 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.9153, allocations: 37.98 kB / 0.6357 GB, free: 24.95 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.817e-05/0.9154, allocations: 42.36 kB / 0.6357 GB, free: 24.95 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004816/0.9158, allocations: 438.2 kB / 0.6362 GB, free: 24.86 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.9158, allocations: 2.25 kB / 0.6362 GB, free: 24.86 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009693/0.9168, allocations: 290.9 kB / 0.6364 GB, free: 24.86 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008829/0.9177, allocations: 364.1 kB / 0.6368 GB, free: 24.77 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001033/0.9188, allocations: 0.5327 MB / 0.6373 GB, free: 24.77 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.9188, allocations: 0 / 0.6373 GB, free: 24.77 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008695/0.9197, allocations: 419.9 kB / 0.6377 GB, free: 24.66 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001706/0.9214, allocations: 352.2 kB / 0.638 GB, free: 24.66 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00185/0.9232, allocations: 1.625 MB / 0.6396 GB, free: 23.92 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003639/0.9236, allocations: 0.9283 MB / 0.6405 GB, free: 23.22 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000924/0.9245, allocations: 263.8 kB / 0.6408 GB, free: 23.15 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000286/0.9248, allocations: 96.19 kB / 0.6409 GB, free: 23.14 MB / 494.1 MB Notification: Performance of SimCode: time 4.81e-07/0.9248, allocations: 4 kB / 0.6409 GB, free: 23.13 MB / 494.1 MB Notification: Performance of Templates: time 0.02836/0.9532, allocations: 17.65 MB / 0.6581 GB, free: 21.17 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) Environment - environmentSimulation: