Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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: 111.3 kB / 15.23 MB, free: 0.6406 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.001238/0.001238, allocations: 193.6 kB / 16.14 MB, free: 6.707 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.401/1.401, allocations: 205.1 MB / 222 MB, free: 4.996 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.001095/0.001095, allocations: 43.94 kB / 278.1 MB, free: 12.98 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2077, allocations: 46.63 MB / 324.7 MB, free: 1.828 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa): time 0.3709/0.5786, allocations: 170.6 MB / 495.3 MB, free: 460 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004408/0.5831, allocations: 3.227 MB / 498.5 MB, free: 364 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001665/0.5833, allocations: 2.406 kB / 498.5 MB, free: 364 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005985/0.5839, allocations: 144.2 kB / 498.7 MB, free: 360 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000841/0.5848, allocations: 388.2 kB / 499.1 MB, free: 340 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008404/0.5856, allocations: 317.4 kB / 499.4 MB, free: 320 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001501/0.5871, allocations: 1.345 MB / 0.489 GB, free: 316 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002088/0.5874, allocations: 78.67 kB / 0.4891 GB, free: 300 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001936/0.5893, allocations: 0.7164 MB / 0.4898 GB, free: 272 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003419/0.5897, allocations: 289.9 kB / 0.49 GB, free: 272 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.784e-05/0.5897, allocations: 15.91 kB / 0.49 GB, free: 272 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003429/0.5901, allocations: 105.6 kB / 0.4901 GB, free: 272 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001192/0.5902, allocations: 82.09 kB / 0.4902 GB, free: 272 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002045/0.5904, allocations: 178.9 kB / 0.4904 GB, free: 268 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004913/0.5909, allocations: 0.5001 MB / 0.4909 GB, free: 244 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.5909, allocations: 0 / 0.4909 GB, free: 244 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.5909, allocations: 3.938 kB / 0.4909 GB, free: 240 kB / 382.1 MB Notification: Performance of Transformations before backend: time 9.728e-06/0.5909, allocations: 1.094 kB / 0.4909 GB, free: 240 kB / 382.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.0008599/0.5918, allocations: 0.5859 MB / 0.4915 GB, free: 15.8 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.5918, allocations: 10.5 kB / 0.4915 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003026/0.5922, allocations: 48.81 kB / 0.4915 GB, free: 15.78 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000385/0.5926, allocations: 289 kB / 0.4918 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.5926, allocations: 15.81 kB / 0.4918 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.991e-05/0.5926, allocations: 28 kB / 0.4918 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004872/0.5931, allocations: 314.9 kB / 0.4921 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/0.5932, allocations: 7.938 kB / 0.4921 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.062e-05/0.5932, allocations: 12.25 kB / 0.4922 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.5932, allocations: 4.938 kB / 0.4922 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003206/0.5935, allocations: 208.1 kB / 0.4924 GB, free: 15.45 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.001791/0.5953, allocations: 1.587 MB / 0.4939 GB, free: 14.25 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002846/0.5956, allocations: 171.1 kB / 0.4941 GB, free: 14.23 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001371/0.5958, allocations: 100.9 kB / 0.4942 GB, free: 14.22 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.654e-05/0.5958, allocations: 5.266 kB / 0.4942 GB, free: 14.22 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.5959, allocations: 42.19 kB / 0.4942 GB, free: 14.18 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 2.224e-06/0.5959, allocations: 0 / 0.4942 GB, free: 14.18 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.005482/0.6014, allocations: 1.62 MB / 0.4958 GB, free: 13.43 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/0.6014, allocations: 56.47 kB / 0.4959 GB, free: 13.37 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002292/0.6017, allocations: 249.3 kB / 0.4961 GB, free: 13.27 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.215e-05/0.6017, allocations: 37.17 kB / 0.4961 GB, free: 13.23 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.6019, allocations: 176.5 kB / 0.4963 GB, free: 13.1 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.615e-05/0.6019, allocations: 96.56 kB / 0.4964 GB, free: 13.04 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/0.6021, allocations: 88.31 kB / 0.4965 GB, free: 13.02 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.6022, allocations: 337.8 kB / 0.4968 GB, free: 12.71 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/0.6023, allocations: 84.88 kB / 0.4969 GB, free: 12.71 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000236/0.6026, allocations: 194.1 kB / 0.4971 GB, free: 12.59 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003974/0.603, allocations: 312.5 kB / 0.4974 GB, free: 12.46 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.603, allocations: 2.094 kB / 0.4974 GB, free: 12.46 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006217/0.6036, allocations: 389.3 kB / 0.4977 GB, free: 12.39 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.6036, allocations: 9.359 kB / 0.4977 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.6037, allocations: 3.375 kB / 0.4977 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002396/0.6039, allocations: 74.11 kB / 0.4978 GB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003424/0.6043, allocations: 85.52 kB / 0.4979 GB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00136/0.6056, allocations: 1.849 MB / 0.4997 GB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003294/0.606, allocations: 27.72 kB / 0.4997 GB, free: 10.6 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.457e-05/0.606, allocations: 41.77 kB / 0.4998 GB, free: 10.59 MB / 398.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.0002044/0.6063, allocations: 154.5 kB / 0.4999 GB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.417e-05/0.6063, allocations: 30.25 kB / 0.4999 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008899/0.6072, allocations: 443.5 kB / 0.5004 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.6073, allocations: 2.906 kB / 0.5004 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.6073, allocations: 1.203 kB / 0.5004 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005091/0.6078, allocations: 0.5569 MB / 0.5009 GB, free: 9.906 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000954/0.6087, allocations: 0.7377 MB / 0.5016 GB, free: 9.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.6088, allocations: 0 / 0.5016 GB, free: 9.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003122/0.6091, allocations: 66.81 kB / 0.5017 GB, free: 9.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.135e-05/0.6092, allocations: 25.08 kB / 0.5017 GB, free: 9.562 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.406e-05/0.6092, allocations: 11.41 kB / 0.5017 GB, free: 9.562 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008655/0.6101, allocations: 1.285 MB / 0.503 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.6101, allocations: 2.219 kB / 0.503 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006147/0.6107, allocations: 484 kB / 0.5034 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.809e-05/0.6108, allocations: 104.4 kB / 0.5035 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.342e-05/0.6109, allocations: 5.844 kB / 0.5036 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000264/0.6111, allocations: 24.39 kB / 0.5036 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.517e-05/0.6112, allocations: 30.78 kB / 0.5036 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.911e-05/0.6112, allocations: 26.33 kB / 0.5036 GB, free: 7.996 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001683/0.6114, allocations: 189.6 kB / 0.5038 GB, free: 7.918 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.6114, allocations: 0 / 0.5038 GB, free: 7.918 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005328/0.612, allocations: 128.2 kB / 0.5039 GB, free: 7.91 MB / 398.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.0003764/0.6123, allocations: 155.2 kB / 0.5041 GB, free: 7.812 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006352/0.613, allocations: 373.4 kB / 0.5044 GB, free: 7.695 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.613, allocations: 0 / 0.5044 GB, free: 7.695 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002728/0.6133, allocations: 229.3 kB / 0.5047 GB, free: 7.586 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009661/0.6143, allocations: 159.1 kB / 0.5048 GB, free: 7.57 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.6154, allocations: 0.7962 MB / 0.5056 GB, free: 7.105 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003423/0.6158, allocations: 0.7668 MB / 0.5063 GB, free: 6.402 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005892/0.6164, allocations: 112 kB / 0.5064 GB, free: 6.359 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002079/0.6166, allocations: 65.92 kB / 0.5065 GB, free: 6.344 MB / 398.1 MB Notification: Performance of SimCode: time 3.8e-07/0.6166, allocations: 1.094 kB / 0.5065 GB, free: 6.344 MB / 398.1 MB Notification: Performance of Templates: time 0.01356/0.6302, allocations: 8.439 MB / 0.5147 GB, free: 1.219 MB / 398.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe 2>&1)