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.001741/0.001741, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001353/0.001353, allocations: 197.2 kB / 16.14 MB, free: 6.652 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.586/1.586, allocations: 205.1 MB / 222 MB, free: 4.727 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.3453/0.3453, allocations: 39.93 MB / 309.3 MB, free: 9.645 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.001334/0.001334, allocations: 66.41 kB / 376.9 MB, free: 13.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1282, allocations: 56.88 MB / 433.8 MB, free: 4.41 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.4065/0.5348, allocations: 178.2 MB / 0.5976 GB, free: 1.785 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01141/0.5462, allocations: 8.435 MB / 0.6059 GB, free: 9.34 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001035/0.5473, allocations: 27.75 kB / 0.6059 GB, free: 9.312 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001056/0.5484, allocations: 270.5 kB / 0.6062 GB, free: 9.047 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004108/0.5525, allocations: 1.312 MB / 0.6074 GB, free: 7.734 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003105/0.5556, allocations: 1.014 MB / 0.6084 GB, free: 6.734 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003226/0.5589, allocations: 2.713 MB / 0.6111 GB, free: 4.02 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007682/0.5597, allocations: 403.6 kB / 0.6115 GB, free: 3.625 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003018/0.5627, allocations: 1.101 MB / 0.6125 GB, free: 2.523 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001048/0.5638, allocations: 0.689 MB / 0.6132 GB, free: 1.832 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001079/0.5639, allocations: 36 kB / 0.6132 GB, free: 1.797 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001715/0.5656, allocations: 0.6958 MB / 0.6139 GB, free: 1.102 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002861/0.5659, allocations: 243.2 kB / 0.6142 GB, free: 0.8633 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004963/0.5664, allocations: 374.2 kB / 0.6145 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00187/0.5683, allocations: 1.391 MB / 0.6159 GB, free: 15.1 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.5683, allocations: 4 kB / 0.6159 GB, free: 15.09 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.5683, allocations: 0 / 0.6159 GB, free: 15.09 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.767e-06/0.5683, allocations: 0 / 0.6159 GB, free: 15.09 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.00236/0.5707, allocations: 1.131 MB / 0.617 GB, free: 13.92 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.5707, allocations: 11.97 kB / 0.617 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008173/0.5716, allocations: 135.1 kB / 0.6171 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007972/0.5724, allocations: 0.5079 MB / 0.6176 GB, free: 13.22 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001147/0.5725, allocations: 100.4 kB / 0.6177 GB, free: 13.11 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.727e-05/0.5726, allocations: 52 kB / 0.6178 GB, free: 13.06 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001232/0.5738, allocations: 0.8172 MB / 0.6186 GB, free: 12.17 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.855e-05/0.5739, allocations: 7.938 kB / 0.6186 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.368e-05/0.5739, allocations: 24 kB / 0.6186 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.637e-05/0.574, allocations: 40.98 kB / 0.6186 GB, free: 12.1 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001005/0.575, allocations: 0.6166 MB / 0.6192 GB, free: 11.48 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.004681/0.5797, allocations: 3.99 MB / 0.6231 GB, free: 7.242 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006283/0.5804, allocations: 355.6 kB / 0.6235 GB, free: 6.887 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002702/0.5806, allocations: 170.7 kB / 0.6236 GB, free: 6.719 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004677/0.5811, allocations: 365.4 kB / 0.624 GB, free: 6.309 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.959e-05/0.5812, allocations: 38.84 kB / 0.624 GB, free: 6.262 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 2.795e-06/0.5812, allocations: 0 / 0.624 GB, free: 6.262 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.007348/0.5885, allocations: 1.667 MB / 0.6256 GB, free: 4.527 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.87e-05/0.5887, allocations: 136.5 kB / 0.6258 GB, free: 4.363 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009313/0.5896, allocations: 0.6132 MB / 0.6264 GB, free: 3.742 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.119e-05/0.5897, allocations: 37.7 kB / 0.6264 GB, free: 3.699 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003285/0.59, allocations: 366.8 kB / 0.6268 GB, free: 3.336 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001445/0.5902, allocations: 146 kB / 0.6269 GB, free: 3.191 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002483/0.5905, allocations: 154.5 kB / 0.627 GB, free: 3.035 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002479/0.5907, allocations: 378.8 kB / 0.6274 GB, free: 2.656 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003833/0.5911, allocations: 205.8 kB / 0.6276 GB, free: 2.457 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006634/0.5918, allocations: 0.5125 MB / 0.6281 GB, free: 1.801 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/0.5929, allocations: 0.7408 MB / 0.6288 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.5929, allocations: 4 kB / 0.6288 GB, free: 0.918 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001504/0.5944, allocations: 0.8912 MB / 0.6297 GB, free: 16 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.5944, allocations: 8 kB / 0.6297 GB, free: 8 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/0.5945, allocations: 10.27 kB / 0.6297 GB, free: 0 / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001632/0.8667, allocations: 310.7 kB / 0.63 GB, free: 54.56 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000453/0.8672, allocations: 119.7 kB / 0.6301 GB, free: 54.56 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001072/0.8683, allocations: 0.9326 MB / 0.631 GB, free: 54.04 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006301/0.8689, allocations: 42.92 kB / 0.6311 GB, free: 54.04 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.291e-05/0.869, allocations: 66.38 kB / 0.6311 GB, free: 54.04 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.0003541/0.8694, allocations: 252.4 kB / 0.6314 GB, free: 53.93 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/0.8695, allocations: 68.02 kB / 0.6314 GB, free: 53.93 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001368/0.8709, allocations: 0.6795 MB / 0.6321 GB, free: 53.86 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.8709, allocations: 1.875 kB / 0.6321 GB, free: 53.86 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.8709, allocations: 4.609 kB / 0.6321 GB, free: 53.86 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.8709, allocations: 1.125 kB / 0.6321 GB, free: 53.86 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001897/0.8728, allocations: 1.611 MB / 0.6337 GB, free: 53.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.8728, allocations: 0 / 0.6337 GB, free: 53.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001047/0.8739, allocations: 212.7 kB / 0.6339 GB, free: 53.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.362e-05/0.874, allocations: 23.58 kB / 0.6339 GB, free: 53.15 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.33e-05/0.874, allocations: 20.55 kB / 0.6339 GB, free: 53.15 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001384/0.8754, allocations: 2.688 MB / 0.6366 GB, free: 50.59 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.8754, allocations: 5.859 kB / 0.6366 GB, free: 50.59 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.8765, allocations: 0.8052 MB / 0.6374 GB, free: 50.41 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000246/0.8767, allocations: 186.6 kB / 0.6375 GB, free: 50.31 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.722e-05/0.8768, allocations: 10.47 kB / 0.6375 GB, free: 50.31 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004302/0.8773, allocations: 32.34 kB / 0.6376 GB, free: 50.31 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.697e-05/0.8774, allocations: 44.33 kB / 0.6376 GB, free: 50.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.007e-05/0.8775, allocations: 41.12 kB / 0.6377 GB, free: 50.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004652/0.8779, allocations: 439.7 kB / 0.6381 GB, free: 50.21 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.8779, allocations: 2.031 kB / 0.6381 GB, free: 50.21 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009431/0.8789, allocations: 294.1 kB / 0.6384 GB, free: 50.21 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.0008124/0.8797, allocations: 362.3 kB / 0.6387 GB, free: 50.12 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001037/0.8808, allocations: 0.5482 MB / 0.6392 GB, free: 50.11 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.8808, allocations: 1.719 kB / 0.6392 GB, free: 50.11 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008916/0.8817, allocations: 417.7 kB / 0.6396 GB, free: 50 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001532/0.8832, allocations: 346.8 kB / 0.64 GB, free: 50 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001906/0.8851, allocations: 1.523 MB / 0.6415 GB, free: 49.26 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.8855, allocations: 0.9326 MB / 0.6424 GB, free: 48.55 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009683/0.8864, allocations: 263 kB / 0.6426 GB, free: 48.48 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000287/0.8867, allocations: 101.2 kB / 0.6427 GB, free: 48.46 MB / 494.1 MB Notification: Performance of SimCode: time 7.01e-07/0.8867, allocations: 2 kB / 0.6427 GB, free: 48.46 MB / 494.1 MB Notification: Performance of Templates: time 0.03087/0.9176, allocations: 17.75 MB / 0.66 GB, free: 44.93 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)