Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.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.Air.DryAirNasa,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, 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.001068/0.001068, 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.321/1.321, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.001153/0.001153, allocations: 51.92 kB / 327.9 MB, free: 3.254 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09598/0.09714, allocations: 46.62 MB / 374.5 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa): time 0.455/0.5522, allocations: 172.8 MB / 0.5345 GB, free: 2.312 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00398/0.5562, allocations: 3.22 MB / 0.5376 GB, free: 15.07 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002264/0.5565, allocations: 7.938 kB / 0.5376 GB, free: 15.07 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006598/0.5572, allocations: 175 kB / 0.5378 GB, free: 14.89 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001195/0.5584, allocations: 411.2 kB / 0.5382 GB, free: 14.49 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009379/0.5593, allocations: 335.8 kB / 0.5385 GB, free: 14.16 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009628/0.5603, allocations: 0.8915 MB / 0.5394 GB, free: 13.27 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002256/0.5605, allocations: 104.7 kB / 0.5395 GB, free: 13.17 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001855/0.5624, allocations: 0.7976 MB / 0.5402 GB, free: 12.38 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003475/0.5628, allocations: 263 kB / 0.5405 GB, free: 12.12 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.055e-05/0.5628, allocations: 32 kB / 0.5405 GB, free: 12.09 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002876/0.5631, allocations: 123.8 kB / 0.5406 GB, free: 11.96 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.5632, allocations: 99.72 kB / 0.5407 GB, free: 11.87 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001829/0.5634, allocations: 191.2 kB / 0.5409 GB, free: 11.68 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005725/0.564, allocations: 0.5141 MB / 0.5414 GB, free: 11.16 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.564, allocations: 8 kB / 0.5414 GB, free: 11.16 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.564, allocations: 0 / 0.5414 GB, free: 11.16 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.564, allocations: 0 / 0.5414 GB, free: 11.16 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.0008657/0.5649, allocations: 0.5775 MB / 0.542 GB, free: 10.53 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.565, allocations: 12.03 kB / 0.542 GB, free: 10.52 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002805/0.5652, allocations: 39.62 kB / 0.542 GB, free: 10.48 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004811/0.5657, allocations: 298.3 kB / 0.5423 GB, free: 10.14 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.5658, allocations: 24.55 kB / 0.5423 GB, free: 10.12 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.717e-05/0.5658, allocations: 24 kB / 0.5424 GB, free: 10.1 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004931/0.5663, allocations: 319.7 kB / 0.5427 GB, free: 9.762 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.5663, allocations: 3.938 kB / 0.5427 GB, free: 9.758 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.818e-05/0.5664, allocations: 12 kB / 0.5427 GB, free: 9.746 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.5664, allocations: 4 kB / 0.5427 GB, free: 9.742 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003206/0.5667, allocations: 209.5 kB / 0.5429 GB, free: 9.539 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.001877/0.5686, allocations: 1.589 MB / 0.5444 GB, free: 7.801 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002926/0.5689, allocations: 175 kB / 0.5446 GB, free: 7.621 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001481/0.5691, allocations: 100.8 kB / 0.5447 GB, free: 7.52 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.177e-05/0.5691, allocations: 4 kB / 0.5447 GB, free: 7.516 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.5691, allocations: 34.56 kB / 0.5447 GB, free: 7.473 MB / 478.1 MB Notification: Performance of pre-optimization done (n=22): time 1.914e-06/0.5692, allocations: 4 kB / 0.5447 GB, free: 7.469 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.005519/0.5747, allocations: 1.619 MB / 0.5463 GB, free: 5.719 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/0.5747, allocations: 55.41 kB / 0.5464 GB, free: 5.652 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002525/0.575, allocations: 252.8 kB / 0.5466 GB, free: 5.398 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.371e-05/0.575, allocations: 37.7 kB / 0.5467 GB, free: 5.355 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.5751, allocations: 176.2 kB / 0.5468 GB, free: 5.176 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.08e-05/0.5752, allocations: 98.64 kB / 0.5469 GB, free: 5.078 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001198/0.5754, allocations: 81.69 kB / 0.547 GB, free: 4.992 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.5755, allocations: 330.8 kB / 0.5473 GB, free: 4.66 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001596/0.5757, allocations: 95.89 kB / 0.5474 GB, free: 4.566 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002117/0.5759, allocations: 183.8 kB / 0.5476 GB, free: 4.344 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003952/0.5763, allocations: 308.2 kB / 0.5479 GB, free: 4 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.5763, allocations: 4 kB / 0.5479 GB, free: 3.996 MB / 478.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006191/0.5769, allocations: 403 kB / 0.5483 GB, free: 3.59 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.5769, allocations: 8 kB / 0.5483 GB, free: 3.582 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.577, allocations: 4 kB / 0.5483 GB, free: 3.578 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002321/0.5772, allocations: 69.67 kB / 0.5483 GB, free: 3.504 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003414/0.5776, allocations: 87.84 kB / 0.5484 GB, free: 3.418 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001478/0.579, allocations: 1.956 MB / 0.5503 GB, free: 1.301 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000189/0.5792, allocations: 12.06 kB / 0.5503 GB, free: 1.289 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.275e-05/0.5793, allocations: 36 kB / 0.5504 GB, free: 1.254 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.000168/0.5795, allocations: 158.4 kB / 0.5505 GB, free: 1.09 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.661e-05/0.5796, allocations: 27.72 kB / 0.5506 GB, free: 1.062 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008422/0.5804, allocations: 442.6 kB / 0.551 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.5804, allocations: 0 / 0.551 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.5804, allocations: 4 kB / 0.551 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2331/0.8136, allocations: 0.5619 MB / 0.5515 GB, free: 170.7 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001342/0.815, allocations: 0.7305 MB / 0.5522 GB, free: 170.4 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.815, allocations: 2.188 kB / 0.5522 GB, free: 170.4 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003513/0.8153, allocations: 69.5 kB / 0.5523 GB, free: 170.4 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001038/0.8155, allocations: 24.12 kB / 0.5523 GB, free: 170.4 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.343e-05/0.8155, allocations: 13.19 kB / 0.5523 GB, free: 170.4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000739/0.8162, allocations: 1.382 MB / 0.5537 GB, free: 169.1 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.8163, allocations: 1.375 kB / 0.5537 GB, free: 169.1 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007062/0.817, allocations: 477.4 kB / 0.5542 GB, free: 168.9 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.951e-05/0.8171, allocations: 106.8 kB / 0.5543 GB, free: 168.8 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.314e-05/0.8171, allocations: 8.812 kB / 0.5543 GB, free: 168.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002229/0.8173, allocations: 7.062 kB / 0.5543 GB, free: 168.8 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.073e-05/0.8174, allocations: 27.91 kB / 0.5543 GB, free: 168.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.474e-05/0.8175, allocations: 32.97 kB / 0.5543 GB, free: 168.8 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001981/0.8177, allocations: 189.4 kB / 0.5545 GB, free: 168.7 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.8177, allocations: 1.5 kB / 0.5545 GB, free: 168.7 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006161/0.8183, allocations: 122.2 kB / 0.5546 GB, free: 168.7 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.000387/0.8187, allocations: 153.8 kB / 0.5548 GB, free: 168.6 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.000754/0.8194, allocations: 373 kB / 0.5551 GB, free: 168.5 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.8195, allocations: 4.375 kB / 0.5551 GB, free: 168.5 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003039/0.8198, allocations: 232.7 kB / 0.5554 GB, free: 168.4 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000996/0.8208, allocations: 168.9 kB / 0.5555 GB, free: 168.4 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/0.822, allocations: 0.6918 MB / 0.5562 GB, free: 168.1 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003535/0.8224, allocations: 0.7693 MB / 0.5569 GB, free: 167.4 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004039/0.8228, allocations: 120.6 kB / 0.5571 GB, free: 167.4 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001841/0.823, allocations: 62.95 kB / 0.5571 GB, free: 167.4 MB / 478.1 MB Notification: Performance of SimCode: time 2.31e-07/0.823, allocations: 4 kB / 0.5571 GB, free: 167.4 MB / 478.1 MB Notification: Performance of Templates: time 0.01811/0.8411, allocations: 8.854 MB / 0.5658 GB, free: 165.7 MB / 478.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe 2>&1)