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.001277/0.001277, allocations: 114.7 kB / 16.63 MB, free: 6.332 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.001231/0.001231, allocations: 187.2 kB / 17.55 MB, free: 5.805 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.389/1.389, allocations: 205.1 MB / 223.4 MB, free: 12.44 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.001181/0.001181, allocations: 43.94 kB / 279.5 MB, free: 3.473 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1038, allocations: 46.63 MB / 326.1 MB, free: 4.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.4268/0.5306, allocations: 170.4 MB / 496.6 MB, free: 12.88 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004516/0.5352, allocations: 3.201 MB / 499.8 MB, free: 9.668 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001916/0.5355, allocations: 4 kB / 499.8 MB, free: 9.664 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006064/0.5361, allocations: 155.2 kB / 499.9 MB, free: 9.512 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008064/0.5369, allocations: 379.7 kB / 0.4886 GB, free: 9.141 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008185/0.5378, allocations: 316.2 kB / 0.4889 GB, free: 8.832 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001053/0.5388, allocations: 0.8952 MB / 0.4898 GB, free: 7.934 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002504/0.5391, allocations: 101.1 kB / 0.4899 GB, free: 7.836 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002017/0.5411, allocations: 0.7645 MB / 0.4906 GB, free: 7.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000335/0.5414, allocations: 298.9 kB / 0.4909 GB, free: 6.777 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.701e-05/0.5415, allocations: 31.94 kB / 0.4909 GB, free: 6.746 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000297/0.5418, allocations: 123.9 kB / 0.491 GB, free: 6.625 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.5419, allocations: 99.7 kB / 0.4911 GB, free: 6.527 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002208/0.5422, allocations: 191.3 kB / 0.4913 GB, free: 6.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006556/0.5428, allocations: 0.518 MB / 0.4918 GB, free: 5.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.5428, allocations: 0 / 0.4918 GB, free: 5.82 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.5429, allocations: 4 kB / 0.4918 GB, free: 5.816 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.5429, allocations: 3.938 kB / 0.4918 GB, free: 5.812 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.0009314/0.5438, allocations: 0.5814 MB / 0.4924 GB, free: 5.184 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.5439, allocations: 16.02 kB / 0.4924 GB, free: 5.168 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000305/0.5442, allocations: 39.62 kB / 0.4924 GB, free: 5.129 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003665/0.5446, allocations: 282.4 kB / 0.4927 GB, free: 4.812 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.5446, allocations: 20.56 kB / 0.4927 GB, free: 4.793 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.174e-05/0.5446, allocations: 24 kB / 0.4928 GB, free: 4.77 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004988/0.5452, allocations: 319.6 kB / 0.4931 GB, free: 4.426 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.5452, allocations: 4.5 kB / 0.4931 GB, free: 4.422 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.024e-05/0.5452, allocations: 12 kB / 0.4931 GB, free: 4.41 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.5452, allocations: 11.94 kB / 0.4931 GB, free: 4.398 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003132/0.5456, allocations: 209.6 kB / 0.4933 GB, free: 4.195 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.001946/0.5475, allocations: 1.577 MB / 0.4948 GB, free: 2.469 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002993/0.5478, allocations: 177.6 kB / 0.495 GB, free: 2.289 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001525/0.548, allocations: 100.8 kB / 0.4951 GB, free: 2.188 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.659e-05/0.548, allocations: 7.984 kB / 0.4951 GB, free: 2.18 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.5481, allocations: 34.56 kB / 0.4951 GB, free: 2.137 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.372e-06/0.5481, allocations: 0 / 0.4951 GB, free: 2.137 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.00551/0.5536, allocations: 1.624 MB / 0.4967 GB, free: 392 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.837e-05/0.5536, allocations: 55.41 kB / 0.4968 GB, free: 324 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002415/0.5539, allocations: 248.9 kB / 0.497 GB, free: 68 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.655e-05/0.5539, allocations: 41.64 kB / 0.4971 GB, free: 20 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/0.5541, allocations: 180.1 kB / 0.4972 GB, free: 15.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.302e-05/0.5542, allocations: 94.66 kB / 0.4973 GB, free: 15.74 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/0.5543, allocations: 89.38 kB / 0.4974 GB, free: 15.65 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.5544, allocations: 330.8 kB / 0.4977 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/0.5546, allocations: 91.95 kB / 0.4978 GB, free: 15.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002047/0.5548, allocations: 183.8 kB / 0.498 GB, free: 15 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003978/0.5552, allocations: 315.7 kB / 0.4983 GB, free: 14.65 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.5552, allocations: 0 / 0.4983 GB, free: 14.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006109/0.5558, allocations: 391 kB / 0.4987 GB, free: 14.26 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.5559, allocations: 8 kB / 0.4987 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/0.5559, allocations: 4 kB / 0.4987 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002191/0.5561, allocations: 73.61 kB / 0.4987 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003323/0.5564, allocations: 83.91 kB / 0.4988 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001455/0.5579, allocations: 1.958 MB / 0.5007 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002353/0.5581, allocations: 15.91 kB / 0.5007 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.224e-05/0.5582, allocations: 43.98 kB / 0.5008 GB, free: 11.9 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.0001709/0.5584, allocations: 166.4 kB / 0.5009 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.83e-05/0.5585, allocations: 31.7 kB / 0.501 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009325/0.5594, allocations: 430.7 kB / 0.5014 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.5594, allocations: 8 kB / 0.5014 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.5594, allocations: 0 / 0.5014 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005608/0.56, allocations: 0.5591 MB / 0.5019 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009741/0.561, allocations: 0.731 MB / 0.5027 GB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.561, allocations: 3.984 kB / 0.5027 GB, free: 9.809 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003051/0.5613, allocations: 75.95 kB / 0.5027 GB, free: 9.734 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.868e-05/0.5614, allocations: 16.84 kB / 0.5027 GB, free: 9.715 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.859e-05/0.5614, allocations: 16.86 kB / 0.5028 GB, free: 9.699 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008642/0.5623, allocations: 1.386 MB / 0.5041 GB, free: 8.172 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.5623, allocations: 0 / 0.5041 GB, free: 8.172 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006264/0.563, allocations: 478.8 kB / 0.5046 GB, free: 7.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.99e-05/0.563, allocations: 112.6 kB / 0.5047 GB, free: 7.551 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.98e-05/0.5631, allocations: 4 kB / 0.5047 GB, free: 7.547 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002476/0.5633, allocations: 19.92 kB / 0.5047 GB, free: 7.527 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.307e-05/0.5634, allocations: 32.03 kB / 0.5047 GB, free: 7.496 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-05/0.5635, allocations: 31.98 kB / 0.5048 GB, free: 7.465 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001681/0.5636, allocations: 182 kB / 0.5049 GB, free: 7.289 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5636, allocations: 0 / 0.5049 GB, free: 7.289 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004794/0.5641, allocations: 131.9 kB / 0.5051 GB, free: 7.16 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.0003874/0.5645, allocations: 147.1 kB / 0.5052 GB, free: 7.008 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000691/0.5652, allocations: 391.2 kB / 0.5056 GB, free: 6.613 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.5652, allocations: 0 / 0.5056 GB, free: 6.613 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002856/0.5655, allocations: 226.5 kB / 0.5058 GB, free: 6.379 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009469/0.5665, allocations: 179.3 kB / 0.506 GB, free: 6.203 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.5677, allocations: 0.8 MB / 0.5067 GB, free: 5.375 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003247/0.568, allocations: 0.7645 MB / 0.5075 GB, free: 4.586 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005599/0.5686, allocations: 110.9 kB / 0.5076 GB, free: 4.477 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002109/0.5688, allocations: 75.34 kB / 0.5077 GB, free: 4.402 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.5688, allocations: 0 / 0.5077 GB, free: 4.402 MB / 414.1 MB Notification: Performance of Templates: time 0.01425/0.5831, allocations: 8.661 MB / 0.5161 GB, free: 11.74 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)