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.0008771/0.0008772, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005632/0.005632, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.439/1.439, allocations: 205.4 MB / 222.4 MB, free: 5.785 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.000452/0.0004521, allocations: 8 kB / 279.5 MB, free: 12.71 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.2893, allocations: 47.58 MB / 327 MB, free: 1.402 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa): time 0.4646/0.7539, allocations: 168.4 MB / 495.4 MB, free: 14.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003773/0.7578, allocations: 3.183 MB / 498.6 MB, free: 13.83 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003971/0.7582, allocations: 3.344 kB / 498.6 MB, free: 13.83 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007148/0.7589, allocations: 138.3 kB / 498.7 MB, free: 13.8 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001091/0.76, allocations: 396.6 kB / 499.1 MB, free: 13.69 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009558/0.761, allocations: 319.8 kB / 499.4 MB, free: 13.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001279/0.7623, allocations: 1.351 MB / 0.489 GB, free: 13.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002036/0.7625, allocations: 75.05 kB / 0.4891 GB, free: 13.46 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002111/0.7646, allocations: 0.7096 MB / 0.4898 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004051/0.765, allocations: 284.4 kB / 0.4901 GB, free: 13.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.273e-05/0.7651, allocations: 13.81 kB / 0.4901 GB, free: 13.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003256/0.7654, allocations: 110.7 kB / 0.4902 GB, free: 13.15 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.7655, allocations: 75.44 kB / 0.4903 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002143/0.7658, allocations: 199.2 kB / 0.4905 GB, free: 13.08 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005601/0.7663, allocations: 0.4937 MB / 0.4909 GB, free: 12.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.7664, allocations: 0 / 0.4909 GB, free: 12.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.7664, allocations: 9.281 kB / 0.491 GB, free: 12.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.7664, allocations: 0 / 0.491 GB, free: 12.84 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.0009188/0.7673, allocations: 0.5137 MB / 0.4915 GB, free: 12.38 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.7674, allocations: 8.344 kB / 0.4915 GB, free: 12.38 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002988/0.7677, allocations: 44.55 kB / 0.4915 GB, free: 12.36 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003763/0.768, allocations: 284.1 kB / 0.4918 GB, free: 12.11 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/0.7681, allocations: 23.59 kB / 0.4918 GB, free: 12.11 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.538e-05/0.7681, allocations: 22.94 kB / 0.4918 GB, free: 12.11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004838/0.7686, allocations: 318.7 kB / 0.4921 GB, free: 11.96 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.7686, allocations: 3.938 kB / 0.4921 GB, free: 11.95 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.757e-05/0.7687, allocations: 10.44 kB / 0.4921 GB, free: 11.95 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.108e-06/0.7687, allocations: 11.75 kB / 0.4921 GB, free: 11.95 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003288/0.769, allocations: 206.3 kB / 0.4923 GB, free: 11.91 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.001895/0.7709, allocations: 1.575 MB / 0.4939 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003093/0.7713, allocations: 183.4 kB / 0.4941 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001494/0.7714, allocations: 98.83 kB / 0.4942 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.41e-05/0.7715, allocations: 3.031 kB / 0.4942 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.446e-05/0.7715, allocations: 37.19 kB / 0.4942 GB, free: 10.47 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.753e-06/0.7715, allocations: 0 / 0.4942 GB, free: 10.47 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.005638/0.7772, allocations: 1.631 MB / 0.4958 GB, free: 9.562 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.7772, allocations: 58.38 kB / 0.4958 GB, free: 9.496 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000291/0.7775, allocations: 259.2 kB / 0.4961 GB, free: 9.359 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.645e-05/0.7776, allocations: 29.33 kB / 0.4961 GB, free: 9.328 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.7777, allocations: 182.2 kB / 0.4963 GB, free: 9.184 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.814e-05/0.7778, allocations: 91.2 kB / 0.4964 GB, free: 9.117 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.155e-05/0.7779, allocations: 37.34 kB / 0.4964 GB, free: 9.098 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.778, allocations: 334.7 kB / 0.4967 GB, free: 8.777 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001605/0.7782, allocations: 94.33 kB / 0.4968 GB, free: 8.762 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002175/0.7784, allocations: 195.8 kB / 0.497 GB, free: 8.625 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004273/0.7789, allocations: 310.5 kB / 0.4973 GB, free: 8.477 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.7789, allocations: 2.906 kB / 0.4973 GB, free: 8.477 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006352/0.7795, allocations: 388.2 kB / 0.4977 GB, free: 8.367 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.7795, allocations: 8.875 kB / 0.4977 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.7796, allocations: 6.922 kB / 0.4977 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000203/0.7798, allocations: 76.94 kB / 0.4978 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003458/0.7801, allocations: 82.42 kB / 0.4978 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00156/0.7817, allocations: 1.845 MB / 0.4996 GB, free: 6.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002643/0.782, allocations: 30.23 kB / 0.4997 GB, free: 6.488 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.22e-05/0.7821, allocations: 39.16 kB / 0.4997 GB, free: 6.488 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.0002443/0.7823, allocations: 156.2 kB / 0.4999 GB, free: 6.363 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.657e-05/0.7824, allocations: 32.86 kB / 0.4999 GB, free: 6.344 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001057/0.7835, allocations: 430.3 kB / 0.5003 GB, free: 6.191 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.7835, allocations: 6.312 kB / 0.5003 GB, free: 6.191 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.351e-06/0.7835, allocations: 0 / 0.5003 GB, free: 6.191 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006582/0.7841, allocations: 0.5644 MB / 0.5009 GB, free: 5.711 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/0.7853, allocations: 0.7288 MB / 0.5016 GB, free: 5.281 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.7853, allocations: 2.906 kB / 0.5016 GB, free: 5.281 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003064/0.7856, allocations: 68.27 kB / 0.5016 GB, free: 5.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.522e-05/0.7857, allocations: 24.31 kB / 0.5017 GB, free: 5.25 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.218e-05/0.7857, allocations: 19.17 kB / 0.5017 GB, free: 5.246 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009521/0.7867, allocations: 1.282 MB / 0.5029 GB, free: 3.957 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.7867, allocations: 6.625 kB / 0.5029 GB, free: 3.953 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000665/0.7874, allocations: 480.9 kB / 0.5034 GB, free: 3.738 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.7875, allocations: 111.4 kB / 0.5035 GB, free: 3.625 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.9e-05/0.7876, allocations: 6.75 kB / 0.5035 GB, free: 3.625 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002479/0.7878, allocations: 17.11 kB / 0.5035 GB, free: 3.621 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.063e-05/0.7879, allocations: 33.69 kB / 0.5036 GB, free: 3.602 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.706e-05/0.788, allocations: 32.36 kB / 0.5036 GB, free: 3.598 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002015/0.7882, allocations: 185.9 kB / 0.5038 GB, free: 3.504 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7882, allocations: 0 / 0.5038 GB, free: 3.504 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005056/0.7887, allocations: 129.1 kB / 0.5039 GB, free: 3.492 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.000376/0.7891, allocations: 149.3 kB / 0.504 GB, free: 3.383 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006399/0.7897, allocations: 371.3 kB / 0.5044 GB, free: 3.23 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.7897, allocations: 4 kB / 0.5044 GB, free: 3.227 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000274/0.79, allocations: 234.5 kB / 0.5046 GB, free: 3.094 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009755/0.791, allocations: 151.2 kB / 0.5048 GB, free: 3.043 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/0.7922, allocations: 0.8662 MB / 0.5056 GB, free: 2.457 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/0.7925, allocations: 0.7637 MB / 0.5063 GB, free: 1.723 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005486/0.7931, allocations: 119.6 kB / 0.5065 GB, free: 1.664 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001977/0.7933, allocations: 63.8 kB / 0.5065 GB, free: 1.645 MB / 398.1 MB Notification: Performance of SimCode: time 6.61e-07/0.7933, allocations: 0 / 0.5065 GB, free: 1.645 MB / 398.1 MB Notification: Performance of Templates: time 0.01441/0.8077, allocations: 8.399 MB / 0.5147 GB, free: 13.37 MB / 414.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)