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.0008381/0.0008382, allocations: 91.98 kB / 16.65 MB, free: 6.59 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.0009547/0.0009547, allocations: 182.9 kB / 17.56 MB, free: 6.203 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.479/1.479, allocations: 205.4 MB / 223.7 MB, free: 13.07 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.0004235/0.0004235, allocations: 12 kB / 280.7 MB, free: 3.41 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09663/0.09707, allocations: 47.59 MB / 328.3 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.455/0.5521, allocations: 168.4 MB / 496.7 MB, free: 1.359 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00408/0.5562, allocations: 3.19 MB / 499.9 MB, free: 14.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003371/0.5566, allocations: 4 kB / 499.9 MB, free: 14.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006453/0.5573, allocations: 139.2 kB / 0.4883 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00114/0.5584, allocations: 391.6 kB / 0.4887 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009492/0.5594, allocations: 316.2 kB / 0.489 GB, free: 13.33 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001424/0.5608, allocations: 1.348 MB / 0.4903 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002039/0.561, allocations: 69.53 kB / 0.4904 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002176/0.5632, allocations: 0.7084 MB / 0.4911 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003928/0.5636, allocations: 290.8 kB / 0.4913 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.242e-05/0.5637, allocations: 16 kB / 0.4913 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003367/0.564, allocations: 103.8 kB / 0.4914 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.5641, allocations: 83.7 kB / 0.4915 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002035/0.5644, allocations: 189 kB / 0.4917 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005712/0.5649, allocations: 0.4983 MB / 0.4922 GB, free: 10.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.5649, allocations: 0 / 0.4922 GB, free: 10.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.205e-06/0.565, allocations: 4 kB / 0.4922 GB, free: 10.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.565, allocations: 0 / 0.4922 GB, free: 10.02 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.0007912/0.5658, allocations: 0.519 MB / 0.4927 GB, free: 9.453 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.5658, allocations: 8.031 kB / 0.4927 GB, free: 9.445 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003101/0.5661, allocations: 51.59 kB / 0.4928 GB, free: 9.395 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003513/0.5665, allocations: 282.4 kB / 0.493 GB, free: 9.078 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.661e-05/0.5665, allocations: 24.56 kB / 0.4931 GB, free: 9.055 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.863e-05/0.5666, allocations: 24 kB / 0.4931 GB, free: 9.031 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005312/0.5671, allocations: 317.2 kB / 0.4934 GB, free: 8.691 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/0.5671, allocations: 3.938 kB / 0.4934 GB, free: 8.688 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.107e-05/0.5672, allocations: 12 kB / 0.4934 GB, free: 8.676 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.5672, allocations: 4 kB / 0.4934 GB, free: 8.672 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003336/0.5676, allocations: 217.5 kB / 0.4936 GB, free: 8.461 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.001808/0.5694, allocations: 1.573 MB / 0.4951 GB, free: 6.738 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003103/0.5697, allocations: 179.1 kB / 0.4953 GB, free: 6.555 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001556/0.5699, allocations: 96.77 kB / 0.4954 GB, free: 6.457 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.571e-05/0.5699, allocations: 7.984 kB / 0.4954 GB, free: 6.449 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.5699, allocations: 34.56 kB / 0.4954 GB, free: 6.406 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.783e-06/0.5699, allocations: 0 / 0.4954 GB, free: 6.406 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.005727/0.5757, allocations: 1.622 MB / 0.497 GB, free: 4.648 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.5757, allocations: 63.28 kB / 0.4971 GB, free: 4.574 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002795/0.576, allocations: 260.8 kB / 0.4973 GB, free: 4.312 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.67e-05/0.5761, allocations: 29.7 kB / 0.4974 GB, free: 4.277 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.5762, allocations: 184.2 kB / 0.4975 GB, free: 4.09 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.928e-05/0.5763, allocations: 90.64 kB / 0.4976 GB, free: 4 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.352e-05/0.5764, allocations: 37.7 kB / 0.4977 GB, free: 3.957 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.5765, allocations: 330.8 kB / 0.498 GB, free: 3.625 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001698/0.5767, allocations: 99.73 kB / 0.4981 GB, free: 3.527 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002249/0.5769, allocations: 183.8 kB / 0.4983 GB, free: 3.305 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000427/0.5773, allocations: 320.2 kB / 0.4986 GB, free: 2.949 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.5773, allocations: 0 / 0.4986 GB, free: 2.949 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006374/0.578, allocations: 394.7 kB / 0.4989 GB, free: 2.551 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/0.578, allocations: 4.406 kB / 0.4989 GB, free: 2.547 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.578, allocations: 8 kB / 0.4989 GB, free: 2.539 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002359/0.5783, allocations: 77.61 kB / 0.499 GB, free: 2.457 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003397/0.5786, allocations: 79.91 kB / 0.4991 GB, free: 2.379 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001515/0.5802, allocations: 1.852 MB / 0.5009 GB, free: 376 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002526/0.5804, allocations: 28.08 kB / 0.5009 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.269e-05/0.5805, allocations: 39.98 kB / 0.501 GB, free: 308 kB / 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.0001876/0.5807, allocations: 157.7 kB / 0.5011 GB, free: 140 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.409e-05/0.5808, allocations: 31.66 kB / 0.5012 GB, free: 108 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009835/0.5817, allocations: 427.8 kB / 0.5016 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.5818, allocations: 7.984 kB / 0.5016 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.756e-06/0.5818, allocations: 3.938 kB / 0.5016 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005515/0.5823, allocations: 0.5591 MB / 0.5021 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00108/0.5834, allocations: 0.7271 MB / 0.5028 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.5834, allocations: 4 kB / 0.5028 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003111/0.5838, allocations: 67.95 kB / 0.5029 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.613e-05/0.5838, allocations: 28.69 kB / 0.5029 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.712e-05/0.5839, allocations: 12 kB / 0.5029 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000932/0.5848, allocations: 1.28 MB / 0.5042 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.5848, allocations: 3.938 kB / 0.5042 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006892/0.5855, allocations: 490.7 kB / 0.5047 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.831e-05/0.5856, allocations: 108.7 kB / 0.5048 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.524e-05/0.5857, allocations: 7.984 kB / 0.5048 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002539/0.586, allocations: 12 kB / 0.5048 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.033e-05/0.586, allocations: 39.91 kB / 0.5048 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.463e-05/0.5861, allocations: 31.98 kB / 0.5048 GB, free: 11.97 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002018/0.5863, allocations: 186 kB / 0.505 GB, free: 11.79 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5863, allocations: 0 / 0.505 GB, free: 11.79 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005768/0.5869, allocations: 127.9 kB / 0.5051 GB, free: 11.66 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.0004035/0.5873, allocations: 151.2 kB / 0.5053 GB, free: 11.51 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000732/0.588, allocations: 371.2 kB / 0.5056 GB, free: 11.13 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.5881, allocations: 4 kB / 0.5056 GB, free: 11.13 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003189/0.5884, allocations: 230.5 kB / 0.5059 GB, free: 10.89 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/0.5895, allocations: 154.5 kB / 0.506 GB, free: 10.74 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001406/0.5909, allocations: 0.8676 MB / 0.5069 GB, free: 9.844 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003804/0.5913, allocations: 0.7645 MB / 0.5076 GB, free: 9.055 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005677/0.5918, allocations: 118.9 kB / 0.5077 GB, free: 8.938 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002217/0.5921, allocations: 67.41 kB / 0.5078 GB, free: 8.871 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.5921, allocations: 0 / 0.5078 GB, free: 8.871 MB / 414.1 MB Notification: Performance of Templates: time 0.01523/0.6073, allocations: 8.389 MB / 0.516 GB, free: 492 kB / 414.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)