Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.Tests.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) 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(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001342/0.001342, 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.001772/0.001772, allocations: 195.6 kB / 16.14 MB, free: 6.66 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.551/1.551, allocations: 205.1 MB / 222 MB, free: 4.746 MB / 174.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: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 47.92 kB / 278.1 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2552, allocations: 46.63 MB / 324.7 MB, free: 1.949 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.5122/0.7674, allocations: 170.6 MB / 495.3 MB, free: 428 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003498/0.771, allocations: 3.237 MB / 498.5 MB, free: 324 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000183/0.7712, allocations: 9.281 kB / 498.5 MB, free: 320 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006618/0.772, allocations: 148.5 kB / 498.7 MB, free: 316 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008214/0.7728, allocations: 380.2 kB / 499.1 MB, free: 296 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007797/0.7736, allocations: 321.6 kB / 499.4 MB, free: 276 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001073/0.7747, allocations: 1.345 MB / 0.489 GB, free: 272 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000176/0.7749, allocations: 77.28 kB / 0.4891 GB, free: 260 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001829/0.7767, allocations: 0.7123 MB / 0.4898 GB, free: 232 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003136/0.777, allocations: 291.9 kB / 0.49 GB, free: 228 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.423e-05/0.7771, allocations: 17.72 kB / 0.4901 GB, free: 228 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002833/0.7774, allocations: 105.9 kB / 0.4902 GB, free: 228 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001114/0.7775, allocations: 87.11 kB / 0.4902 GB, free: 228 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001886/0.7777, allocations: 171.7 kB / 0.4904 GB, free: 228 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005387/0.7782, allocations: 0.5007 MB / 0.4909 GB, free: 204 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.7783, allocations: 0 / 0.4909 GB, free: 204 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.7783, allocations: 8.422 kB / 0.4909 GB, free: 200 kB / 382.1 MB Notification: Performance of Transformations before backend: time 5.411e-06/0.7783, allocations: 0 / 0.4909 GB, free: 200 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009227/0.7792, allocations: 0.5832 MB / 0.4915 GB, free: 15.76 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.7792, allocations: 8.344 kB / 0.4915 GB, free: 15.76 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002999/0.7796, allocations: 48.66 kB / 0.4915 GB, free: 15.74 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003404/0.7799, allocations: 284 kB / 0.4918 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.7799, allocations: 25.41 kB / 0.4918 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.339e-05/0.78, allocations: 25.08 kB / 0.4918 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004596/0.7804, allocations: 312 kB / 0.4921 GB, free: 15.42 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.7805, allocations: 6.75 kB / 0.4921 GB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.751e-05/0.7805, allocations: 12.19 kB / 0.4922 GB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.7805, allocations: 6.469 kB / 0.4922 GB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003097/0.7808, allocations: 211.5 kB / 0.4924 GB, free: 15.41 MB / 398.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.001761/0.7826, allocations: 1.578 MB / 0.4939 GB, free: 14.22 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003056/0.7829, allocations: 175.7 kB / 0.4941 GB, free: 14.2 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001494/0.7831, allocations: 100.6 kB / 0.4942 GB, free: 14.18 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.027e-05/0.7831, allocations: 4.609 kB / 0.4942 GB, free: 14.18 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/0.7832, allocations: 37.59 kB / 0.4942 GB, free: 14.14 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.183e-06/0.7832, allocations: 2.094 kB / 0.4942 GB, free: 14.14 MB / 398.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.005604/0.7888, allocations: 1.627 MB / 0.4958 GB, free: 13.39 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.7888, allocations: 53.28 kB / 0.4958 GB, free: 13.33 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000255/0.7891, allocations: 253.6 kB / 0.4961 GB, free: 13.23 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.588e-05/0.7892, allocations: 33.94 kB / 0.4961 GB, free: 13.2 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.7893, allocations: 175.3 kB / 0.4963 GB, free: 13.07 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.393e-05/0.7894, allocations: 106.9 kB / 0.4964 GB, free: 13 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/0.7895, allocations: 86.02 kB / 0.4965 GB, free: 12.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.7897, allocations: 333.5 kB / 0.4968 GB, free: 12.66 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001629/0.7898, allocations: 90.52 kB / 0.4969 GB, free: 12.66 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002328/0.7901, allocations: 191.6 kB / 0.4971 GB, free: 12.55 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004556/0.7906, allocations: 306.7 kB / 0.4974 GB, free: 12.42 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.7906, allocations: 4 kB / 0.4974 GB, free: 12.42 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006616/0.7912, allocations: 391.4 kB / 0.4977 GB, free: 12.36 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/0.7913, allocations: 9.062 kB / 0.4977 GB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.7913, allocations: 7.188 kB / 0.4977 GB, free: 12.35 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002515/0.7915, allocations: 73.77 kB / 0.4978 GB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003471/0.7919, allocations: 83.23 kB / 0.4979 GB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001437/0.7933, allocations: 1.848 MB / 0.4997 GB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002518/0.7936, allocations: 31.39 kB / 0.4997 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.234e-05/0.7937, allocations: 41.67 kB / 0.4998 GB, free: 10.55 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002106/0.7939, allocations: 153.6 kB / 0.4999 GB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.644e-05/0.794, allocations: 30.28 kB / 0.4999 GB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009976/0.795, allocations: 432.8 kB / 0.5004 GB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.795, allocations: 1.844 kB / 0.5004 GB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.795, allocations: 3.828 kB / 0.5004 GB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005806/0.7956, allocations: 0.5565 MB / 0.5009 GB, free: 9.871 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001102/0.7967, allocations: 0.7365 MB / 0.5016 GB, free: 9.535 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.7967, allocations: 1.844 kB / 0.5016 GB, free: 9.535 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003103/0.797, allocations: 72.2 kB / 0.5017 GB, free: 9.531 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.179e-05/0.7971, allocations: 24.33 kB / 0.5017 GB, free: 9.52 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.888e-05/0.7972, allocations: 12.44 kB / 0.5017 GB, free: 9.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009069/0.7981, allocations: 1.283 MB / 0.503 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.7981, allocations: 1.781 kB / 0.503 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000644/0.7987, allocations: 484.2 kB / 0.5034 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.916e-05/0.7988, allocations: 100.7 kB / 0.5035 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.098e-05/0.7989, allocations: 6.094 kB / 0.5035 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002592/0.7992, allocations: 18.31 kB / 0.5036 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.579e-05/0.7992, allocations: 36.56 kB / 0.5036 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.252e-05/0.7993, allocations: 29.39 kB / 0.5036 GB, free: 7.961 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002167/0.7995, allocations: 186.8 kB / 0.5038 GB, free: 7.883 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7995, allocations: 0 / 0.5038 GB, free: 7.883 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005537/0.8001, allocations: 128.4 kB / 0.5039 GB, free: 7.875 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (26): * Single equations (assignments): 25 * 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): 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.0003852/0.8005, allocations: 156.8 kB / 0.5041 GB, free: 7.777 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006613/0.8012, allocations: 366.6 kB / 0.5044 GB, free: 7.664 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.8012, allocations: 0.8125 kB / 0.5044 GB, free: 7.664 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002787/0.8015, allocations: 232.4 kB / 0.5047 GB, free: 7.551 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009665/0.8024, allocations: 170.2 kB / 0.5048 GB, free: 7.523 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001329/0.8038, allocations: 0.7932 MB / 0.5056 GB, free: 7.062 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003787/0.8042, allocations: 0.7711 MB / 0.5063 GB, free: 6.359 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005687/0.8047, allocations: 115.9 kB / 0.5065 GB, free: 6.312 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002084/0.805, allocations: 63.14 kB / 0.5065 GB, free: 6.297 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.805, allocations: 0 / 0.5065 GB, free: 6.297 MB / 398.1 MB Notification: Performance of Templates: time 0.01455/0.8195, allocations: 8.433 MB / 0.5147 GB, free: 1.172 MB / 398.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.sim & ./Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe 2>&1)