Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01441/0.01442, allocations: 176.3 kB / 15.13 MB, free: 5.949 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.026/2.026, allocations: 194.5 MB / 210.3 MB, free: 7.789 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001866/0.001865, allocations: 116.1 kB / 255.6 MB, free: 10.41 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2553/0.2553, allocations: 40.01 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004782/0.0004786, allocations: 14.38 kB / 406.3 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0954/0.09592, allocations: 54.88 MB / 461.2 MB, free: 3.191 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.5858/0.6818, allocations: 163.7 MB / 0.6102 GB, free: 2.879 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01586/0.6977, allocations: 7.662 MB / 0.6177 GB, free: 12.7 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001135/0.6989, allocations: 29.5 kB / 0.6177 GB, free: 12.69 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001337/0.7002, allocations: 246 kB / 0.618 GB, free: 12.48 MB / 410.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:826:36-827:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:824:36-825:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:772:36-773:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.005637/0.7059, allocations: 1.308 MB / 0.6193 GB, free: 11.5 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004005/0.7099, allocations: 0.8973 MB / 0.6201 GB, free: 10.89 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003598/0.7136, allocations: 2.228 MB / 0.6223 GB, free: 9.57 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00103/0.7147, allocations: 383 kB / 0.6227 GB, free: 9.324 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003536/0.7182, allocations: 1.008 MB / 0.6237 GB, free: 8.648 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001895/0.7202, allocations: 0.6502 MB / 0.6243 GB, free: 7.996 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002708/0.7205, allocations: 32 kB / 0.6243 GB, free: 7.965 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002494/0.723, allocations: 0.6006 MB / 0.6249 GB, free: 7.363 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001164/0.7242, allocations: 231.3 kB / 0.6251 GB, free: 7.137 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007406/0.725, allocations: 165.4 kB / 0.6253 GB, free: 6.969 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002569/0.7276, allocations: 0.9856 MB / 0.6262 GB, free: 5.984 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/0.7277, allocations: 0 / 0.6262 GB, free: 5.984 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.471e-06/0.7277, allocations: 4 kB / 0.6263 GB, free: 5.98 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.299e-05/0.7277, allocations: 0 / 0.6263 GB, free: 5.98 MB / 410.7 MB 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.00333/0.7311, allocations: 0.9925 MB / 0.6272 GB, free: 4.941 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/0.7311, allocations: 8.031 kB / 0.6272 GB, free: 4.934 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00034/0.7315, allocations: 98.5 kB / 0.6273 GB, free: 4.828 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001246/0.7328, allocations: 127.1 kB / 0.6274 GB, free: 4.703 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001434/0.7342, allocations: 0.5005 MB / 0.6279 GB, free: 4.16 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001559/0.7344, allocations: 104.4 kB / 0.628 GB, free: 4.047 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001476/0.7346, allocations: 48 kB / 0.6281 GB, free: 4 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002061/0.7366, allocations: 0.8097 MB / 0.6289 GB, free: 3.109 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.5e-05/0.7367, allocations: 9.062 kB / 0.6289 GB, free: 3.102 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001278/0.7369, allocations: 27.98 kB / 0.6289 GB, free: 3.074 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.824e-05/0.737, allocations: 36.92 kB / 0.6289 GB, free: 3.039 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00186/0.7388, allocations: 0.6282 MB / 0.6296 GB, free: 2.41 MB / 410.7 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.007647/0.7465, allocations: 3.938 MB / 0.6334 GB, free: 14.22 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/0.7476, allocations: 339.4 kB / 0.6337 GB, free: 13.88 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004769/0.7481, allocations: 184.7 kB / 0.6339 GB, free: 13.7 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006653/0.7488, allocations: 365.2 kB / 0.6342 GB, free: 13.29 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.131e-05/0.7488, allocations: 38.84 kB / 0.6343 GB, free: 13.25 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 3.666e-06/0.7488, allocations: 0 / 0.6343 GB, free: 13.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=39): time 0.009535/0.7584, allocations: 1.64 MB / 0.6359 GB, free: 11.53 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.671e-05/0.7585, allocations: 132.5 kB / 0.636 GB, free: 11.37 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/0.7596, allocations: 0.5937 MB / 0.6366 GB, free: 10.77 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.4e-05/0.7597, allocations: 33.7 kB / 0.6366 GB, free: 10.73 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000377/0.7601, allocations: 382.6 kB / 0.637 GB, free: 10.35 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001885/0.7603, allocations: 145.9 kB / 0.6371 GB, free: 10.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.059e-05/0.7604, allocations: 16 kB / 0.6371 GB, free: 10.19 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002024/0.7606, allocations: 382.7 kB / 0.6375 GB, free: 9.805 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006035/0.7612, allocations: 197.9 kB / 0.6377 GB, free: 9.613 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008915/0.7621, allocations: 0.5314 MB / 0.6382 GB, free: 8.918 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008236/0.763, allocations: 304.8 kB / 0.6385 GB, free: 8.621 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.658e-06/0.763, allocations: 4 kB / 0.6385 GB, free: 8.617 MB / 426.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002462/0.7655, allocations: 0.8875 MB / 0.6394 GB, free: 7.719 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.958e-05/0.7655, allocations: 8 kB / 0.6394 GB, free: 7.711 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.457e-05/0.7656, allocations: 12 kB / 0.6394 GB, free: 7.699 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002374/0.7679, allocations: 310.5 kB / 0.6397 GB, free: 7.395 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008541/0.7688, allocations: 131.8 kB / 0.6398 GB, free: 7.266 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001724/0.7706, allocations: 0.9059 MB / 0.6407 GB, free: 6.336 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/0.7717, allocations: 56.03 kB / 0.6408 GB, free: 6.281 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001601/0.7719, allocations: 64 kB / 0.6408 GB, free: 6.219 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (72): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0005448/0.7725, allocations: 245.5 kB / 0.641 GB, free: 5.969 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001875/0.7727, allocations: 71.16 kB / 0.6411 GB, free: 5.898 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002486/0.7752, allocations: 0.6938 MB / 0.6418 GB, free: 5.184 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.999e-06/0.7752, allocations: 4 kB / 0.6418 GB, free: 5.18 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.888e-06/0.7753, allocations: 4 kB / 0.6418 GB, free: 5.176 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.7753, allocations: 0 / 0.6418 GB, free: 5.176 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004347/0.7796, allocations: 1.595 MB / 0.6434 GB, free: 3.434 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.758e-06/0.7797, allocations: 4 kB / 0.6434 GB, free: 3.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002111/0.7818, allocations: 207.9 kB / 0.6436 GB, free: 3.227 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001691/0.782, allocations: 32.72 kB / 0.6436 GB, free: 3.191 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.4e-05/0.7821, allocations: 23.92 kB / 0.6436 GB, free: 3.168 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003111/0.7853, allocations: 2.672 MB / 0.6462 GB, free: 240 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/0.7853, allocations: 4.031 kB / 0.6462 GB, free: 236 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002191/0.7875, allocations: 0.7928 MB / 0.647 GB, free: 15.4 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000556/0.7881, allocations: 192.2 kB / 0.6472 GB, free: 15.19 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000157/0.7883, allocations: 8 kB / 0.6472 GB, free: 15.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007212/0.789, allocations: 23.98 kB / 0.6472 GB, free: 15.16 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001487/0.7892, allocations: 43.95 kB / 0.6473 GB, free: 15.12 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001161/0.7893, allocations: 43.97 kB / 0.6473 GB, free: 15.07 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008259/0.7902, allocations: 415 kB / 0.6477 GB, free: 14.67 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.7902, allocations: 0 / 0.6477 GB, free: 14.67 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001553/0.7917, allocations: 299.9 kB / 0.648 GB, free: 14.38 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003704/0.7955, allocations: 1.59 MB / 0.6495 GB, free: 12.75 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002045/0.7976, allocations: 0.5585 MB / 0.6501 GB, free: 12.19 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.7976, allocations: 0 / 0.6501 GB, free: 12.19 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001839/0.7995, allocations: 411 kB / 0.6505 GB, free: 11.78 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002933/0.8024, allocations: 322.9 kB / 0.6508 GB, free: 11.46 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01565/0.8181, allocations: 4.299 MB / 0.655 GB, free: 6.941 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001324/0.8195, allocations: 0.9377 MB / 0.6559 GB, free: 5.977 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002894/0.8225, allocations: 261.9 kB / 0.6561 GB, free: 5.719 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001305/0.8238, allocations: 267.3 kB / 0.6564 GB, free: 5.457 MB / 442.7 MB Notification: Performance of SimCode: time 2.856e-06/0.8239, allocations: 0 / 0.6564 GB, free: 5.457 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1016/0.9255, allocations: 23.1 MB / 0.679 GB, free: 14.42 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004284/0.926, allocations: 275.2 kB / 0.6792 GB, free: 14.06 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.706/4.632, allocations: 0 / 0.6792 GB, free: 14.06 MB / 474.7 MB