Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.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.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_1_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.1+maint.om/package.mo): time 0.01729/0.01729, allocations: 162 kB / 15.12 MB, free: 6.027 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.769/1.769, allocations: 170.8 MB / 186.6 MB, free: 1.121 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.001774/0.001774, allocations: 118.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.4437/0.4437, allocations: 38.05 MB / 303.7 MB, free: 42.47 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004913/0.0004915, allocations: 12 kB / 363 MB, free: 5.469 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1035, allocations: 48.71 MB / 411.7 MB, free: 4.676 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.5157/0.6193, allocations: 163.7 MB / 0.5619 GB, free: 10.39 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01659/0.6359, allocations: 7.628 MB / 0.5694 GB, free: 2.754 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001053/0.637, allocations: 27.75 kB / 0.5694 GB, free: 2.727 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001365/0.6384, allocations: 246.5 kB / 0.5696 GB, free: 2.484 MB / 410.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.005575/0.644, allocations: 1.311 MB / 0.5709 GB, free: 1.176 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004148/0.6482, allocations: 0.8969 MB / 0.5718 GB, free: 300 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003719/0.6519, allocations: 2.23 MB / 0.574 GB, free: 14.06 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008867/0.6529, allocations: 380.9 kB / 0.5743 GB, free: 13.69 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00356/0.6564, allocations: 1.014 MB / 0.5753 GB, free: 12.68 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001604/0.6581, allocations: 0.6463 MB / 0.5759 GB, free: 12.03 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001769/0.6583, allocations: 28 kB / 0.576 GB, free: 12 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002266/0.6606, allocations: 0.6084 MB / 0.5766 GB, free: 11.39 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004312/0.661, allocations: 231.2 kB / 0.5768 GB, free: 11.16 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000332/0.6614, allocations: 169.3 kB / 0.5769 GB, free: 10.99 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00194/0.6633, allocations: 0.9782 MB / 0.5779 GB, free: 10.01 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.6633, allocations: 0 / 0.5779 GB, free: 10.01 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.6634, allocations: 0 / 0.5779 GB, free: 10.01 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.021e-05/0.6634, allocations: 0 / 0.5779 GB, free: 10.01 MB / 426.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.003062/0.6665, allocations: 0.9933 MB / 0.5789 GB, free: 8.965 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.6665, allocations: 8.031 kB / 0.5789 GB, free: 8.957 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002186/0.6668, allocations: 106.5 kB / 0.579 GB, free: 8.844 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001173/0.6679, allocations: 135 kB / 0.5791 GB, free: 8.711 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001295/0.6693, allocations: 0.4927 MB / 0.5796 GB, free: 8.18 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001548/0.6694, allocations: 104.4 kB / 0.5797 GB, free: 8.062 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001426/0.6696, allocations: 48 kB / 0.5797 GB, free: 8.016 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001995/0.6716, allocations: 0.8097 MB / 0.5805 GB, free: 7.133 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.341e-05/0.6716, allocations: 3.938 kB / 0.5805 GB, free: 7.129 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001168/0.6718, allocations: 27.95 kB / 0.5806 GB, free: 7.102 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.122e-05/0.6719, allocations: 40.97 kB / 0.5806 GB, free: 7.062 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001767/0.6737, allocations: 0.6166 MB / 0.5812 GB, free: 6.445 MB / 426.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.00704/0.6807, allocations: 3.949 MB / 0.5851 GB, free: 2.242 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009204/0.6817, allocations: 341.3 kB / 0.5854 GB, free: 1.902 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004708/0.6821, allocations: 173.3 kB / 0.5855 GB, free: 1.73 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006436/0.6828, allocations: 369.8 kB / 0.5859 GB, free: 1.312 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.6829, allocations: 34.84 kB / 0.5859 GB, free: 1.27 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 3.216e-06/0.6829, allocations: 0 / 0.5859 GB, free: 1.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=39): time 0.2979/0.9808, allocations: 1.641 MB / 0.5875 GB, free: 142.1 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.032e-05/0.9809, allocations: 141.1 kB / 0.5877 GB, free: 141.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/0.982, allocations: 0.5921 MB / 0.5882 GB, free: 141.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001245/0.9821, allocations: 33.42 kB / 0.5883 GB, free: 141.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003504/0.9825, allocations: 384 kB / 0.5886 GB, free: 141.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001888/0.9827, allocations: 142 kB / 0.5888 GB, free: 141.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.713e-05/0.9828, allocations: 14.72 kB / 0.5888 GB, free: 141.4 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.983, allocations: 374.8 kB / 0.5891 GB, free: 141.1 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006779/0.9836, allocations: 207.5 kB / 0.5893 GB, free: 141.1 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009294/0.9846, allocations: 0.5281 MB / 0.5899 GB, free: 140.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008346/0.9855, allocations: 305.1 kB / 0.5902 GB, free: 140.7 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.02e-05/0.9855, allocations: 7.625 kB / 0.5902 GB, free: 140.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002639/0.9882, allocations: 0.8821 MB / 0.591 GB, free: 140.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.25e-05/0.9882, allocations: 9.469 kB / 0.591 GB, free: 140.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.629e-05/0.9883, allocations: 10.5 kB / 0.591 GB, free: 140.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00239/0.9907, allocations: 315.8 kB / 0.5913 GB, free: 140.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008793/0.9916, allocations: 130.6 kB / 0.5915 GB, free: 140.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001566/0.9932, allocations: 0.9019 MB / 0.5923 GB, free: 140 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00113/0.9944, allocations: 44.73 kB / 0.5924 GB, free: 140 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000192/0.9946, allocations: 70.2 kB / 0.5925 GB, free: 140 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.000593/0.9952, allocations: 253.2 kB / 0.5927 GB, free: 139.9 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002714/0.9955, allocations: 68.34 kB / 0.5928 GB, free: 139.9 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002483/0.998, allocations: 0.6692 MB / 0.5934 GB, free: 139.8 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.121e-05/0.998, allocations: 4.125 kB / 0.5934 GB, free: 139.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.9981, allocations: 5.266 kB / 0.5934 GB, free: 139.8 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.999e-06/0.9981, allocations: 5.656 kB / 0.5934 GB, free: 139.8 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003687/1.002, allocations: 1.598 MB / 0.595 GB, free: 139.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/1.002, allocations: 3.969 kB / 0.595 GB, free: 139.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001966/1.004, allocations: 207.3 kB / 0.5952 GB, free: 139.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001479/1.004, allocations: 22.56 kB / 0.5952 GB, free: 139 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.847e-05/1.004, allocations: 21.72 kB / 0.5952 GB, free: 139 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002113/1.006, allocations: 2.681 MB / 0.5979 GB, free: 136.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/1.006, allocations: 0 / 0.5979 GB, free: 136.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001956/1.008, allocations: 0.7989 MB / 0.5986 GB, free: 136.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004817/1.009, allocations: 198.9 kB / 0.5988 GB, free: 135.9 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001508/1.009, allocations: 13.75 kB / 0.5988 GB, free: 135.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007027/1.01, allocations: 19.69 kB / 0.5989 GB, free: 135.9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/1.01, allocations: 37.59 kB / 0.5989 GB, free: 135.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-05/1.01, allocations: 41.39 kB / 0.5989 GB, free: 135.9 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006999/1.011, allocations: 418.1 kB / 0.5993 GB, free: 135.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-07/1.011, allocations: 0 / 0.5993 GB, free: 135.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001534/1.012, allocations: 298.4 kB / 0.5996 GB, free: 135.7 MB / 426.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.003093/1.015, allocations: 1.597 MB / 0.6012 GB, free: 134.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001747/1.017, allocations: 0.5461 MB / 0.6017 GB, free: 134.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/1.017, allocations: 3.406 kB / 0.6017 GB, free: 134.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001572/1.019, allocations: 414.5 kB / 0.6021 GB, free: 134.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002823/1.021, allocations: 318.3 kB / 0.6024 GB, free: 134.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009358/1.031, allocations: 4.306 MB / 0.6066 GB, free: 132 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004769/1.031, allocations: 0.9425 MB / 0.6075 GB, free: 131.2 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001821/1.033, allocations: 265 kB / 0.6078 GB, free: 131.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000771/1.034, allocations: 269.9 kB / 0.608 GB, free: 131 MB / 426.7 MB Notification: Performance of SimCode: time 8.82e-07/1.034, allocations: 0 / 0.608 GB, free: 131 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07429/1.108, allocations: 23.1 MB / 0.6306 GB, free: 124.3 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002758/1.109, allocations: 276.6 kB / 0.6309 GB, free: 123.9 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.755/4.864, allocations: 0 / 0.6309 GB, free: 123.9 MB / 426.7 MB