Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.00646/0.00646, allocations: 97.64 kB / 15.73 MB, free: 6.48 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.001517/0.001517, allocations: 192.4 kB / 16.67 MB, free: 6.391 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.546/1.546, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.001289/0.001289, allocations: 55.45 kB / 326.6 MB, free: 14.28 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1241, allocations: 46.62 MB / 373.2 MB, free: 1.289 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.4996/0.6238, allocations: 172.7 MB / 0.5332 GB, free: 3.008 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004561/0.6284, allocations: 3.228 MB / 0.5363 GB, free: 15.77 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001836/0.6286, allocations: 4 kB / 0.5363 GB, free: 15.77 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000716/0.6294, allocations: 174.9 kB / 0.5365 GB, free: 15.59 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009204/0.6303, allocations: 409.4 kB / 0.5369 GB, free: 15.2 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008669/0.6312, allocations: 347.8 kB / 0.5372 GB, free: 14.86 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008983/0.6321, allocations: 0.8914 MB / 0.5381 GB, free: 13.96 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002393/0.6323, allocations: 107.6 kB / 0.5382 GB, free: 13.86 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001915/0.6342, allocations: 0.7998 MB / 0.539 GB, free: 13.07 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003527/0.6346, allocations: 263 kB / 0.5392 GB, free: 12.81 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.651e-05/0.6347, allocations: 32 kB / 0.5392 GB, free: 12.78 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002995/0.635, allocations: 127.9 kB / 0.5394 GB, free: 12.65 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.6351, allocations: 87.72 kB / 0.5394 GB, free: 12.57 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001768/0.6353, allocations: 195.2 kB / 0.5396 GB, free: 12.38 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000612/0.6359, allocations: 0.518 MB / 0.5401 GB, free: 11.86 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.6359, allocations: 0 / 0.5401 GB, free: 11.86 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.6359, allocations: 0 / 0.5401 GB, free: 11.86 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.225e-06/0.6359, allocations: 0 / 0.5401 GB, free: 11.86 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.0009008/0.6369, allocations: 0.5769 MB / 0.5407 GB, free: 11.23 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.6369, allocations: 12.03 kB / 0.5407 GB, free: 11.22 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002897/0.6372, allocations: 47.61 kB / 0.5408 GB, free: 11.17 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005012/0.6377, allocations: 286.4 kB / 0.541 GB, free: 10.85 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/0.6377, allocations: 24.5 kB / 0.5411 GB, free: 10.82 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.937e-05/0.6378, allocations: 24 kB / 0.5411 GB, free: 10.8 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004926/0.6383, allocations: 319.7 kB / 0.5414 GB, free: 10.46 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.6383, allocations: 7.875 kB / 0.5414 GB, free: 10.45 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.844e-05/0.6384, allocations: 12 kB / 0.5414 GB, free: 10.44 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/0.6384, allocations: 8 kB / 0.5414 GB, free: 10.43 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003139/0.6387, allocations: 201.5 kB / 0.5416 GB, free: 10.24 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.001847/0.6406, allocations: 1.596 MB / 0.5432 GB, free: 8.492 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002929/0.6409, allocations: 168.3 kB / 0.5433 GB, free: 8.32 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000138/0.641, allocations: 100.8 kB / 0.5434 GB, free: 8.219 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.319e-05/0.6411, allocations: 4 kB / 0.5434 GB, free: 8.215 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.6411, allocations: 42.5 kB / 0.5435 GB, free: 8.164 MB / 430.1 MB Notification: Performance of pre-optimization done (n=22): time 1.342e-06/0.6411, allocations: 0 / 0.5435 GB, free: 8.164 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.005268/0.6464, allocations: 1.62 MB / 0.545 GB, free: 6.414 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/0.6464, allocations: 55.41 kB / 0.5451 GB, free: 6.348 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002447/0.6467, allocations: 252.9 kB / 0.5453 GB, free: 6.094 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.232e-05/0.6467, allocations: 33.7 kB / 0.5454 GB, free: 6.055 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.6468, allocations: 176.2 kB / 0.5455 GB, free: 5.879 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.392e-05/0.6469, allocations: 98.64 kB / 0.5456 GB, free: 5.781 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000118/0.647, allocations: 81.69 kB / 0.5457 GB, free: 5.695 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.6472, allocations: 334.8 kB / 0.546 GB, free: 5.359 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001535/0.6473, allocations: 87.95 kB / 0.5461 GB, free: 5.273 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002086/0.6476, allocations: 183.8 kB / 0.5463 GB, free: 5.051 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004026/0.648, allocations: 312.2 kB / 0.5466 GB, free: 4.703 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.648, allocations: 3.938 kB / 0.5466 GB, free: 4.699 MB / 430.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000602/0.6486, allocations: 398.9 kB / 0.547 GB, free: 4.297 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.6486, allocations: 11.94 kB / 0.547 GB, free: 4.285 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.6486, allocations: 4 kB / 0.547 GB, free: 4.281 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002209/0.6489, allocations: 73.67 kB / 0.5471 GB, free: 4.203 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003276/0.6492, allocations: 87.89 kB / 0.5471 GB, free: 4.117 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001484/0.6507, allocations: 1.951 MB / 0.549 GB, free: 2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001811/0.6509, allocations: 8 kB / 0.5491 GB, free: 1.992 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.702e-05/0.651, allocations: 36 kB / 0.5491 GB, free: 1.957 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.0001773/0.6511, allocations: 161.6 kB / 0.5492 GB, free: 1.789 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.3e-05/0.6512, allocations: 27.7 kB / 0.5493 GB, free: 1.762 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008079/0.652, allocations: 441.7 kB / 0.5497 GB, free: 1.312 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.652, allocations: 4 kB / 0.5497 GB, free: 1.309 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.255e-06/0.6521, allocations: 0 / 0.5497 GB, free: 1.309 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005552/0.6526, allocations: 0.5591 MB / 0.5502 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009795/0.6536, allocations: 0.743 MB / 0.551 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.6536, allocations: 7.984 kB / 0.551 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002968/0.6539, allocations: 71.89 kB / 0.551 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.022e-05/0.654, allocations: 16.84 kB / 0.5511 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.776e-05/0.654, allocations: 12 kB / 0.5511 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008723/0.6549, allocations: 1.375 MB / 0.5524 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.6549, allocations: 0 / 0.5524 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006185/0.6556, allocations: 491.2 kB / 0.5529 GB, free: 13.72 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.546e-05/0.6556, allocations: 100.8 kB / 0.553 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.159e-05/0.6557, allocations: 8 kB / 0.553 GB, free: 13.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002297/0.6559, allocations: 11.98 kB / 0.553 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.397e-05/0.656, allocations: 28.03 kB / 0.553 GB, free: 13.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.35e-05/0.656, allocations: 31.98 kB / 0.5531 GB, free: 13.53 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001691/0.6562, allocations: 182 kB / 0.5532 GB, free: 13.35 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6562, allocations: 4 kB / 0.5532 GB, free: 13.34 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000486/0.6567, allocations: 124 kB / 0.5533 GB, free: 13.22 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.0003771/0.6571, allocations: 155 kB / 0.5535 GB, free: 13.06 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006679/0.6578, allocations: 371.2 kB / 0.5538 GB, free: 12.69 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.6578, allocations: 4 kB / 0.5539 GB, free: 12.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002684/0.6581, allocations: 230.6 kB / 0.5541 GB, free: 12.45 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009068/0.659, allocations: 168.2 kB / 0.5542 GB, free: 12.28 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/0.6602, allocations: 0.6953 MB / 0.5549 GB, free: 11.55 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003062/0.6605, allocations: 0.7606 MB / 0.5557 GB, free: 10.77 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003621/0.6609, allocations: 118.9 kB / 0.5558 GB, free: 10.65 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001668/0.6611, allocations: 67.41 kB / 0.5558 GB, free: 10.59 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.6611, allocations: 4 kB / 0.5558 GB, free: 10.58 MB / 446.1 MB Notification: Performance of Templates: time 0.01381/0.6749, allocations: 8.861 MB / 0.5645 GB, free: 1.699 MB / 446.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe 2>&1)