Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.00145/0.00145, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001814/0.001814, allocations: 193.5 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.404/1.404, allocations: 205.1 MB / 222 MB, free: 4.777 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.001246/0.001247, allocations: 47.94 kB / 278.1 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2546, allocations: 46.63 MB / 324.7 MB, free: 1.938 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa): time 0.3997/0.6543, allocations: 170.6 MB / 495.3 MB, free: 460 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003307/0.6577, allocations: 3.235 MB / 498.5 MB, free: 360 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001995/0.6579, allocations: 1.844 kB / 498.5 MB, free: 360 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000624/0.6586, allocations: 146.4 kB / 498.7 MB, free: 356 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008127/0.6594, allocations: 389 kB / 499.1 MB, free: 336 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007561/0.6602, allocations: 312.8 kB / 499.4 MB, free: 316 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001015/0.6612, allocations: 1.348 MB / 0.489 GB, free: 312 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001801/0.6614, allocations: 75.98 kB / 0.4891 GB, free: 296 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001834/0.6632, allocations: 0.7191 MB / 0.4898 GB, free: 268 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003227/0.6636, allocations: 282.5 kB / 0.49 GB, free: 268 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.719e-05/0.6636, allocations: 19.38 kB / 0.49 GB, free: 268 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002959/0.6639, allocations: 104.9 kB / 0.4901 GB, free: 268 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.6641, allocations: 91.5 kB / 0.4902 GB, free: 268 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001973/0.6643, allocations: 169.2 kB / 0.4904 GB, free: 268 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005046/0.6648, allocations: 0.5003 MB / 0.4909 GB, free: 244 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.6648, allocations: 8.719 kB / 0.4909 GB, free: 240 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.6648, allocations: 0 / 0.4909 GB, free: 240 kB / 382.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.6648, allocations: 0 / 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.0008484/0.6657, allocations: 0.5836 MB / 0.4915 GB, free: 15.8 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.6657, allocations: 10.88 kB / 0.4915 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002955/0.666, allocations: 43.02 kB / 0.4915 GB, free: 15.78 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004137/0.6664, allocations: 288.8 kB / 0.4918 GB, free: 15.56 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.6665, allocations: 21.28 kB / 0.4918 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.092e-05/0.6665, allocations: 24.81 kB / 0.4918 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005063/0.667, allocations: 319.5 kB / 0.4921 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.6671, allocations: 3.938 kB / 0.4921 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.88e-05/0.6671, allocations: 12.72 kB / 0.4922 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.6671, allocations: 12.5 kB / 0.4922 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003097/0.6674, allocations: 205.8 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.001876/0.6693, allocations: 1.584 MB / 0.4939 GB, free: 14.25 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003215/0.6697, allocations: 175.6 kB / 0.4941 GB, free: 14.22 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001404/0.6698, allocations: 95.92 kB / 0.4942 GB, free: 14.21 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.617e-05/0.6698, allocations: 11.42 kB / 0.4942 GB, free: 14.21 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.6699, allocations: 36.44 kB / 0.4942 GB, free: 14.17 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.222e-06/0.6699, allocations: 0 / 0.4942 GB, free: 14.17 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.00556/0.6755, allocations: 1.621 MB / 0.4958 GB, free: 13.43 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.778e-05/0.6755, allocations: 59.02 kB / 0.4959 GB, free: 13.37 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002462/0.6758, allocations: 253.6 kB / 0.4961 GB, free: 13.26 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.489e-05/0.6758, allocations: 31.36 kB / 0.4961 GB, free: 13.23 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.6759, allocations: 179 kB / 0.4963 GB, free: 13.1 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.757e-05/0.676, allocations: 95.06 kB / 0.4964 GB, free: 13.04 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.6761, allocations: 88.3 kB / 0.4965 GB, free: 13.02 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.6763, allocations: 336.2 kB / 0.4968 GB, free: 12.7 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/0.6764, allocations: 87.73 kB / 0.4969 GB, free: 12.7 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002338/0.6767, allocations: 191.4 kB / 0.4971 GB, free: 12.59 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003865/0.6771, allocations: 312.8 kB / 0.4974 GB, free: 12.46 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.6771, allocations: 0 / 0.4974 GB, free: 12.46 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006126/0.6777, allocations: 395 kB / 0.4977 GB, free: 12.39 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.6777, allocations: 5.844 kB / 0.4977 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.6777, allocations: 7.562 kB / 0.4977 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002184/0.678, allocations: 70.7 kB / 0.4978 GB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003578/0.6783, allocations: 83.11 kB / 0.4979 GB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001376/0.6797, allocations: 1.855 MB / 0.4997 GB, free: 10.6 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002514/0.68, allocations: 24.2 kB / 0.4997 GB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.038e-05/0.68, allocations: 40.98 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.0001826/0.6802, allocations: 156.6 kB / 0.4999 GB, free: 10.47 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.384e-05/0.6803, allocations: 30.5 kB / 0.4999 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009446/0.6813, allocations: 438 kB / 0.5004 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.6813, allocations: 4.344 kB / 0.5004 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.6813, allocations: 0 / 0.5004 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005308/0.6818, allocations: 0.5576 MB / 0.5009 GB, free: 9.906 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.6829, allocations: 0.7344 MB / 0.5016 GB, free: 9.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.6829, allocations: 0 / 0.5016 GB, free: 9.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003118/0.6832, allocations: 71.61 kB / 0.5017 GB, free: 9.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.612e-05/0.6833, allocations: 20.94 kB / 0.5017 GB, free: 9.562 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.877e-05/0.6834, allocations: 13.2 kB / 0.5017 GB, free: 9.562 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009446/0.6843, allocations: 1.288 MB / 0.503 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.6843, allocations: 0 / 0.503 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006361/0.685, allocations: 487.8 kB / 0.5034 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.343e-05/0.6851, allocations: 98.03 kB / 0.5035 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.172e-05/0.6851, allocations: 7.047 kB / 0.5035 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002694/0.6854, allocations: 23.25 kB / 0.5036 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.774e-05/0.6855, allocations: 30.34 kB / 0.5036 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.975e-05/0.6855, allocations: 31.03 kB / 0.5036 GB, free: 7.996 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002038/0.6857, allocations: 190.9 kB / 0.5038 GB, free: 7.918 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.11e-07/0.6858, allocations: 0 / 0.5038 GB, free: 7.918 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005769/0.6863, allocations: 128.6 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.0004367/0.6868, allocations: 151.8 kB / 0.5041 GB, free: 7.809 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006889/0.6875, allocations: 373.4 kB / 0.5044 GB, free: 7.695 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.6875, allocations: 2.906 kB / 0.5044 GB, free: 7.695 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003137/0.6878, allocations: 229.3 kB / 0.5047 GB, free: 7.582 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/0.6889, allocations: 161.1 kB / 0.5048 GB, free: 7.562 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.6903, allocations: 0.8013 MB / 0.5056 GB, free: 7.098 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004249/0.6907, allocations: 0.7667 MB / 0.5063 GB, free: 6.395 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005791/0.6913, allocations: 112.6 kB / 0.5064 GB, free: 6.352 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002227/0.6915, allocations: 65.91 kB / 0.5065 GB, free: 6.336 MB / 398.1 MB Notification: Performance of SimCode: time 5.82e-07/0.6915, allocations: 0 / 0.5065 GB, free: 6.336 MB / 398.1 MB Notification: Performance of Templates: time 0.01426/0.7058, allocations: 8.435 MB / 0.5147 GB, free: 1.203 MB / 398.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.sim & ./Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe 2>&1)