Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01427/0.01428, allocations: 164.6 kB / 15.12 MB, free: 5.957 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.873/1.873, allocations: 170.8 MB / 186.6 MB, free: 1.113 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001669/0.001669, allocations: 106.8 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.465/0.465, allocations: 38.05 MB / 303.7 MB, free: 42.35 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004709/0.0004711, allocations: 12 kB / 363 MB, free: 5.48 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1065, allocations: 48.71 MB / 411.7 MB, free: 4.688 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.4756/0.5821, allocations: 134.2 MB / 0.5331 GB, free: 7.348 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01145/0.5936, allocations: 5.319 MB / 0.5383 GB, free: 2.02 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001117/0.5948, allocations: 27.75 kB / 0.5383 GB, free: 1.992 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001239/0.5961, allocations: 262.4 kB / 0.5386 GB, free: 1.734 MB / 378.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+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.1+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.1+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.1+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.003563/0.5997, allocations: 0.8478 MB / 0.5394 GB, free: 0.8828 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003636/0.6033, allocations: 0.7991 MB / 0.5402 GB, free: 96 kB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003485/0.6068, allocations: 2.195 MB / 0.5423 GB, free: 13.89 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008318/0.6077, allocations: 377.1 kB / 0.5427 GB, free: 13.53 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001485/0.6092, allocations: 0.6265 MB / 0.5433 GB, free: 12.9 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001586/0.6108, allocations: 0.6813 MB / 0.544 GB, free: 12.21 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001495/0.611, allocations: 36 kB / 0.544 GB, free: 12.18 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001573/0.6126, allocations: 419.2 kB / 0.5444 GB, free: 11.77 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004204/0.613, allocations: 231.3 kB / 0.5446 GB, free: 11.54 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002774/0.6133, allocations: 165.3 kB / 0.5448 GB, free: 11.38 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001448/0.6148, allocations: 0.8028 MB / 0.5456 GB, free: 10.57 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.6148, allocations: 0 / 0.5456 GB, free: 10.57 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.6148, allocations: 4 kB / 0.5456 GB, free: 10.57 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.075e-05/0.6148, allocations: 0 / 0.5456 GB, free: 10.57 MB / 394.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.002767/0.6176, allocations: 0.9191 MB / 0.5465 GB, free: 9.598 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.6177, allocations: 8.031 kB / 0.5465 GB, free: 9.59 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002202/0.6179, allocations: 106.5 kB / 0.5466 GB, free: 9.477 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004844/0.6184, allocations: 91.97 kB / 0.5467 GB, free: 9.387 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001212/0.6196, allocations: 0.4966 MB / 0.5471 GB, free: 8.848 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001434/0.6198, allocations: 104.4 kB / 0.5472 GB, free: 8.734 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/0.6199, allocations: 52 kB / 0.5473 GB, free: 8.684 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001936/0.6219, allocations: 0.8033 MB / 0.5481 GB, free: 7.82 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.078e-05/0.6219, allocations: 7.938 kB / 0.5481 GB, free: 7.812 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/0.622, allocations: 23.97 kB / 0.5481 GB, free: 7.789 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.419e-05/0.6221, allocations: 44.94 kB / 0.5482 GB, free: 7.742 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001742/0.6239, allocations: 0.6517 MB / 0.5488 GB, free: 7.094 MB / 394.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.006802/0.6307, allocations: 3.929 MB / 0.5526 GB, free: 2.883 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001209/0.6319, allocations: 419.7 kB / 0.553 GB, free: 2.465 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005225/0.6325, allocations: 206.8 kB / 0.5532 GB, free: 2.262 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002982/0.6355, allocations: 1.644 MB / 0.5548 GB, free: 436 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.044e-05/0.6355, allocations: 38.56 kB / 0.5549 GB, free: 388 kB / 394.7 MB Notification: Performance of pre-optimization done (n=37): time 2.996e-06/0.6356, allocations: 0 / 0.5549 GB, free: 388 kB / 394.7 MB Notification: Performance of matching and sorting (n=42): time 0.004648/0.6402, allocations: 1.462 MB / 0.5563 GB, free: 14.85 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.965e-05/0.6403, allocations: 132.5 kB / 0.5564 GB, free: 14.69 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/0.6414, allocations: 0.5614 MB / 0.557 GB, free: 14.12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.609e-05/0.6415, allocations: 33.7 kB / 0.557 GB, free: 14.08 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003708/0.6418, allocations: 371.3 kB / 0.5574 GB, free: 13.71 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000187/0.642, allocations: 161.8 kB / 0.5575 GB, free: 13.55 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.114e-05/0.6421, allocations: 16 kB / 0.5575 GB, free: 13.53 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002025/0.6423, allocations: 370.8 kB / 0.5579 GB, free: 13.16 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005989/0.6429, allocations: 213.8 kB / 0.5581 GB, free: 12.95 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009402/0.6439, allocations: 0.5392 MB / 0.5586 GB, free: 12.26 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008356/0.6447, allocations: 315.7 kB / 0.5589 GB, free: 11.95 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.098e-06/0.6448, allocations: 4 kB / 0.5589 GB, free: 11.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002454/0.6472, allocations: 0.8961 MB / 0.5598 GB, free: 11.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.6473, allocations: 8 kB / 0.5598 GB, free: 11.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.091e-05/0.6473, allocations: 16.12 kB / 0.5598 GB, free: 11.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002157/0.6495, allocations: 264.5 kB / 0.5601 GB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007614/0.6502, allocations: 131.8 kB / 0.5602 GB, free: 10.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001399/0.6517, allocations: 0.8471 MB / 0.561 GB, free: 9.754 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008287/0.6525, allocations: 51.81 kB / 0.5611 GB, free: 9.703 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.596e-05/0.6526, allocations: 36 kB / 0.5611 GB, free: 9.668 MB / 410.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 (77): * Single equations (assignments): 76 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0005337/0.6532, allocations: 253.6 kB / 0.5613 GB, free: 9.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001837/0.6534, allocations: 63.25 kB / 0.5614 GB, free: 9.348 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001895/0.6553, allocations: 0.7396 MB / 0.5621 GB, free: 8.594 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.311e-05/0.6553, allocations: 4 kB / 0.5621 GB, free: 8.59 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.6553, allocations: 0 / 0.5621 GB, free: 8.59 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.6553, allocations: 3.984 kB / 0.5621 GB, free: 8.586 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002927/0.6583, allocations: 1.345 MB / 0.5634 GB, free: 7.145 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.6583, allocations: 0 / 0.5634 GB, free: 7.145 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001935/0.6602, allocations: 196 kB / 0.5636 GB, free: 6.953 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001256/0.6604, allocations: 28.83 kB / 0.5637 GB, free: 6.922 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.166e-05/0.6604, allocations: 16 kB / 0.5637 GB, free: 6.906 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002644/0.6631, allocations: 2.685 MB / 0.5663 GB, free: 3.957 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.6631, allocations: 4.031 kB / 0.5663 GB, free: 3.953 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0021/0.6652, allocations: 0.9461 MB / 0.5672 GB, free: 2.953 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004118/0.6657, allocations: 196.1 kB / 0.5674 GB, free: 2.742 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001394/0.6658, allocations: 19.89 kB / 0.5674 GB, free: 2.723 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006927/0.6666, allocations: 33.97 kB / 0.5675 GB, free: 2.691 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.6667, allocations: 27.95 kB / 0.5675 GB, free: 2.664 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.854e-05/0.6668, allocations: 23.98 kB / 0.5675 GB, free: 2.641 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007217/0.6675, allocations: 399.1 kB / 0.5679 GB, free: 2.246 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.544e-06/0.6675, allocations: 0 / 0.5679 GB, free: 2.246 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001142/0.6687, allocations: 219.9 kB / 0.5681 GB, free: 2.031 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (44): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.002999/0.6717, allocations: 1.64 MB / 0.5697 GB, free: 332 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002071/0.6738, allocations: 0.5728 MB / 0.5703 GB, free: 15.75 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.175e-06/0.6738, allocations: 4 kB / 0.5703 GB, free: 15.75 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00177/0.6756, allocations: 439.8 kB / 0.5707 GB, free: 15.31 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002639/0.6783, allocations: 291.7 kB / 0.571 GB, free: 15.03 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01048/0.6888, allocations: 4.181 MB / 0.5751 GB, free: 10.63 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007331/0.6896, allocations: 0.9502 MB / 0.576 GB, free: 9.656 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001267/0.6909, allocations: 203.3 kB / 0.5762 GB, free: 9.457 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005483/0.6914, allocations: 239.3 kB / 0.5764 GB, free: 9.223 MB / 426.7 MB Notification: Performance of SimCode: time 1.162e-06/0.6914, allocations: 0 / 0.5764 GB, free: 9.223 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3403/1.032, allocations: 19.15 MB / 0.5951 GB, free: 135.4 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002353/1.032, allocations: 278 kB / 0.5954 GB, free: 135 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.406/4.438, allocations: 2.156 kB / 0.5954 GB, free: 135 MB / 426.7 MB