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.001092/0.001092, allocations: 90.61 kB / 16.31 MB, free: 5.664 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.001446/0.001446, allocations: 178.1 kB / 17.21 MB, free: 5.586 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.561/1.561, allocations: 205.4 MB / 223.4 MB, free: 5.52 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.0005098/0.00051, allocations: 14.81 kB / 280.2 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.2822, allocations: 47.59 MB / 327.7 MB, free: 1.625 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.4635/0.7458, allocations: 156.9 MB / 484.7 MB, free: 1.629 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003411/0.7492, allocations: 2.995 MB / 487.7 MB, free: 1.543 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004374/0.7497, allocations: 5.781 kB / 487.7 MB, free: 1.543 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006122/0.7503, allocations: 129.7 kB / 487.8 MB, free: 1.535 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001154/0.7515, allocations: 365.3 kB / 488.2 MB, free: 1.516 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008821/0.7524, allocations: 272.7 kB / 488.4 MB, free: 1.504 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001503/0.7539, allocations: 1.113 MB / 489.5 MB, free: 1.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002431/0.7542, allocations: 62.94 kB / 489.6 MB, free: 1.492 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002156/0.7563, allocations: 0.6816 MB / 490.3 MB, free: 1.465 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005176/0.7569, allocations: 271.1 kB / 490.6 MB, free: 1.465 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.986e-05/0.7569, allocations: 14.75 kB / 490.6 MB, free: 1.465 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004086/0.7574, allocations: 105 kB / 490.7 MB, free: 1.461 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.7575, allocations: 81.23 kB / 490.8 MB, free: 1.461 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002698/0.7578, allocations: 96.14 kB / 490.8 MB, free: 17.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004584/0.7582, allocations: 394.6 kB / 491.2 MB, free: 17.4 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.7583, allocations: 3.5 kB / 491.2 MB, free: 17.4 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.7583, allocations: 0 / 491.2 MB, free: 17.4 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.467e-05/0.7583, allocations: 0 / 491.2 MB, free: 17.4 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.0008738/0.7592, allocations: 0.5109 MB / 491.7 MB, free: 16.97 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.7592, allocations: 11.55 kB / 491.8 MB, free: 16.97 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003461/0.7596, allocations: 49.02 kB / 491.8 MB, free: 16.95 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004048/0.76, allocations: 267.6 kB / 492.1 MB, free: 16.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.391e-05/0.76, allocations: 17.47 kB / 492.1 MB, free: 16.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.337e-05/0.7601, allocations: 27.88 kB / 492.1 MB, free: 16.74 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005389/0.7606, allocations: 318.4 kB / 492.4 MB, free: 16.64 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/0.7606, allocations: 6.188 kB / 492.4 MB, free: 16.64 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.09e-05/0.7607, allocations: 16.52 kB / 492.4 MB, free: 16.64 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.7607, allocations: 6.219 kB / 492.4 MB, free: 16.64 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000319/0.761, allocations: 199.8 kB / 492.6 MB, free: 16.64 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.001973/0.763, allocations: 1.58 MB / 494.2 MB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002877/0.7633, allocations: 173.9 kB / 494.4 MB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001584/0.7635, allocations: 98.14 kB / 494.5 MB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.477e-05/0.7635, allocations: 6.203 kB / 494.5 MB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.7636, allocations: 42.31 kB / 494.5 MB, free: 15.37 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.814e-06/0.7636, allocations: 0 / 494.5 MB, free: 15.37 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.005226/0.7688, allocations: 1.619 MB / 496.2 MB, free: 14.64 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.008e-05/0.7689, allocations: 59.41 kB / 496.2 MB, free: 14.57 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002734/0.7692, allocations: 258.3 kB / 496.5 MB, free: 14.46 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.405e-05/0.7692, allocations: 33.86 kB / 496.5 MB, free: 14.43 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.7693, allocations: 174.2 kB / 496.7 MB, free: 14.3 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.982e-05/0.7694, allocations: 104.8 kB / 496.8 MB, free: 14.24 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.867e-05/0.7694, allocations: 3.188 kB / 496.8 MB, free: 14.24 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.7696, allocations: 337.2 kB / 497.1 MB, free: 13.93 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.7698, allocations: 93.09 kB / 497.2 MB, free: 13.92 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001925/0.77, allocations: 185.5 kB / 497.4 MB, free: 13.8 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001776/0.7701, allocations: 116.3 kB / 497.5 MB, free: 13.8 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.7701, allocations: 0 / 497.5 MB, free: 13.8 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00062/0.7708, allocations: 397.2 kB / 497.9 MB, free: 13.73 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.7708, allocations: 9.672 kB / 497.9 MB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.7708, allocations: 3.219 kB / 497.9 MB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002243/0.771, allocations: 73.23 kB / 498 MB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003294/0.7714, allocations: 89.95 kB / 498.1 MB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001586/0.773, allocations: 1.85 MB / 499.9 MB, free: 11.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002665/0.7733, allocations: 27.66 kB / 499.9 MB, free: 11.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.494e-05/0.7733, allocations: 37.05 kB / 500 MB, free: 11.93 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001889/0.7735, allocations: 152.4 kB / 0.4884 GB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.993e-05/0.7736, allocations: 29.44 kB / 0.4884 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008969/0.7745, allocations: 443.3 kB / 0.4888 GB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.7745, allocations: 3.594 kB / 0.4888 GB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.7745, allocations: 4 kB / 0.4888 GB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005947/0.7751, allocations: 0.5623 MB / 0.4894 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001203/0.7763, allocations: 0.7285 MB / 0.4901 GB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.7764, allocations: 2.469 kB / 0.4901 GB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002975/0.7767, allocations: 67.81 kB / 0.4902 GB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.768e-05/0.7768, allocations: 32.58 kB / 0.4902 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.077e-05/0.7768, allocations: 11.25 kB / 0.4902 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001152/0.778, allocations: 1.28 MB / 0.4915 GB, free: 9.625 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.778, allocations: 4.078 kB / 0.4915 GB, free: 9.625 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007023/0.7787, allocations: 478.8 kB / 0.4919 GB, free: 9.449 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001302/0.7788, allocations: 107.3 kB / 0.492 GB, free: 9.34 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.937e-05/0.7789, allocations: 12.81 kB / 0.492 GB, free: 9.336 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002566/0.7792, allocations: 13.58 kB / 0.4921 GB, free: 9.336 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.503e-05/0.7792, allocations: 21.48 kB / 0.4921 GB, free: 9.336 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.384e-05/0.7793, allocations: 35.56 kB / 0.4921 GB, free: 9.336 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002553/0.7796, allocations: 186.4 kB / 0.4923 GB, free: 9.258 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.7796, allocations: 0 / 0.4923 GB, free: 9.258 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005885/0.7802, allocations: 124.9 kB / 0.4924 GB, free: 9.25 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004401/0.7806, allocations: 150.2 kB / 0.4926 GB, free: 9.152 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006948/0.7813, allocations: 376.1 kB / 0.4929 GB, free: 9.031 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.7813, allocations: 0 / 0.4929 GB, free: 9.031 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003143/0.7817, allocations: 232.3 kB / 0.4931 GB, free: 8.922 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009179/0.7826, allocations: 174.5 kB / 0.4933 GB, free: 8.891 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/0.7839, allocations: 0.8315 MB / 0.4941 GB, free: 8.434 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000388/0.7843, allocations: 0.7685 MB / 0.4949 GB, free: 7.727 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005859/0.7849, allocations: 116.8 kB / 0.495 GB, free: 7.684 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002046/0.7851, allocations: 67.94 kB / 0.495 GB, free: 7.668 MB / 398.1 MB Notification: Performance of SimCode: time 4.71e-07/0.7851, allocations: 4 kB / 0.495 GB, free: 7.664 MB / 398.1 MB Notification: Performance of Templates: time 0.01496/0.8001, allocations: 8.255 MB / 0.5031 GB, free: 4.301 MB / 398.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)