Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_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.2_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.001312/0.001311, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001691/0.001691, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.568/1.568, allocations: 205.1 MB / 222.4 MB, free: 4.594 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3217/0.3217, allocations: 39.94 MB / 309.7 MB, free: 9.242 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.2. 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.00149/0.00149, allocations: 70.34 kB / 377.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.127, allocations: 56.88 MB / 434.5 MB, free: 3.68 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.3993/0.5263, allocations: 179.7 MB / 0.5998 GB, free: 15.54 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01092/0.5373, allocations: 8.175 MB / 0.6078 GB, free: 7.348 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007428/0.5381, allocations: 23.88 kB / 0.6078 GB, free: 7.324 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001006/0.5391, allocations: 318 kB / 0.6081 GB, free: 7.012 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003778/0.5429, allocations: 1.478 MB / 0.6096 GB, free: 5.531 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00283/0.5458, allocations: 1.148 MB / 0.6107 GB, free: 4.395 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002003/0.5478, allocations: 1.848 MB / 0.6125 GB, free: 2.543 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006108/0.5484, allocations: 464.7 kB / 0.6129 GB, free: 2.09 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002542/0.5509, allocations: 1.229 MB / 0.6141 GB, free: 0.8633 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008798/0.5518, allocations: 0.6579 MB / 0.6148 GB, free: 208 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001182/0.552, allocations: 60 kB / 0.6148 GB, free: 148 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001598/0.5536, allocations: 0.7334 MB / 0.6156 GB, free: 15.41 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002724/0.5539, allocations: 267.2 kB / 0.6158 GB, free: 15.15 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004331/0.5543, allocations: 402.2 kB / 0.6162 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001838/0.5561, allocations: 1.402 MB / 0.6176 GB, free: 13.35 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.5562, allocations: 0 / 0.6176 GB, free: 13.35 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.5562, allocations: 0 / 0.6176 GB, free: 13.35 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.5562, allocations: 4 kB / 0.6176 GB, free: 13.34 MB / 494.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.002166/0.5584, allocations: 1.131 MB / 0.6187 GB, free: 12.16 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.959e-05/0.5584, allocations: 15.89 kB / 0.6187 GB, free: 12.15 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008151/0.5593, allocations: 135.1 kB / 0.6188 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007731/0.56, allocations: 0.5118 MB / 0.6193 GB, free: 11.46 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001121/0.5602, allocations: 100.4 kB / 0.6194 GB, free: 11.35 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.5603, allocations: 51.98 kB / 0.6195 GB, free: 11.3 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001238/0.5615, allocations: 0.8097 MB / 0.6203 GB, free: 10.42 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.45e-05/0.5615, allocations: 11.92 kB / 0.6203 GB, free: 10.41 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.239e-05/0.5616, allocations: 20 kB / 0.6203 GB, free: 10.39 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.298e-05/0.5617, allocations: 44.97 kB / 0.6203 GB, free: 10.34 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001016/0.5627, allocations: 0.6127 MB / 0.6209 GB, free: 9.73 MB / 494.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.004399/0.5671, allocations: 3.993 MB / 0.6248 GB, free: 5.488 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005705/0.5677, allocations: 363.5 kB / 0.6252 GB, free: 5.125 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002894/0.568, allocations: 168.6 kB / 0.6253 GB, free: 4.961 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004762/0.5685, allocations: 361.4 kB / 0.6257 GB, free: 4.555 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.568e-05/0.5685, allocations: 42.83 kB / 0.6257 GB, free: 4.504 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 1.804e-06/0.5685, allocations: 3.938 kB / 0.6257 GB, free: 4.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.005548/0.5741, allocations: 1.664 MB / 0.6273 GB, free: 2.77 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.348e-05/0.5742, allocations: 132.5 kB / 0.6275 GB, free: 2.609 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007195/0.5749, allocations: 0.6249 MB / 0.6281 GB, free: 1.977 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.585e-05/0.575, allocations: 37.7 kB / 0.6281 GB, free: 1.934 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002655/0.5753, allocations: 363 kB / 0.6285 GB, free: 1.574 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/0.5754, allocations: 142 kB / 0.6286 GB, free: 1.434 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002086/0.5756, allocations: 154.5 kB / 0.6287 GB, free: 1.277 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.5758, allocations: 378.8 kB / 0.6291 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003404/0.5761, allocations: 205.9 kB / 0.6293 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005463/0.5767, allocations: 0.5163 MB / 0.6298 GB, free: 36 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2994/0.876, allocations: 0.7324 MB / 0.6305 GB, free: 51.64 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.8761, allocations: 3.188 kB / 0.6305 GB, free: 51.64 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001574/0.8777, allocations: 0.8826 MB / 0.6314 GB, free: 51.59 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.8777, allocations: 9.375 kB / 0.6314 GB, free: 51.59 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/0.8777, allocations: 10.28 kB / 0.6314 GB, free: 51.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001356/0.8791, allocations: 315.7 kB / 0.6317 GB, free: 51.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003601/0.8795, allocations: 121.6 kB / 0.6318 GB, free: 51.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008859/0.8804, allocations: 0.933 MB / 0.6327 GB, free: 51.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005333/0.8809, allocations: 30.09 kB / 0.6328 GB, free: 51.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.778e-05/0.881, allocations: 68.27 kB / 0.6328 GB, free: 51.07 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.000355/0.8814, allocations: 247.2 kB / 0.6331 GB, free: 50.96 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000132/0.8815, allocations: 75.59 kB / 0.6331 GB, free: 50.96 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001431/0.8829, allocations: 0.678 MB / 0.6338 GB, free: 50.89 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.883, allocations: 4.906 kB / 0.6338 GB, free: 50.89 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.883, allocations: 0 / 0.6338 GB, free: 50.89 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.883, allocations: 2.016 kB / 0.6338 GB, free: 50.89 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001818/0.8848, allocations: 1.612 MB / 0.6354 GB, free: 50.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.8848, allocations: 5.578 kB / 0.6354 GB, free: 50.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009988/0.8858, allocations: 207.9 kB / 0.6356 GB, free: 50.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.49e-05/0.8859, allocations: 26.95 kB / 0.6356 GB, free: 50.17 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.966e-05/0.886, allocations: 23.41 kB / 0.6356 GB, free: 50.17 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001583/0.8876, allocations: 2.877 MB / 0.6384 GB, free: 47.43 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.8876, allocations: 5.453 kB / 0.6384 GB, free: 47.43 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001168/0.8888, allocations: 0.8011 MB / 0.6392 GB, free: 47.25 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002416/0.889, allocations: 191 kB / 0.6394 GB, free: 47.12 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.768e-05/0.8891, allocations: 13.61 kB / 0.6394 GB, free: 47.12 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003766/0.8895, allocations: 18.22 kB / 0.6394 GB, free: 47.12 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.748e-05/0.8896, allocations: 35.05 kB / 0.6395 GB, free: 47.12 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.21e-05/0.8897, allocations: 44.38 kB / 0.6395 GB, free: 47.12 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004633/0.8901, allocations: 438.2 kB / 0.6399 GB, free: 47.02 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.8901, allocations: 0.9375 kB / 0.6399 GB, free: 47.02 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009685/0.8911, allocations: 296.8 kB / 0.6402 GB, free: 47.02 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.0008424/0.892, allocations: 371.9 kB / 0.6406 GB, free: 46.93 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001169/0.8932, allocations: 0.5925 MB / 0.6412 GB, free: 46.92 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.8932, allocations: 4.391 kB / 0.6412 GB, free: 46.92 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009046/0.8941, allocations: 420.3 kB / 0.6416 GB, free: 46.81 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001556/0.8956, allocations: 373 kB / 0.6419 GB, free: 46.79 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001879/0.8975, allocations: 1.324 MB / 0.6432 GB, free: 46.31 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003435/0.8979, allocations: 0.931 MB / 0.6441 GB, free: 45.61 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009783/0.8989, allocations: 265.2 kB / 0.6444 GB, free: 45.57 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002936/0.8992, allocations: 99.53 kB / 0.6445 GB, free: 45.57 MB / 494.1 MB Notification: Performance of SimCode: time 4.71e-07/0.8992, allocations: 0 / 0.6445 GB, free: 45.57 MB / 494.1 MB Notification: Performance of Templates: time 0.03286/0.9321, allocations: 18.34 MB / 0.6624 GB, free: 42 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1)