Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01085/0.01085, allocations: 99.75 kB / 15.73 MB, free: 5.547 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.002521/0.00252, allocations: 188.3 kB / 16.67 MB, free: 5.492 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.786/1.786, allocations: 205.1 MB / 222.6 MB, free: 4.242 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3949/0.3949, allocations: 39.94 MB / 309.8 MB, free: 9.75 MB / 254.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: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 75.89 kB / 435.8 MB, free: 2.422 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3527/0.3543, allocations: 56.87 MB / 492.7 MB, free: 19.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.623/0.9773, allocations: 179.7 MB / 0.6566 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0142/0.9915, allocations: 8.191 MB / 0.6646 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001082/0.9927, allocations: 21.06 kB / 0.6647 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001065/0.9938, allocations: 314.1 kB / 0.665 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006145/1, allocations: 1.479 MB / 0.6664 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00376/1.004, allocations: 1.152 MB / 0.6675 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003489/1.007, allocations: 1.846 MB / 0.6693 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009665/1.008, allocations: 456.6 kB / 0.6698 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004308/1.013, allocations: 1.24 MB / 0.671 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001541/1.014, allocations: 0.6528 MB / 0.6716 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001984/1.014, allocations: 61.28 kB / 0.6717 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003108/1.017, allocations: 0.8294 MB / 0.6725 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004526/1.018, allocations: 262.8 kB / 0.6727 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000756/1.019, allocations: 398.6 kB / 0.6731 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002972/1.022, allocations: 1.423 MB / 0.6745 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/1.022, allocations: 0 / 0.6745 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.242e-06/1.022, allocations: 0 / 0.6745 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.081e-05/1.022, allocations: 2.094 kB / 0.6745 GB, free: 1.18 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002893/1.025, allocations: 1.126 MB / 0.6756 GB, free: 16.56 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.645e-05/1.025, allocations: 14.17 kB / 0.6756 GB, free: 16.56 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009493/1.026, allocations: 136.5 kB / 0.6757 GB, free: 16.52 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001066/1.027, allocations: 0.5401 MB / 0.6763 GB, free: 16.25 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001312/1.027, allocations: 104.7 kB / 0.6764 GB, free: 16.18 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/1.027, allocations: 49.44 kB / 0.6764 GB, free: 16.18 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001422/1.028, allocations: 0.8149 MB / 0.6772 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/1.028, allocations: 2.625 kB / 0.6772 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.679e-05/1.028, allocations: 27.56 kB / 0.6772 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.116e-05/1.029, allocations: 42.81 kB / 0.6773 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001134/1.03, allocations: 0.6169 MB / 0.6779 GB, free: 15.96 MB / 0.5137 GB 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.004603/1.034, allocations: 3.973 MB / 0.6818 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005075/1.035, allocations: 357.7 kB / 0.6821 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002314/1.035, allocations: 168.7 kB / 0.6823 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004284/1.036, allocations: 365.5 kB / 0.6826 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/1.036, allocations: 41.41 kB / 0.6827 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=34): time 2.905e-06/1.036, allocations: 0 / 0.6827 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of matching and sorting (n=39): time 0.005216/1.041, allocations: 1.663 MB / 0.6843 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.098e-05/1.041, allocations: 140.2 kB / 0.6844 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006401/1.042, allocations: 0.6146 MB / 0.685 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.826e-05/1.042, allocations: 35.86 kB / 0.685 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002308/1.042, allocations: 363.3 kB / 0.6854 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/1.042, allocations: 145.6 kB / 0.6855 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002027/1.042, allocations: 154.2 kB / 0.6857 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001443/1.042, allocations: 383.4 kB / 0.686 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003206/1.043, allocations: 199.9 kB / 0.6862 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005993/1.043, allocations: 0.5155 MB / 0.6867 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008981/1.044, allocations: 0.752 MB / 0.6875 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/1.044, allocations: 2.406 kB / 0.6875 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001296/1.045, allocations: 0.8771 MB / 0.6883 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/1.046, allocations: 9.281 kB / 0.6883 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/1.046, allocations: 10.91 kB / 0.6884 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001321/1.047, allocations: 317.1 kB / 0.6887 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003598/1.047, allocations: 123.1 kB / 0.6888 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001037/1.048, allocations: 0.9295 MB / 0.6897 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005642/1.049, allocations: 35.56 kB / 0.6897 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.965e-05/1.049, allocations: 65.78 kB / 0.6898 GB, free: 10.16 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0003634/1.049, allocations: 247 kB / 0.69 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/1.049, allocations: 69.88 kB / 0.6901 GB, free: 10 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00124/1.051, allocations: 0.6808 MB / 0.6907 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/1.051, allocations: 4.062 kB / 0.6907 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/1.051, allocations: 0 / 0.6907 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/1.051, allocations: 2.312 kB / 0.6907 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002191/1.053, allocations: 1.606 MB / 0.6923 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/1.053, allocations: 3.344 kB / 0.6923 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009654/1.054, allocations: 205.8 kB / 0.6925 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.452e-05/1.054, allocations: 24.88 kB / 0.6925 GB, free: 9.172 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.983e-05/1.054, allocations: 24.75 kB / 0.6926 GB, free: 9.168 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002185/1.056, allocations: 2.884 MB / 0.6954 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/1.056, allocations: 5.766 kB / 0.6954 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00112/1.057, allocations: 0.8118 MB / 0.6962 GB, free: 6.176 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003386/1.058, allocations: 189.5 kB / 0.6964 GB, free: 6.047 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.865e-05/1.058, allocations: 15.75 kB / 0.6964 GB, free: 6.043 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003956/1.058, allocations: 19.56 kB / 0.6964 GB, free: 6.043 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.688e-05/1.058, allocations: 37.33 kB / 0.6964 GB, free: 6.043 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.427e-05/1.058, allocations: 43.17 kB / 0.6965 GB, free: 6.043 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00055/1.059, allocations: 441.2 kB / 0.6969 GB, free: 5.953 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/1.059, allocations: 0 / 0.6969 GB, free: 5.953 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001188/1.06, allocations: 294.7 kB / 0.6972 GB, free: 5.934 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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.001035/1.061, allocations: 366 kB / 0.6975 GB, free: 5.809 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001205/1.062, allocations: 0.5485 MB / 0.6981 GB, free: 5.809 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/1.062, allocations: 0 / 0.6981 GB, free: 5.809 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009386/1.063, allocations: 415.9 kB / 0.6985 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001603/1.065, allocations: 374.9 kB / 0.6988 GB, free: 5.633 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002441/1.068, allocations: 1.301 MB / 0.7001 GB, free: 5.074 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000702/1.068, allocations: 0.9344 MB / 0.701 GB, free: 4.367 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0008242/1.069, allocations: 259.2 kB / 0.7012 GB, free: 4.293 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000259/1.069, allocations: 99.25 kB / 0.7013 GB, free: 4.277 MB / 0.5137 GB Notification: Performance of SimCode: time 3.31e-07/1.069, allocations: 4 kB / 0.7013 GB, free: 4.273 MB / 0.5137 GB Notification: Performance of Templates: time 0.0357/1.105, allocations: 18.71 MB / 0.7196 GB, free: 7.254 MB / 0.5294 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1)