Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.00128/0.00128, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00112/0.00112, allocations: 194.5 kB / 16.14 MB, free: 6.707 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.511/1.511, allocations: 205.1 MB / 222 MB, free: 4.738 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.001053/0.001053, allocations: 56.3 kB / 278.1 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2642/0.2652, allocations: 46.63 MB / 324.7 MB, free: 2.27 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.5025/0.7677, allocations: 170.6 MB / 495.3 MB, free: 468 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003855/0.7716, allocations: 3.234 MB / 498.5 MB, free: 364 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002045/0.7719, allocations: 2.562 kB / 498.5 MB, free: 364 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005803/0.7725, allocations: 143.8 kB / 498.7 MB, free: 364 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008447/0.7734, allocations: 395.2 kB / 499.1 MB, free: 336 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008157/0.7742, allocations: 310.9 kB / 499.4 MB, free: 320 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001275/0.7755, allocations: 1.352 MB / 0.489 GB, free: 312 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002694/0.7758, allocations: 77.36 kB / 0.4891 GB, free: 296 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002373/0.7782, allocations: 0.7112 MB / 0.4898 GB, free: 272 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004039/0.7786, allocations: 297.6 kB / 0.49 GB, free: 268 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.203e-05/0.7786, allocations: 15.16 kB / 0.4901 GB, free: 268 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003457/0.779, allocations: 104.2 kB / 0.4902 GB, free: 268 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001168/0.7791, allocations: 83.92 kB / 0.4902 GB, free: 268 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002445/0.7794, allocations: 172.4 kB / 0.4904 GB, free: 268 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005362/0.7799, allocations: 0.5005 MB / 0.4909 GB, free: 244 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.7799, allocations: 1.203 kB / 0.4909 GB, free: 244 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.7799, allocations: 0 / 0.4909 GB, free: 244 kB / 382.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.7799, allocations: 1.781 kB / 0.4909 GB, free: 244 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.000863/0.7808, allocations: 0.5921 MB / 0.4915 GB, free: 15.8 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.7809, allocations: 10.59 kB / 0.4915 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002845/0.7811, allocations: 42.97 kB / 0.4915 GB, free: 15.78 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003686/0.7815, allocations: 285.5 kB / 0.4918 GB, free: 15.56 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.7816, allocations: 18.34 kB / 0.4918 GB, free: 15.56 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.752e-05/0.7816, allocations: 27.19 kB / 0.4918 GB, free: 15.56 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005055/0.7821, allocations: 323.3 kB / 0.4921 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/0.7822, allocations: 3.938 kB / 0.4922 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.264e-05/0.7822, allocations: 11.62 kB / 0.4922 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/0.7822, allocations: 7.281 kB / 0.4922 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003289/0.7826, allocations: 207.4 kB / 0.4924 GB, free: 15.45 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.001849/0.7844, allocations: 1.586 MB / 0.4939 GB, free: 14.25 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000291/0.7847, allocations: 178.3 kB / 0.4941 GB, free: 14.22 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001393/0.7849, allocations: 95.44 kB / 0.4942 GB, free: 14.21 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.258e-05/0.7849, allocations: 10 kB / 0.4942 GB, free: 14.21 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.86e-05/0.7849, allocations: 40.22 kB / 0.4942 GB, free: 14.17 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.383e-06/0.785, allocations: 0 / 0.4942 GB, free: 14.17 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.005648/0.7906, allocations: 1.614 MB / 0.4958 GB, free: 13.44 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.907e-05/0.7907, allocations: 53.41 kB / 0.4959 GB, free: 13.38 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002791/0.791, allocations: 253.2 kB / 0.4961 GB, free: 13.27 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.091e-05/0.791, allocations: 31.45 kB / 0.4961 GB, free: 13.24 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.7911, allocations: 172.6 kB / 0.4963 GB, free: 13.11 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.396e-05/0.7912, allocations: 98.28 kB / 0.4964 GB, free: 13.05 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000137/0.7913, allocations: 86 kB / 0.4965 GB, free: 13.03 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.7915, allocations: 343.8 kB / 0.4968 GB, free: 12.71 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.7916, allocations: 88.33 kB / 0.4969 GB, free: 12.71 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002161/0.7919, allocations: 187.3 kB / 0.4971 GB, free: 12.6 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003987/0.7923, allocations: 311.4 kB / 0.4974 GB, free: 12.47 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.7923, allocations: 0 / 0.4974 GB, free: 12.47 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006282/0.7929, allocations: 398.6 kB / 0.4977 GB, free: 12.4 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.7929, allocations: 6.734 kB / 0.4977 GB, free: 12.4 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.437e-06/0.793, allocations: 5.938 kB / 0.4977 GB, free: 12.4 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002438/0.7932, allocations: 70.73 kB / 0.4978 GB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00036/0.7936, allocations: 84.19 kB / 0.4979 GB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001368/0.795, allocations: 1.862 MB / 0.4997 GB, free: 10.6 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002761/0.7953, allocations: 22.61 kB / 0.4997 GB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.241e-05/0.7953, allocations: 39.59 kB / 0.4998 GB, free: 10.59 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.000179/0.7955, allocations: 160 kB / 0.4999 GB, free: 10.47 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.168e-05/0.7956, allocations: 30.59 kB / 0.4999 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009438/0.7965, allocations: 432.5 kB / 0.5004 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.7965, allocations: 10.91 kB / 0.5004 GB, free: 10.35 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.7966, allocations: 3.844 kB / 0.5004 GB, free: 10.35 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000522/0.7971, allocations: 0.5579 MB / 0.5009 GB, free: 9.902 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000943/0.798, allocations: 0.7268 MB / 0.5016 GB, free: 9.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.7981, allocations: 0 / 0.5016 GB, free: 9.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003027/0.7984, allocations: 75.17 kB / 0.5017 GB, free: 9.566 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.926e-05/0.7984, allocations: 25.33 kB / 0.5017 GB, free: 9.559 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.406e-05/0.7985, allocations: 12.02 kB / 0.5017 GB, free: 9.559 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009173/0.7994, allocations: 1.282 MB / 0.503 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.7994, allocations: 5.141 kB / 0.503 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006622/0.8001, allocations: 488.4 kB / 0.5035 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.099e-05/0.8002, allocations: 97.53 kB / 0.5036 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.19e-05/0.8003, allocations: 9.297 kB / 0.5036 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002545/0.8005, allocations: 17.11 kB / 0.5036 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.446e-05/0.8006, allocations: 28.38 kB / 0.5036 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.484e-05/0.8006, allocations: 29.23 kB / 0.5036 GB, free: 8 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001974/0.8008, allocations: 191 kB / 0.5038 GB, free: 7.922 MB / 398.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.8008, allocations: 4.062 kB / 0.5038 GB, free: 7.918 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005557/0.8014, allocations: 126.3 kB / 0.5039 GB, free: 7.91 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.0004447/0.8019, allocations: 153 kB / 0.5041 GB, free: 7.812 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000695/0.8026, allocations: 369.4 kB / 0.5044 GB, free: 7.699 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.8026, allocations: 0 / 0.5044 GB, free: 7.699 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002978/0.8029, allocations: 231 kB / 0.5047 GB, free: 7.59 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009866/0.8039, allocations: 160.3 kB / 0.5048 GB, free: 7.57 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001306/0.8052, allocations: 0.7961 MB / 0.5056 GB, free: 7.105 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003669/0.8056, allocations: 0.7659 MB / 0.5063 GB, free: 6.402 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005723/0.8062, allocations: 113.5 kB / 0.5064 GB, free: 6.359 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002087/0.8064, allocations: 69.23 kB / 0.5065 GB, free: 6.344 MB / 398.1 MB Notification: Performance of SimCode: time 6.51e-07/0.8064, allocations: 4 kB / 0.5065 GB, free: 6.34 MB / 398.1 MB Notification: Performance of Templates: time 0.01452/0.8209, allocations: 8.439 MB / 0.5148 GB, free: 1.324 MB / 398.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe 2>&1)