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.001461/0.001462, 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.001722/0.001722, allocations: 198.7 kB / 16.26 MB, free: 6.621 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.472/1.472, allocations: 205.1 MB / 222.1 MB, free: 4.715 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.001353/0.001353, allocations: 47.94 kB / 278.2 MB, free: 12.67 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3129/0.3143, allocations: 46.63 MB / 324.9 MB, free: 1.926 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.495/0.8093, allocations: 170.4 MB / 495.3 MB, free: 0.6367 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004271/0.8137, allocations: 3.204 MB / 498.5 MB, free: 0.5312 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002501/0.814, allocations: 5.312 kB / 498.5 MB, free: 0.5312 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007421/0.8148, allocations: 151.4 kB / 498.7 MB, free: 0.5273 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00108/0.8159, allocations: 373.8 kB / 499 MB, free: 0.5078 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008687/0.8167, allocations: 324.6 kB / 499.3 MB, free: 500 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009784/0.8177, allocations: 0.8988 MB / 0.4885 GB, free: 492 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002234/0.818, allocations: 104.1 kB / 0.4886 GB, free: 476 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001877/0.8198, allocations: 0.7578 MB / 0.4893 GB, free: 460 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003593/0.8202, allocations: 292.6 kB / 0.4896 GB, free: 456 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.246e-05/0.8203, allocations: 28.97 kB / 0.4897 GB, free: 456 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003048/0.8206, allocations: 130.9 kB / 0.4898 GB, free: 452 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000117/0.8207, allocations: 97.62 kB / 0.4899 GB, free: 448 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001979/0.8209, allocations: 190.7 kB / 0.4901 GB, free: 448 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006087/0.8215, allocations: 0.5111 MB / 0.4906 GB, free: 424 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.8215, allocations: 0 / 0.4906 GB, free: 424 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.8216, allocations: 1.781 kB / 0.4906 GB, free: 424 kB / 382.1 MB Notification: Performance of Transformations before backend: time 8.346e-06/0.8216, allocations: 0 / 0.4906 GB, free: 424 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.0008824/0.8225, allocations: 0.5901 MB / 0.4911 GB, free: 15.98 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.8225, allocations: 12.44 kB / 0.4911 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003377/0.8229, allocations: 44.55 kB / 0.4912 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003595/0.8232, allocations: 283.9 kB / 0.4915 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.28e-05/0.8233, allocations: 19.62 kB / 0.4915 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.585e-05/0.8233, allocations: 22.25 kB / 0.4915 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004922/0.8238, allocations: 324 kB / 0.4918 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/0.8238, allocations: 8.906 kB / 0.4918 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.846e-05/0.8239, allocations: 13.16 kB / 0.4918 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.8239, allocations: 8 kB / 0.4918 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003018/0.8242, allocations: 202.6 kB / 0.492 GB, free: 15.62 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.001775/0.826, allocations: 1.588 MB / 0.4936 GB, free: 14.43 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002924/0.8263, allocations: 177.1 kB / 0.4937 GB, free: 14.4 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001416/0.8264, allocations: 98.95 kB / 0.4938 GB, free: 14.39 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.776e-05/0.8265, allocations: 5 kB / 0.4938 GB, free: 14.39 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.92e-05/0.8265, allocations: 40.5 kB / 0.4939 GB, free: 14.34 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.452e-06/0.8265, allocations: 0 / 0.4939 GB, free: 14.34 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.005873/0.8324, allocations: 1.625 MB / 0.4955 GB, free: 13.6 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/0.8325, allocations: 54.59 kB / 0.4955 GB, free: 13.54 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002664/0.8327, allocations: 253.7 kB / 0.4958 GB, free: 13.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.23e-05/0.8328, allocations: 32.52 kB / 0.4958 GB, free: 13.4 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.8329, allocations: 175.8 kB / 0.496 GB, free: 13.27 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.265e-05/0.833, allocations: 97.28 kB / 0.4961 GB, free: 13.21 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001198/0.8331, allocations: 88.41 kB / 0.4961 GB, free: 13.19 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.8333, allocations: 340 kB / 0.4965 GB, free: 12.88 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.8334, allocations: 84.66 kB / 0.4965 GB, free: 12.88 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002052/0.8336, allocations: 189.8 kB / 0.4967 GB, free: 12.76 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000374/0.834, allocations: 312.9 kB / 0.497 GB, free: 12.63 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.834, allocations: 1.094 kB / 0.497 GB, free: 12.63 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005804/0.8346, allocations: 398.1 kB / 0.4974 GB, free: 12.57 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.8347, allocations: 6.031 kB / 0.4974 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.8347, allocations: 2.562 kB / 0.4974 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002435/0.8349, allocations: 71.83 kB / 0.4975 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003383/0.8353, allocations: 88.84 kB / 0.4976 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001533/0.8368, allocations: 1.943 MB / 0.4995 GB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002575/0.8371, allocations: 28.05 kB / 0.4995 GB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.308e-05/0.8371, allocations: 41.06 kB / 0.4995 GB, free: 10.68 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.0001913/0.8373, allocations: 156.5 kB / 0.4997 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.813e-05/0.8374, allocations: 25.8 kB / 0.4997 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009387/0.8384, allocations: 444.1 kB / 0.5001 GB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.8384, allocations: 2.875 kB / 0.5001 GB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.8384, allocations: 0 / 0.5001 GB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005745/0.839, allocations: 0.5659 MB / 0.5007 GB, free: 9.984 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009768/0.84, allocations: 0.7274 MB / 0.5014 GB, free: 9.652 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.84, allocations: 3.938 kB / 0.5014 GB, free: 9.648 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003259/0.8403, allocations: 72.38 kB / 0.5015 GB, free: 9.648 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.781e-05/0.8404, allocations: 20.16 kB / 0.5015 GB, free: 9.641 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.018e-05/0.8404, allocations: 15 kB / 0.5015 GB, free: 9.641 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009726/0.8414, allocations: 1.383 MB / 0.5028 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.8414, allocations: 0 / 0.5028 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006453/0.8421, allocations: 483.8 kB / 0.5033 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.875e-05/0.8422, allocations: 106.5 kB / 0.5034 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.16e-05/0.8422, allocations: 9.203 kB / 0.5034 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002575/0.8425, allocations: 25.2 kB / 0.5034 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.135e-05/0.8426, allocations: 20.12 kB / 0.5035 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.306e-05/0.8426, allocations: 29.98 kB / 0.5035 GB, free: 7.984 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001965/0.8428, allocations: 191.7 kB / 0.5037 GB, free: 7.906 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.8428, allocations: 2.984 kB / 0.5037 GB, free: 7.906 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005369/0.8434, allocations: 124.4 kB / 0.5038 GB, free: 7.898 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.0003984/0.8438, allocations: 152.2 kB / 0.5039 GB, free: 7.801 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006789/0.8445, allocations: 392.2 kB / 0.5043 GB, free: 7.676 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.8445, allocations: 3.125 kB / 0.5043 GB, free: 7.676 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002712/0.8448, allocations: 224.9 kB / 0.5045 GB, free: 7.57 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009284/0.8457, allocations: 172.9 kB / 0.5047 GB, free: 7.531 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001409/0.8471, allocations: 0.7958 MB / 0.5055 GB, free: 7.059 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004239/0.8476, allocations: 0.7651 MB / 0.5062 GB, free: 6.359 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006007/0.8482, allocations: 111.4 kB / 0.5063 GB, free: 6.316 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002218/0.8484, allocations: 65.8 kB / 0.5064 GB, free: 6.301 MB / 398.1 MB Notification: Performance of SimCode: time 1.844e-06/0.8484, allocations: 3.375 kB / 0.5064 GB, free: 6.301 MB / 398.1 MB Notification: Performance of Templates: time 0.02077/0.8692, allocations: 8.675 MB / 0.5149 GB, free: 2.168 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)