Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_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.1_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.1_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.008072/0.008072, allocations: 100.3 kB / 15.73 MB, free: 6.027 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.002005/0.002005, allocations: 186.9 kB / 16.67 MB, free: 5.965 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.469/1.469, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.001316/0.001316, allocations: 50.52 kB / 326.6 MB, free: 14.35 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1209, allocations: 46.62 MB / 373.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.492/0.613, allocations: 172.7 MB / 0.5332 GB, free: 2.988 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004626/0.6176, allocations: 3.225 MB / 0.5363 GB, free: 15.75 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005081/0.6182, allocations: 7.938 kB / 0.5363 GB, free: 15.74 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007953/0.6191, allocations: 175 kB / 0.5365 GB, free: 15.57 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001315/0.6204, allocations: 413.3 kB / 0.5369 GB, free: 15.17 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001213/0.6216, allocations: 350.3 kB / 0.5372 GB, free: 14.83 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00126/0.6229, allocations: 0.8914 MB / 0.5381 GB, free: 13.94 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002639/0.6232, allocations: 100.7 kB / 0.5382 GB, free: 13.84 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002532/0.6257, allocations: 0.8005 MB / 0.539 GB, free: 13.04 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000532/0.6263, allocations: 279 kB / 0.5392 GB, free: 12.77 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.091e-05/0.6263, allocations: 28 kB / 0.5393 GB, free: 12.74 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003862/0.6267, allocations: 123.9 kB / 0.5394 GB, free: 12.62 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001328/0.6269, allocations: 95.66 kB / 0.5395 GB, free: 12.53 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002211/0.6271, allocations: 179.3 kB / 0.5396 GB, free: 12.35 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000649/0.6278, allocations: 0.518 MB / 0.5401 GB, free: 11.83 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.6278, allocations: 0 / 0.5401 GB, free: 11.83 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.6278, allocations: 0 / 0.5401 GB, free: 11.83 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.354e-05/0.6278, allocations: 0 / 0.5401 GB, free: 11.83 MB / 430.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.00094/0.6288, allocations: 0.5925 MB / 0.5407 GB, free: 11.19 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.6288, allocations: 8.031 kB / 0.5407 GB, free: 11.18 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003107/0.6291, allocations: 43.61 kB / 0.5408 GB, free: 11.14 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005371/0.6297, allocations: 294.4 kB / 0.5411 GB, free: 10.81 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.722e-05/0.6297, allocations: 16.56 kB / 0.5411 GB, free: 10.79 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.451e-05/0.6298, allocations: 28 kB / 0.5411 GB, free: 10.77 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005338/0.6303, allocations: 315.7 kB / 0.5414 GB, free: 10.43 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/0.6303, allocations: 3.938 kB / 0.5414 GB, free: 10.43 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.138e-05/0.6304, allocations: 12 kB / 0.5414 GB, free: 10.41 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.687e-05/0.6304, allocations: 15.92 kB / 0.5414 GB, free: 10.4 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003249/0.6307, allocations: 209.5 kB / 0.5416 GB, free: 10.2 MB / 430.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.001742/0.6325, allocations: 1.581 MB / 0.5432 GB, free: 8.465 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002978/0.6328, allocations: 183.1 kB / 0.5433 GB, free: 8.277 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001469/0.6329, allocations: 96.77 kB / 0.5434 GB, free: 8.18 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.966e-05/0.633, allocations: 4 kB / 0.5434 GB, free: 8.176 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.633, allocations: 38.56 kB / 0.5435 GB, free: 8.129 MB / 430.1 MB Notification: Performance of pre-optimization done (n=22): time 1.413e-06/0.633, allocations: 0 / 0.5435 GB, free: 8.129 MB / 430.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.005608/0.6386, allocations: 1.617 MB / 0.5451 GB, free: 6.383 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.6387, allocations: 51.41 kB / 0.5451 GB, free: 6.32 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002713/0.639, allocations: 256.9 kB / 0.5453 GB, free: 6.062 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.438e-05/0.639, allocations: 33.64 kB / 0.5454 GB, free: 6.023 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.6391, allocations: 180.2 kB / 0.5456 GB, free: 5.844 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.114e-05/0.6392, allocations: 86.66 kB / 0.5456 GB, free: 5.758 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/0.6393, allocations: 81.69 kB / 0.5457 GB, free: 5.672 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.6395, allocations: 338.8 kB / 0.546 GB, free: 5.332 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001627/0.6397, allocations: 91.95 kB / 0.5461 GB, free: 5.242 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000244/0.6399, allocations: 191.7 kB / 0.5463 GB, free: 5.012 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000404/0.6403, allocations: 304.2 kB / 0.5466 GB, free: 4.672 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.6403, allocations: 0 / 0.5466 GB, free: 4.672 MB / 430.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006294/0.641, allocations: 406.6 kB / 0.547 GB, free: 4.262 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.641, allocations: 4 kB / 0.547 GB, free: 4.258 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.641, allocations: 4 kB / 0.547 GB, free: 4.254 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002625/0.6413, allocations: 78.08 kB / 0.5471 GB, free: 4.172 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003484/0.6416, allocations: 87.89 kB / 0.5472 GB, free: 4.086 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001485/0.6431, allocations: 1.943 MB / 0.549 GB, free: 1.977 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000205/0.6434, allocations: 12 kB / 0.5491 GB, free: 1.965 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.689e-05/0.6434, allocations: 43.98 kB / 0.5491 GB, free: 1.922 MB / 430.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.000266/0.6437, allocations: 157.8 kB / 0.5493 GB, free: 1.758 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.959e-05/0.6438, allocations: 31.66 kB / 0.5493 GB, free: 1.727 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008739/0.6446, allocations: 433.7 kB / 0.5497 GB, free: 1.285 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.6447, allocations: 7.984 kB / 0.5497 GB, free: 1.277 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.6447, allocations: 0 / 0.5497 GB, free: 1.277 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005652/0.6452, allocations: 0.563 MB / 0.5503 GB, free: 0.625 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001073/0.6463, allocations: 0.7391 MB / 0.551 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.155e-06/0.6463, allocations: 3.938 kB / 0.551 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003042/0.6467, allocations: 63.95 kB / 0.551 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.494e-05/0.6467, allocations: 20.84 kB / 0.5511 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.571e-05/0.6468, allocations: 16.06 kB / 0.5511 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001079/0.6479, allocations: 1.39 MB / 0.5524 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.6479, allocations: 0 / 0.5524 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000652/0.6485, allocations: 483 kB / 0.5529 GB, free: 13.69 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.884e-05/0.6486, allocations: 100.9 kB / 0.553 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.861e-05/0.6487, allocations: 12 kB / 0.553 GB, free: 13.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002267/0.6489, allocations: 8 kB / 0.553 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.359e-05/0.649, allocations: 23.97 kB / 0.553 GB, free: 13.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.022e-05/0.649, allocations: 27.98 kB / 0.5531 GB, free: 13.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000195/0.6492, allocations: 194 kB / 0.5532 GB, free: 13.31 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.563e-06/0.6492, allocations: 0 / 0.5532 GB, free: 13.31 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005095/0.6498, allocations: 123.9 kB / 0.5534 GB, free: 13.19 MB / 446.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.0003949/0.6502, allocations: 151.1 kB / 0.5535 GB, free: 13.03 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007366/0.6509, allocations: 379 kB / 0.5539 GB, free: 12.65 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.6509, allocations: 0 / 0.5539 GB, free: 12.65 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003051/0.6512, allocations: 234.5 kB / 0.5541 GB, free: 12.41 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009653/0.6522, allocations: 172.4 kB / 0.5543 GB, free: 12.24 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.6535, allocations: 0.6914 MB / 0.5549 GB, free: 11.51 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003841/0.6539, allocations: 0.7645 MB / 0.5557 GB, free: 10.72 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004046/0.6543, allocations: 122.9 kB / 0.5558 GB, free: 10.61 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001668/0.6545, allocations: 63.42 kB / 0.5559 GB, free: 10.54 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.6545, allocations: 4 kB / 0.5559 GB, free: 10.54 MB / 446.1 MB Notification: Performance of Templates: time 0.01451/0.669, allocations: 8.764 MB / 0.5644 GB, free: 1.754 MB / 446.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.sim & ./Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe 2>&1)