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.001174/0.001174, allocations: 106.1 kB / 17.06 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.001281/0.001281, allocations: 195 kB / 18 MB, free: 5.105 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.434/1.434, allocations: 205.1 MB / 223.9 MB, free: 12.23 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.001402/0.001402, allocations: 47.94 kB / 327.9 MB, free: 3.254 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.117, allocations: 46.63 MB / 374.5 MB, free: 4.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.4184/0.5355, allocations: 172.7 MB / 0.5345 GB, free: 2.305 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003994/0.5395, allocations: 3.224 MB / 0.5376 GB, free: 15.06 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001867/0.5398, allocations: 7.938 kB / 0.5376 GB, free: 15.05 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006289/0.5404, allocations: 171 kB / 0.5378 GB, free: 14.89 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008696/0.5413, allocations: 407.2 kB / 0.5382 GB, free: 14.49 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008524/0.5422, allocations: 344.4 kB / 0.5385 GB, free: 14.15 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008809/0.5431, allocations: 0.8876 MB / 0.5394 GB, free: 13.26 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002336/0.5433, allocations: 108.7 kB / 0.5395 GB, free: 13.16 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00195/0.5453, allocations: 0.7905 MB / 0.5402 GB, free: 12.37 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003629/0.5456, allocations: 270.9 kB / 0.5405 GB, free: 12.11 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.392e-05/0.5457, allocations: 32 kB / 0.5405 GB, free: 12.07 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003082/0.546, allocations: 123.9 kB / 0.5406 GB, free: 11.95 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001093/0.5461, allocations: 99.7 kB / 0.5407 GB, free: 11.86 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000191/0.5463, allocations: 187.3 kB / 0.5409 GB, free: 11.67 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005904/0.5469, allocations: 0.518 MB / 0.5414 GB, free: 11.15 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.547, allocations: 4 kB / 0.5414 GB, free: 11.15 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.547, allocations: 0 / 0.5414 GB, free: 11.15 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.215e-05/0.547, allocations: 0 / 0.5414 GB, free: 11.15 MB / 478.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.0008689/0.5479, allocations: 0.5853 MB / 0.542 GB, free: 10.51 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.5479, allocations: 8.031 kB / 0.542 GB, free: 10.5 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002947/0.5482, allocations: 39.62 kB / 0.542 GB, free: 10.46 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005173/0.5487, allocations: 298.4 kB / 0.5423 GB, free: 10.13 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.5488, allocations: 16.56 kB / 0.5423 GB, free: 10.12 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.002e-05/0.5488, allocations: 24 kB / 0.5424 GB, free: 10.09 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004826/0.5493, allocations: 319.7 kB / 0.5427 GB, free: 9.758 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.5493, allocations: 3.938 kB / 0.5427 GB, free: 9.754 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.759e-05/0.5494, allocations: 12.88 kB / 0.5427 GB, free: 9.742 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.5494, allocations: 8 kB / 0.5427 GB, free: 9.734 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003095/0.5497, allocations: 209.5 kB / 0.5429 GB, free: 9.531 MB / 478.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.001765/0.5515, allocations: 1.593 MB / 0.5444 GB, free: 7.789 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002861/0.5518, allocations: 171.1 kB / 0.5446 GB, free: 7.613 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001393/0.5519, allocations: 100.8 kB / 0.5447 GB, free: 7.512 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.312e-05/0.552, allocations: 7.984 kB / 0.5447 GB, free: 7.504 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.156e-05/0.552, allocations: 34.56 kB / 0.5447 GB, free: 7.461 MB / 478.1 MB Notification: Performance of pre-optimization done (n=22): time 1.553e-06/0.552, allocations: 8 kB / 0.5448 GB, free: 7.453 MB / 478.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.005377/0.5574, allocations: 1.605 MB / 0.5463 GB, free: 5.719 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/0.5575, allocations: 55.41 kB / 0.5464 GB, free: 5.652 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002482/0.5577, allocations: 256.8 kB / 0.5466 GB, free: 5.395 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.153e-05/0.5578, allocations: 33.7 kB / 0.5467 GB, free: 5.355 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.5579, allocations: 180.1 kB / 0.5468 GB, free: 5.172 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.163e-05/0.558, allocations: 94.66 kB / 0.5469 GB, free: 5.078 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/0.5581, allocations: 81.69 kB / 0.547 GB, free: 4.992 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.5582, allocations: 330.8 kB / 0.5473 GB, free: 4.66 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001674/0.5584, allocations: 91.91 kB / 0.5474 GB, free: 4.57 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000229/0.5587, allocations: 192.6 kB / 0.5476 GB, free: 4.34 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004479/0.5591, allocations: 308.2 kB / 0.5479 GB, free: 3.996 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.5591, allocations: 0 / 0.5479 GB, free: 3.996 MB / 478.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006211/0.5597, allocations: 403 kB / 0.5483 GB, free: 3.59 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.5598, allocations: 8 kB / 0.5483 GB, free: 3.582 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.5598, allocations: 7.984 kB / 0.5483 GB, free: 3.574 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002317/0.56, allocations: 69.69 kB / 0.5483 GB, free: 3.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000335/0.5604, allocations: 87.83 kB / 0.5484 GB, free: 3.414 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001617/0.562, allocations: 1.962 MB / 0.5503 GB, free: 1.293 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001793/0.5622, allocations: 12.09 kB / 0.5503 GB, free: 1.281 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.635e-05/0.5623, allocations: 40 kB / 0.5504 GB, free: 1.242 MB / 478.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.0001686/0.5624, allocations: 158.4 kB / 0.5505 GB, free: 1.078 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.749e-05/0.5625, allocations: 23.72 kB / 0.5506 GB, free: 1.055 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000847/0.5634, allocations: 442.4 kB / 0.551 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.5634, allocations: 4 kB / 0.551 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.5634, allocations: 0 / 0.551 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2476/0.811, allocations: 0.5611 MB / 0.5515 GB, free: 170.6 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00133/0.8124, allocations: 0.7321 MB / 0.5522 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.8124, allocations: 1.375 kB / 0.5523 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003432/0.8127, allocations: 69.27 kB / 0.5523 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001265/0.8129, allocations: 24.42 kB / 0.5523 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.674e-05/0.8129, allocations: 16.73 kB / 0.5524 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008745/0.8138, allocations: 1.375 MB / 0.5537 GB, free: 169 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.8138, allocations: 3.719 kB / 0.5537 GB, free: 169 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006662/0.8145, allocations: 477.6 kB / 0.5542 GB, free: 168.8 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.398e-05/0.8146, allocations: 105.1 kB / 0.5543 GB, free: 168.7 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.281e-05/0.8146, allocations: 8.766 kB / 0.5543 GB, free: 168.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002205/0.8149, allocations: 7.547 kB / 0.5543 GB, free: 168.7 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.161e-05/0.8149, allocations: 29.19 kB / 0.5543 GB, free: 168.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.311e-05/0.815, allocations: 32.97 kB / 0.5543 GB, free: 168.7 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002144/0.8152, allocations: 190 kB / 0.5545 GB, free: 168.6 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8152, allocations: 0 / 0.5545 GB, free: 168.6 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006668/0.8159, allocations: 120.8 kB / 0.5546 GB, free: 168.6 MB / 478.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.0004756/0.8164, allocations: 155.2 kB / 0.5548 GB, free: 168.6 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008168/0.8172, allocations: 374 kB / 0.5551 GB, free: 168.4 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.8172, allocations: 0.5938 kB / 0.5551 GB, free: 168.4 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002917/0.8175, allocations: 236.8 kB / 0.5554 GB, free: 168.3 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00099/0.8185, allocations: 167.8 kB / 0.5555 GB, free: 168.3 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001239/0.8198, allocations: 0.6908 MB / 0.5562 GB, free: 168.1 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002664/0.8201, allocations: 0.7655 MB / 0.5569 GB, free: 167.4 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003757/0.8204, allocations: 115.6 kB / 0.5571 GB, free: 167.3 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001761/0.8206, allocations: 66.73 kB / 0.5571 GB, free: 167.3 MB / 478.1 MB Notification: Performance of SimCode: time 2.11e-07/0.8206, allocations: 4 kB / 0.5571 GB, free: 167.3 MB / 478.1 MB Notification: Performance of Templates: time 0.01865/0.8393, allocations: 8.862 MB / 0.5658 GB, free: 165.6 MB / 478.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)