Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.0017/0.0017, allocations: 102.4 kB / 16.5 MB, free: 6.648 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.001543/0.001543, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.477/1.477, allocations: 205.1 MB / 223.3 MB, free: 12.41 MB / 190.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.001211/0.001211, allocations: 55.94 kB / 279.3 MB, free: 3.555 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1043, allocations: 46.63 MB / 326 MB, free: 4.863 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.4242/0.5285, allocations: 170.6 MB / 496.6 MB, free: 12.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003767/0.5323, allocations: 3.244 MB / 499.8 MB, free: 9.566 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004814/0.5329, allocations: 4 kB / 499.8 MB, free: 9.562 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007619/0.5336, allocations: 139.2 kB / 500 MB, free: 9.426 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001188/0.5349, allocations: 383.7 kB / 0.4886 GB, free: 9.051 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001027/0.5359, allocations: 314.4 kB / 0.4889 GB, free: 8.746 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001593/0.5375, allocations: 1.348 MB / 0.4902 GB, free: 7.395 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002136/0.5377, allocations: 76.64 kB / 0.4903 GB, free: 7.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002061/0.5398, allocations: 0.7124 MB / 0.491 GB, free: 6.605 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003813/0.5402, allocations: 298.8 kB / 0.4913 GB, free: 6.312 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.867e-05/0.5403, allocations: 16 kB / 0.4913 GB, free: 6.297 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003091/0.5406, allocations: 111.8 kB / 0.4914 GB, free: 6.188 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001121/0.5407, allocations: 79.66 kB / 0.4915 GB, free: 6.109 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000187/0.5409, allocations: 171.3 kB / 0.4917 GB, free: 5.941 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005088/0.5414, allocations: 0.5024 MB / 0.4921 GB, free: 5.438 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.5414, allocations: 0 / 0.4921 GB, free: 5.438 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.5414, allocations: 4 kB / 0.4921 GB, free: 5.434 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.5414, allocations: 4 kB / 0.4922 GB, free: 5.43 MB / 398.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.0008518/0.5423, allocations: 0.5892 MB / 0.4927 GB, free: 4.793 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.5423, allocations: 12.03 kB / 0.4927 GB, free: 4.781 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002886/0.5426, allocations: 43.61 kB / 0.4928 GB, free: 4.738 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003482/0.543, allocations: 286.4 kB / 0.4931 GB, free: 4.418 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.457e-05/0.543, allocations: 20.56 kB / 0.4931 GB, free: 4.398 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.178e-05/0.5431, allocations: 28 kB / 0.4931 GB, free: 4.371 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004862/0.5436, allocations: 315.7 kB / 0.4934 GB, free: 4.031 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.5436, allocations: 3.938 kB / 0.4934 GB, free: 4.027 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.716e-05/0.5436, allocations: 12 kB / 0.4934 GB, free: 4.016 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.918e-06/0.5437, allocations: 8 kB / 0.4934 GB, free: 4.008 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003308/0.544, allocations: 213.5 kB / 0.4936 GB, free: 3.801 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.001645/0.5456, allocations: 1.577 MB / 0.4952 GB, free: 2.074 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002915/0.5459, allocations: 179.1 kB / 0.4953 GB, free: 1.891 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001467/0.5461, allocations: 96.77 kB / 0.4954 GB, free: 1.793 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.964e-05/0.5461, allocations: 4 kB / 0.4954 GB, free: 1.789 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.5462, allocations: 34.56 kB / 0.4955 GB, free: 1.746 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.222e-06/0.5462, allocations: 0 / 0.4955 GB, free: 1.746 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.005618/0.5518, allocations: 1.614 MB / 0.497 GB, free: 4 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.346e-05/0.5519, allocations: 63.39 kB / 0.4971 GB, free: 15.93 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002474/0.5521, allocations: 248.9 kB / 0.4973 GB, free: 15.68 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.345e-05/0.5522, allocations: 33.7 kB / 0.4974 GB, free: 15.64 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.5523, allocations: 180.1 kB / 0.4975 GB, free: 15.46 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.636e-05/0.5524, allocations: 94.66 kB / 0.4976 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.5525, allocations: 85.38 kB / 0.4977 GB, free: 15.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.5526, allocations: 342.8 kB / 0.498 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001592/0.5528, allocations: 83.97 kB / 0.4981 GB, free: 14.85 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002163/0.553, allocations: 191.7 kB / 0.4983 GB, free: 14.62 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004054/0.5534, allocations: 312.2 kB / 0.4986 GB, free: 14.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.5534, allocations: 4 kB / 0.4986 GB, free: 14.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000632/0.554, allocations: 390.7 kB / 0.499 GB, free: 13.87 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.5541, allocations: 11.98 kB / 0.499 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.5541, allocations: 416 / 0.499 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002195/0.5543, allocations: 77.69 kB / 0.4991 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003616/0.5547, allocations: 79.89 kB / 0.4991 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001355/0.5561, allocations: 1.86 MB / 0.501 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002245/0.5563, allocations: 28.08 kB / 0.501 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.884e-05/0.5564, allocations: 36 kB / 0.501 GB, free: 11.62 MB / 414.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.0001587/0.5565, allocations: 157.7 kB / 0.5012 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.858e-05/0.5566, allocations: 31.66 kB / 0.5012 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009337/0.5575, allocations: 439.3 kB / 0.5016 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.5575, allocations: 0 / 0.5016 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.5576, allocations: 0 / 0.5016 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005107/0.5581, allocations: 0.5591 MB / 0.5022 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009521/0.559, allocations: 0.7349 MB / 0.5029 GB, free: 9.531 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.559, allocations: 0 / 0.5029 GB, free: 9.531 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00032/0.5594, allocations: 71.89 kB / 0.5029 GB, free: 9.461 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.932e-05/0.5595, allocations: 20.84 kB / 0.503 GB, free: 9.438 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.937e-05/0.5595, allocations: 17.48 kB / 0.503 GB, free: 9.422 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008134/0.5603, allocations: 1.28 MB / 0.5042 GB, free: 8.008 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.5603, allocations: 3.938 kB / 0.5042 GB, free: 8.004 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007213/0.5611, allocations: 486.7 kB / 0.5047 GB, free: 7.504 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.046e-05/0.5611, allocations: 105.6 kB / 0.5048 GB, free: 7.383 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.942e-05/0.5612, allocations: 4 kB / 0.5048 GB, free: 7.379 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002577/0.5615, allocations: 19.89 kB / 0.5048 GB, free: 7.359 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.796e-05/0.5615, allocations: 31.91 kB / 0.5049 GB, free: 7.328 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.884e-05/0.5616, allocations: 36.05 kB / 0.5049 GB, free: 7.293 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002002/0.5618, allocations: 182 kB / 0.5051 GB, free: 7.117 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5618, allocations: 0 / 0.5051 GB, free: 7.117 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005273/0.5623, allocations: 131.9 kB / 0.5052 GB, free: 6.988 MB / 414.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.000485/0.5628, allocations: 151.1 kB / 0.5053 GB, free: 6.832 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006313/0.5635, allocations: 374.3 kB / 0.5057 GB, free: 6.453 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.5635, allocations: 0.8125 kB / 0.5057 GB, free: 6.453 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002725/0.5638, allocations: 230.7 kB / 0.5059 GB, free: 6.215 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009168/0.5647, allocations: 169 kB / 0.5061 GB, free: 6.047 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.5659, allocations: 0.7946 MB / 0.5069 GB, free: 5.23 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.5663, allocations: 0.7606 MB / 0.5076 GB, free: 4.445 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005618/0.5669, allocations: 118.9 kB / 0.5077 GB, free: 4.328 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002067/0.5671, allocations: 63.42 kB / 0.5078 GB, free: 4.266 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.5671, allocations: 0 / 0.5078 GB, free: 4.266 MB / 414.1 MB Notification: Performance of Templates: time 0.01341/0.5805, allocations: 8.438 MB / 0.516 GB, free: 11.82 MB / 430.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe 2>&1)