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.002007/0.002007, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001394/0.001394, allocations: 193.4 kB / 16.25 MB, free: 6.617 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.603/1.603, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.353/0.353, allocations: 39.93 MB / 309.4 MB, free: 9.34 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.001442/0.001442, allocations: 67.91 kB / 377.1 MB, free: 13.01 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1237, allocations: 56.87 MB / 434 MB, free: 4.035 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.3973/0.521, allocations: 177.9 MB / 0.5976 GB, free: 1.73 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01188/0.533, allocations: 8.235 MB / 0.6056 GB, free: 9.48 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001588/0.5347, allocations: 23.81 kB / 0.6056 GB, free: 9.457 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001197/0.536, allocations: 282.5 kB / 0.6059 GB, free: 9.18 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004991/0.541, allocations: 1.366 MB / 0.6072 GB, free: 7.816 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003947/0.5449, allocations: 1.062 MB / 0.6083 GB, free: 6.766 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003108/0.5481, allocations: 1.853 MB / 0.6101 GB, free: 4.91 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009193/0.549, allocations: 460.8 kB / 0.6105 GB, free: 4.461 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003334/0.5524, allocations: 1.217 MB / 0.6117 GB, free: 3.246 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001191/0.5536, allocations: 0.689 MB / 0.6124 GB, free: 2.555 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001443/0.5537, allocations: 64 kB / 0.6125 GB, free: 2.492 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002108/0.5558, allocations: 0.7489 MB / 0.6132 GB, free: 1.742 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003303/0.5562, allocations: 271.2 kB / 0.6134 GB, free: 1.477 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005195/0.5567, allocations: 406.2 kB / 0.6138 GB, free: 1.078 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002287/0.559, allocations: 1.418 MB / 0.6152 GB, free: 15.66 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.559, allocations: 0 / 0.6152 GB, free: 15.66 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.559, allocations: 0 / 0.6152 GB, free: 15.66 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.421e-05/0.5591, allocations: 0 / 0.6152 GB, free: 15.66 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.00232/0.5614, allocations: 1.135 MB / 0.6163 GB, free: 14.47 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.5614, allocations: 15.89 kB / 0.6163 GB, free: 14.46 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008588/0.5623, allocations: 131.1 kB / 0.6165 GB, free: 14.33 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007853/0.5631, allocations: 0.5118 MB / 0.617 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/0.5632, allocations: 100.4 kB / 0.6171 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.5633, allocations: 52 kB / 0.6171 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00124/0.5646, allocations: 0.8135 MB / 0.6179 GB, free: 12.72 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.311e-05/0.5646, allocations: 4 kB / 0.6179 GB, free: 12.72 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.817e-05/0.5647, allocations: 23.98 kB / 0.6179 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-05/0.5648, allocations: 44.98 kB / 0.618 GB, free: 12.65 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009704/0.5658, allocations: 0.6165 MB / 0.6186 GB, free: 12.04 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.004599/0.5704, allocations: 3.987 MB / 0.6225 GB, free: 7.805 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005916/0.571, allocations: 367.7 kB / 0.6228 GB, free: 7.441 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002682/0.5712, allocations: 170.9 kB / 0.623 GB, free: 7.273 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004566/0.5717, allocations: 361.4 kB / 0.6233 GB, free: 6.867 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.5718, allocations: 38.84 kB / 0.6234 GB, free: 6.82 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 3.557e-06/0.5718, allocations: 0 / 0.6234 GB, free: 6.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.00561/0.5774, allocations: 1.666 MB / 0.625 GB, free: 5.086 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.434e-05/0.5775, allocations: 132.5 kB / 0.6251 GB, free: 4.926 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007154/0.5782, allocations: 0.621 MB / 0.6257 GB, free: 4.297 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.375e-05/0.5783, allocations: 37.7 kB / 0.6258 GB, free: 4.254 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002581/0.5785, allocations: 370.8 kB / 0.6261 GB, free: 3.887 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/0.5787, allocations: 142 kB / 0.6263 GB, free: 3.746 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002406/0.5789, allocations: 154.5 kB / 0.6264 GB, free: 3.59 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.5791, allocations: 374.8 kB / 0.6268 GB, free: 3.215 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003449/0.5794, allocations: 205.9 kB / 0.627 GB, free: 3.016 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005456/0.58, allocations: 0.5125 MB / 0.6275 GB, free: 2.359 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008803/0.5809, allocations: 0.7446 MB / 0.6282 GB, free: 1.477 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.5809, allocations: 4 kB / 0.6282 GB, free: 1.473 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001394/0.5823, allocations: 0.8792 MB / 0.629 GB, free: 0.582 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.5823, allocations: 12 kB / 0.6291 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.5823, allocations: 8.844 kB / 0.6291 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001357/0.5837, allocations: 317.5 kB / 0.6294 GB, free: 256 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003895/0.5841, allocations: 123.8 kB / 0.6295 GB, free: 132 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2192/0.8033, allocations: 0.923 MB / 0.6304 GB, free: 160.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000688/0.804, allocations: 45.42 kB / 0.6304 GB, free: 160.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.4e-05/0.8041, allocations: 69.17 kB / 0.6305 GB, free: 160.9 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.0003169/0.8044, allocations: 244.5 kB / 0.6307 GB, free: 160.8 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.8045, allocations: 67.91 kB / 0.6308 GB, free: 160.8 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0013/0.8058, allocations: 0.6819 MB / 0.6315 GB, free: 160.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.8058, allocations: 2.812 kB / 0.6315 GB, free: 160.7 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.8058, allocations: 4.266 kB / 0.6315 GB, free: 160.7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.8059, allocations: 7.719 kB / 0.6315 GB, free: 160.7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00168/0.8075, allocations: 1.605 MB / 0.633 GB, free: 160 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.8076, allocations: 3.938 kB / 0.633 GB, free: 160 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009484/0.8085, allocations: 205.5 kB / 0.6332 GB, free: 160 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.266e-05/0.8086, allocations: 29.7 kB / 0.6333 GB, free: 160 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.409e-05/0.8086, allocations: 13.12 kB / 0.6333 GB, free: 160 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001325/0.81, allocations: 2.879 MB / 0.6361 GB, free: 157.3 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.81, allocations: 10.28 kB / 0.6361 GB, free: 157.3 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009317/0.8109, allocations: 0.8022 MB / 0.6369 GB, free: 157 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001975/0.8111, allocations: 194.6 kB / 0.6371 GB, free: 156.9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.537e-05/0.8112, allocations: 14.14 kB / 0.6371 GB, free: 156.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003923/0.8116, allocations: 28.94 kB / 0.6371 GB, free: 156.9 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.611e-05/0.8117, allocations: 37.16 kB / 0.6371 GB, free: 156.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.274e-05/0.8118, allocations: 48.14 kB / 0.6372 GB, free: 156.9 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003665/0.8122, allocations: 442.6 kB / 0.6376 GB, free: 156.7 MB / 494.1 MB Notification: Performance of sort global known variables: time 7.52e-07/0.8122, allocations: 0 / 0.6376 GB, free: 156.7 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000815/0.813, allocations: 297.1 kB / 0.6379 GB, free: 156.7 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.0007958/0.8138, allocations: 369.5 kB / 0.6383 GB, free: 156.6 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001016/0.8148, allocations: 0.6024 MB / 0.6388 GB, free: 156.4 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.8148, allocations: 3.75 kB / 0.6388 GB, free: 156.4 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008472/0.8157, allocations: 408.8 kB / 0.6392 GB, free: 156.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001491/0.8172, allocations: 368.2 kB / 0.6396 GB, free: 156.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001712/0.8189, allocations: 1.534 MB / 0.6411 GB, free: 155.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002996/0.8192, allocations: 0.9313 MB / 0.642 GB, free: 154.6 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008817/0.8201, allocations: 256.7 kB / 0.6422 GB, free: 154.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002718/0.8204, allocations: 101.6 kB / 0.6423 GB, free: 154.5 MB / 494.1 MB Notification: Performance of SimCode: time 3.81e-07/0.8204, allocations: 0 / 0.6423 GB, free: 154.5 MB / 494.1 MB Notification: Performance of Templates: time 0.03098/0.8514, allocations: 18.27 MB / 0.6602 GB, free: 153.1 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)