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.001259/0.001259, allocations: 108.3 kB / 16.51 MB, free: 6.707 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.001285/0.001285, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.338/1.338, allocations: 205.1 MB / 223.3 MB, free: 12.5 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.001231/0.001231, allocations: 44.39 kB / 279.3 MB, free: 3.578 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08822/0.08946, allocations: 46.63 MB / 326 MB, free: 4.883 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa): time 0.3235/0.413, allocations: 170.6 MB / 496.6 MB, free: 12.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003588/0.4166, allocations: 3.244 MB / 499.8 MB, free: 9.59 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001396/0.4168, allocations: 0 / 499.8 MB, free: 9.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005826/0.4174, allocations: 139.2 kB / 500 MB, free: 9.453 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007401/0.4182, allocations: 387.7 kB / 0.4886 GB, free: 9.074 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007288/0.4189, allocations: 316.4 kB / 0.4889 GB, free: 8.766 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001342/0.4203, allocations: 1.344 MB / 0.4902 GB, free: 7.418 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001947/0.4205, allocations: 80.5 kB / 0.4903 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001832/0.4223, allocations: 0.7163 MB / 0.491 GB, free: 6.621 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003725/0.4227, allocations: 294.8 kB / 0.4913 GB, free: 6.332 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.107e-05/0.4228, allocations: 16 kB / 0.4913 GB, free: 6.316 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003116/0.4231, allocations: 115.7 kB / 0.4914 GB, free: 6.203 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001161/0.4232, allocations: 79.72 kB / 0.4915 GB, free: 6.125 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001875/0.4234, allocations: 171.3 kB / 0.4917 GB, free: 5.957 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006068/0.424, allocations: 0.5024 MB / 0.4921 GB, free: 5.453 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.424, allocations: 0 / 0.4921 GB, free: 5.453 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.424, allocations: 0 / 0.4921 GB, free: 5.453 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.424, allocations: 0 / 0.4921 GB, free: 5.453 MB / 398.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.0009237/0.425, allocations: 0.5931 MB / 0.4927 GB, free: 4.812 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.425, allocations: 11.97 kB / 0.4927 GB, free: 4.801 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002997/0.4253, allocations: 42.5 kB / 0.4928 GB, free: 4.762 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003938/0.4257, allocations: 286.4 kB / 0.493 GB, free: 4.441 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.367e-05/0.4258, allocations: 20.56 kB / 0.4931 GB, free: 4.422 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.252e-05/0.4258, allocations: 27.98 kB / 0.4931 GB, free: 4.395 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005746/0.4264, allocations: 319.7 kB / 0.4934 GB, free: 4.051 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/0.4264, allocations: 7.922 kB / 0.4934 GB, free: 4.043 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.993e-05/0.4265, allocations: 12 kB / 0.4934 GB, free: 4.031 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.4265, allocations: 4 kB / 0.4934 GB, free: 4.027 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000344/0.4269, allocations: 209.5 kB / 0.4936 GB, free: 3.824 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.002326/0.4292, allocations: 1.577 MB / 0.4952 GB, free: 2.098 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003394/0.4295, allocations: 171.1 kB / 0.4953 GB, free: 1.922 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001741/0.4297, allocations: 104.8 kB / 0.4954 GB, free: 1.816 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.467e-05/0.4298, allocations: 4 kB / 0.4954 GB, free: 1.812 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.852e-05/0.4298, allocations: 38.56 kB / 0.4955 GB, free: 1.766 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.182e-06/0.4298, allocations: 0 / 0.4955 GB, free: 1.766 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.007863/0.4377, allocations: 1.619 MB / 0.497 GB, free: 16 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.254e-05/0.4378, allocations: 55.34 kB / 0.4971 GB, free: 15.95 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004327/0.4383, allocations: 252.9 kB / 0.4973 GB, free: 15.7 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.214e-05/0.4383, allocations: 29.7 kB / 0.4974 GB, free: 15.66 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002/0.4385, allocations: 180.2 kB / 0.4975 GB, free: 15.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001325/0.4387, allocations: 98.64 kB / 0.4976 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002017/0.4389, allocations: 89.31 kB / 0.4977 GB, free: 15.29 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.4391, allocations: 338.8 kB / 0.498 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002898/0.4394, allocations: 91.95 kB / 0.4981 GB, free: 14.86 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003974/0.4398, allocations: 179.8 kB / 0.4983 GB, free: 14.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007473/0.4406, allocations: 320.2 kB / 0.4986 GB, free: 14.28 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.4406, allocations: 0 / 0.4986 GB, free: 14.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001249/0.4419, allocations: 394.7 kB / 0.499 GB, free: 13.88 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.4419, allocations: 4 kB / 0.499 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.4419, allocations: 7.938 kB / 0.499 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003941/0.4423, allocations: 74.08 kB / 0.4991 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005837/0.4429, allocations: 92.7 kB / 0.4992 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002297/0.4453, allocations: 1.856 MB / 0.501 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004361/0.4457, allocations: 15.91 kB / 0.501 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001362/0.4459, allocations: 43.98 kB / 0.501 GB, free: 11.63 MB / 414.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.0002925/0.4462, allocations: 157.8 kB / 0.5012 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/0.4463, allocations: 31.66 kB / 0.5012 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001688/0.448, allocations: 427.7 kB / 0.5016 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.448, allocations: 4 kB / 0.5016 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.4481, allocations: 4 kB / 0.5016 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009537/0.449, allocations: 0.5591 MB / 0.5022 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001747/0.4508, allocations: 0.7348 MB / 0.5029 GB, free: 9.543 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.4508, allocations: 0 / 0.5029 GB, free: 9.543 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004836/0.4513, allocations: 67.95 kB / 0.5029 GB, free: 9.477 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001164/0.4514, allocations: 28.91 kB / 0.503 GB, free: 9.445 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.798e-05/0.4515, allocations: 11.98 kB / 0.503 GB, free: 9.434 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001384/0.4529, allocations: 1.28 MB / 0.5042 GB, free: 8.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/0.4529, allocations: 8.016 kB / 0.5042 GB, free: 8.012 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009881/0.4539, allocations: 478.5 kB / 0.5047 GB, free: 7.52 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001932/0.4541, allocations: 101 kB / 0.5048 GB, free: 7.402 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.117e-05/0.4542, allocations: 15.98 kB / 0.5048 GB, free: 7.387 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004181/0.4546, allocations: 15.91 kB / 0.5048 GB, free: 7.371 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.509e-05/0.4547, allocations: 27.91 kB / 0.5049 GB, free: 7.344 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.065e-05/0.4548, allocations: 27.98 kB / 0.5049 GB, free: 7.316 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002738/0.4551, allocations: 194 kB / 0.5051 GB, free: 7.129 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4551, allocations: 3.938 kB / 0.5051 GB, free: 7.125 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009483/0.4561, allocations: 127.9 kB / 0.5052 GB, free: 7 MB / 414.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.0005622/0.4567, allocations: 153.1 kB / 0.5053 GB, free: 6.844 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00106/0.4577, allocations: 370.4 kB / 0.5057 GB, free: 6.469 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.4578, allocations: 4 kB / 0.5057 GB, free: 6.465 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004615/0.4582, allocations: 227.5 kB / 0.5059 GB, free: 6.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001673/0.4599, allocations: 167.5 kB / 0.5061 GB, free: 6.066 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002043/0.462, allocations: 0.7883 MB / 0.5068 GB, free: 5.254 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005106/0.4625, allocations: 0.7684 MB / 0.5076 GB, free: 4.461 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001076/0.4636, allocations: 122.8 kB / 0.5077 GB, free: 4.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003906/0.464, allocations: 63.41 kB / 0.5078 GB, free: 4.277 MB / 414.1 MB Notification: Performance of SimCode: time 6.22e-07/0.464, allocations: 3.938 kB / 0.5078 GB, free: 4.273 MB / 414.1 MB Notification: Performance of Templates: time 0.02295/0.487, allocations: 8.43 MB / 0.516 GB, free: 11.84 MB / 430.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)