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.0009788/0.0009788, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.01016/0.01016, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.74/1.74, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.3719/0.3719, allocations: 40 MB / 310.7 MB, free: 9.547 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.0005783/0.0005784, allocations: 12 kB / 379.5 MB, free: 11.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1344, allocations: 57.95 MB / 437.4 MB, free: 1.906 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.4145/0.5489, allocations: 175.8 MB / 0.5988 GB, free: 3.637 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01092/0.5599, allocations: 8.31 MB / 0.607 GB, free: 11.32 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001288/0.5612, allocations: 19.81 kB / 0.607 GB, free: 11.3 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00108/0.5623, allocations: 278.5 kB / 0.6072 GB, free: 11.03 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004798/0.5671, allocations: 1.324 MB / 0.6085 GB, free: 9.703 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003083/0.5702, allocations: 0.9992 MB / 0.6095 GB, free: 8.715 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004108/0.5743, allocations: 2.71 MB / 0.6122 GB, free: 6.004 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008243/0.5752, allocations: 406.2 kB / 0.6125 GB, free: 5.609 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003154/0.5783, allocations: 1.111 MB / 0.6136 GB, free: 4.5 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001092/0.5794, allocations: 0.6812 MB / 0.6143 GB, free: 3.816 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.878e-05/0.5796, allocations: 32 kB / 0.6143 GB, free: 3.785 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001903/0.5815, allocations: 0.6981 MB / 0.615 GB, free: 3.086 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002482/0.5817, allocations: 239.2 kB / 0.6152 GB, free: 2.852 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004022/0.5821, allocations: 395.9 kB / 0.6156 GB, free: 2.457 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001614/0.5838, allocations: 1.371 MB / 0.6169 GB, free: 1.082 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.5838, allocations: 0 / 0.6169 GB, free: 1.082 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.5838, allocations: 0 / 0.6169 GB, free: 1.082 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.03e-05/0.5838, allocations: 0 / 0.6169 GB, free: 1.082 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.001958/0.5858, allocations: 0.9907 MB / 0.6179 GB, free: 44 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.5858, allocations: 11.97 kB / 0.6179 GB, free: 32 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007972/0.5866, allocations: 135.1 kB / 0.6181 GB, free: 15.9 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007894/0.5874, allocations: 0.508 MB / 0.6186 GB, free: 15.35 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001098/0.5875, allocations: 100.4 kB / 0.6186 GB, free: 15.24 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.5877, allocations: 51.98 kB / 0.6187 GB, free: 15.19 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001285/0.5889, allocations: 0.8174 MB / 0.6195 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.589, allocations: 0 / 0.6195 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-05/0.5891, allocations: 27.98 kB / 0.6195 GB, free: 14.27 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.539e-05/0.5891, allocations: 36.97 kB / 0.6196 GB, free: 14.23 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001019/0.5901, allocations: 0.6204 MB / 0.6202 GB, free: 13.61 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.005088/0.5952, allocations: 3.994 MB / 0.6241 GB, free: 9.367 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005648/0.5958, allocations: 343.6 kB / 0.6244 GB, free: 9.023 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002674/0.5961, allocations: 175.3 kB / 0.6246 GB, free: 8.852 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004527/0.5966, allocations: 365.5 kB / 0.6249 GB, free: 8.441 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/0.5966, allocations: 38.78 kB / 0.6249 GB, free: 8.395 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 2.986e-06/0.5966, allocations: 4 kB / 0.6249 GB, free: 8.391 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.005775/0.6024, allocations: 1.67 MB / 0.6266 GB, free: 6.648 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.32e-05/0.6025, allocations: 140.5 kB / 0.6267 GB, free: 6.48 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007855/0.6033, allocations: 0.6171 MB / 0.6273 GB, free: 5.855 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.16e-05/0.6034, allocations: 33.7 kB / 0.6273 GB, free: 5.816 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002583/0.6037, allocations: 366.9 kB / 0.6277 GB, free: 5.453 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001241/0.6038, allocations: 146 kB / 0.6278 GB, free: 5.309 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.921e-05/0.6039, allocations: 57.69 kB / 0.6279 GB, free: 5.246 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001995/0.6041, allocations: 374.8 kB / 0.6282 GB, free: 4.871 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003469/0.6045, allocations: 205.9 kB / 0.6284 GB, free: 4.672 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006286/0.6051, allocations: 0.5125 MB / 0.6289 GB, free: 4.016 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009441/0.6061, allocations: 0.7407 MB / 0.6297 GB, free: 3.137 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.6061, allocations: 4 kB / 0.6297 GB, free: 3.133 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001679/0.6078, allocations: 0.8838 MB / 0.6305 GB, free: 2.238 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.6078, allocations: 15.94 kB / 0.6306 GB, free: 2.223 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/0.6078, allocations: 12.16 kB / 0.6306 GB, free: 2.211 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00143/0.6093, allocations: 316.5 kB / 0.6309 GB, free: 1.898 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003715/0.6096, allocations: 123.8 kB / 0.631 GB, free: 1.777 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001164/0.6108, allocations: 0.9337 MB / 0.6319 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006154/0.6114, allocations: 35.98 kB / 0.6319 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.291e-05/0.6116, allocations: 71.98 kB / 0.632 GB, free: 0.7148 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.0004023/0.612, allocations: 246.1 kB / 0.6322 GB, free: 476 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001439/0.6121, allocations: 75.09 kB / 0.6323 GB, free: 400 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2735/0.8856, allocations: 0.6779 MB / 0.633 GB, free: 158 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.8857, allocations: 2.969 kB / 0.633 GB, free: 158 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.8857, allocations: 1.562 kB / 0.633 GB, free: 158 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.8857, allocations: 0 / 0.633 GB, free: 158 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002077/0.8878, allocations: 1.612 MB / 0.6345 GB, free: 157.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.8878, allocations: 2.281 kB / 0.6345 GB, free: 157.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/0.8888, allocations: 207.5 kB / 0.6347 GB, free: 157.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.927e-05/0.8889, allocations: 24.05 kB / 0.6348 GB, free: 157.3 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.819e-05/0.889, allocations: 22.98 kB / 0.6348 GB, free: 157.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001582/0.8905, allocations: 2.684 MB / 0.6374 GB, free: 154.7 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.8906, allocations: 7.344 kB / 0.6374 GB, free: 154.7 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001365/0.8919, allocations: 0.8002 MB / 0.6382 GB, free: 154.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000376/0.8923, allocations: 198 kB / 0.6384 GB, free: 154.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.904e-05/0.8924, allocations: 13.41 kB / 0.6384 GB, free: 154.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004252/0.8929, allocations: 28.02 kB / 0.6384 GB, free: 154.4 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.893, allocations: 33.89 kB / 0.6385 GB, free: 154.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.553e-05/0.8931, allocations: 49.66 kB / 0.6385 GB, free: 154.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005708/0.8936, allocations: 437.3 kB / 0.6389 GB, free: 154.3 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.8936, allocations: 0 / 0.6389 GB, free: 154.3 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001227/0.8949, allocations: 297.9 kB / 0.6392 GB, free: 154.3 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.001021/0.8959, allocations: 366 kB / 0.6396 GB, free: 154.3 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001111/0.897, allocations: 0.5444 MB / 0.6401 GB, free: 154.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.897, allocations: 3 kB / 0.6401 GB, free: 154.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008758/0.8979, allocations: 416.8 kB / 0.6405 GB, free: 154.1 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001768/0.8997, allocations: 342.9 kB / 0.6408 GB, free: 154.1 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002017/0.9017, allocations: 1.618 MB / 0.6424 GB, free: 153.4 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000376/0.9021, allocations: 0.9304 MB / 0.6433 GB, free: 152.7 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008964/0.903, allocations: 263.8 kB / 0.6436 GB, free: 152.6 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002778/0.9033, allocations: 109.3 kB / 0.6437 GB, free: 152.6 MB / 494.1 MB Notification: Performance of SimCode: time 3.31e-07/0.9033, allocations: 0 / 0.6437 GB, free: 152.6 MB / 494.1 MB Notification: Performance of Templates: time 0.02784/0.9312, allocations: 17.65 MB / 0.6609 GB, free: 151.3 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: