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.0009952/0.0009953, allocations: 95.28 kB / 16.3 MB, free: 5.996 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.001033/0.001033, allocations: 184 kB / 17.2 MB, free: 5.914 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.443/1.443, allocations: 205.4 MB / 223.4 MB, free: 5.566 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.0004635/0.0004639, allocations: 16 kB / 280.1 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/0.2544, allocations: 47.58 MB / 327.7 MB, free: 1.426 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.4458/0.7003, allocations: 137.3 MB / 465 MB, free: 2.312 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002906/0.7032, allocations: 1.945 MB / 466.9 MB, free: 2.277 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002964/0.7035, allocations: 6.562 kB / 466.9 MB, free: 2.273 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005875/0.7041, allocations: 141.5 kB / 467.1 MB, free: 2.273 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007648/0.7049, allocations: 275.8 kB / 467.3 MB, free: 2.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008594/0.7058, allocations: 276.5 kB / 467.6 MB, free: 2.258 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008296/0.7066, allocations: 489.3 kB / 468.1 MB, free: 2.258 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000199/0.7068, allocations: 70.53 kB / 468.1 MB, free: 2.242 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001086/0.7079, allocations: 433.5 kB / 468.6 MB, free: 2.242 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000252/0.7082, allocations: 172.4 kB / 468.7 MB, free: 2.238 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.072e-05/0.7082, allocations: 13.84 kB / 468.8 MB, free: 2.238 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002994/0.7085, allocations: 109.5 kB / 468.9 MB, free: 2.238 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.7087, allocations: 75.72 kB / 468.9 MB, free: 2.238 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00012/0.7088, allocations: 90.55 kB / 469 MB, free: 2.207 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000507/0.7093, allocations: 390 kB / 469.4 MB, free: 2.184 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.7093, allocations: 0 / 469.4 MB, free: 2.184 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.7093, allocations: 4 kB / 469.4 MB, free: 2.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.173e-06/0.7093, allocations: 0 / 469.4 MB, free: 2.18 MB / 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.0009606/0.7103, allocations: 0.5172 MB / 469.9 MB, free: 17.75 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.7104, allocations: 7.656 kB / 469.9 MB, free: 17.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003209/0.7107, allocations: 47.44 kB / 470 MB, free: 17.73 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003703/0.7111, allocations: 271.9 kB / 470.2 MB, free: 17.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.7111, allocations: 19.06 kB / 470.3 MB, free: 17.52 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.357e-05/0.7111, allocations: 29.41 kB / 470.3 MB, free: 17.51 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004264/0.7116, allocations: 313.6 kB / 470.6 MB, free: 17.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.7116, allocations: 0 / 470.6 MB, free: 17.41 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.568e-05/0.7116, allocations: 14.44 kB / 470.6 MB, free: 17.41 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.7117, allocations: 10.11 kB / 470.6 MB, free: 17.41 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002948/0.712, allocations: 207 kB / 470.8 MB, free: 17.41 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.001663/0.7136, allocations: 1.574 MB / 472.4 MB, free: 16.22 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002646/0.7139, allocations: 177.6 kB / 472.6 MB, free: 16.19 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.411e-05/0.7139, allocations: 3.031 kB / 472.6 MB, free: 16.19 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.714, allocations: 37.34 kB / 472.6 MB, free: 16.15 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.493e-06/0.714, allocations: 0 / 472.6 MB, free: 16.15 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.005182/0.7192, allocations: 1.628 MB / 474.2 MB, free: 15.41 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/0.7192, allocations: 54.47 kB / 474.3 MB, free: 15.35 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002365/0.7195, allocations: 253.1 kB / 474.5 MB, free: 15.24 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.553e-05/0.7195, allocations: 34.89 kB / 474.6 MB, free: 15.21 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.7196, allocations: 165.2 kB / 474.7 MB, free: 15.09 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.522e-05/0.7197, allocations: 114.1 kB / 474.8 MB, free: 15.02 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.681e-05/0.7197, allocations: 3.938 kB / 474.8 MB, free: 15.02 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.7199, allocations: 343.9 kB / 475.2 MB, free: 14.7 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.72, allocations: 92.34 kB / 475.3 MB, free: 14.7 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001659/0.7202, allocations: 186.8 kB / 475.5 MB, free: 14.58 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001696/0.7204, allocations: 115 kB / 475.6 MB, free: 14.57 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.7204, allocations: 2.844 kB / 475.6 MB, free: 14.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005372/0.7209, allocations: 395.1 kB / 476 MB, free: 14.51 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.721, allocations: 11.97 kB / 476 MB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.721, allocations: 2.844 kB / 476 MB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002003/0.7212, allocations: 68.19 kB / 476 MB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003195/0.7215, allocations: 88.3 kB / 476.1 MB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001286/0.7228, allocations: 1.868 MB / 478 MB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002411/0.7231, allocations: 28.94 kB / 478 MB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.898e-05/0.7231, allocations: 39.77 kB / 478.1 MB, free: 12.7 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.0001686/0.7233, allocations: 147.7 kB / 478.2 MB, free: 12.58 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.954e-05/0.7234, allocations: 32.23 kB / 478.2 MB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000883/0.7242, allocations: 436.8 kB / 478.7 MB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.7243, allocations: 5.875 kB / 478.7 MB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.654e-06/0.7243, allocations: 0 / 478.7 MB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000489/0.7248, allocations: 0.563 MB / 479.2 MB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009097/0.7257, allocations: 0.7182 MB / 480 MB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.7257, allocations: 0 / 480 MB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002872/0.726, allocations: 70.91 kB / 480 MB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.495e-05/0.7261, allocations: 21.89 kB / 480 MB, free: 11.67 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.383e-05/0.7261, allocations: 17.11 kB / 480.1 MB, free: 11.67 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008073/0.7269, allocations: 1.29 MB / 481.3 MB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.727, allocations: 0 / 481.3 MB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005607/0.7275, allocations: 0.4895 MB / 481.8 MB, free: 10.19 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.285e-05/0.7276, allocations: 110.7 kB / 481.9 MB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.806e-05/0.7277, allocations: 8.844 kB / 482 MB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002371/0.7279, allocations: 15.72 kB / 482 MB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.705e-05/0.728, allocations: 28.66 kB / 482 MB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.056e-05/0.728, allocations: 31.89 kB / 482 MB, free: 10.08 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000175/0.7282, allocations: 184.7 kB / 482.2 MB, free: 10 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7282, allocations: 0 / 482.2 MB, free: 10 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005487/0.7288, allocations: 125.3 kB / 482.3 MB, free: 9.996 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.0003949/0.7292, allocations: 148.7 kB / 482.5 MB, free: 9.895 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005812/0.7298, allocations: 379.8 kB / 482.8 MB, free: 9.777 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.7298, allocations: 0 / 482.8 MB, free: 9.777 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002407/0.73, allocations: 226.1 kB / 483.1 MB, free: 9.664 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008319/0.7309, allocations: 171.4 kB / 483.2 MB, free: 9.637 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/0.732, allocations: 0.8254 MB / 484.1 MB, free: 9.184 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003328/0.7323, allocations: 0.7741 MB / 484.8 MB, free: 8.48 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005362/0.7329, allocations: 113.5 kB / 484.9 MB, free: 8.434 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001948/0.7331, allocations: 65.66 kB / 485 MB, free: 8.418 MB / 398.1 MB Notification: Performance of SimCode: time 3.81e-07/0.7331, allocations: 0 / 485 MB, free: 8.418 MB / 398.1 MB Notification: Performance of Templates: time 0.01309/0.7462, allocations: 8.247 MB / 493.3 MB, free: 6.812 MB / 398.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: