Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.IdealGases.Air,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",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.01009/0.01009, allocations: 162.2 kB / 15.11 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.764/1.764, 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.001733/0.001733, allocations: 102.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.4435/0.4435, allocations: 38.05 MB / 303.7 MB, free: 42.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004795/0.0004798, allocations: 8 kB / 363 MB, free: 5.469 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1058, allocations: 48.71 MB / 411.7 MB, free: 4.672 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.5349/0.6408, allocations: 163.7 MB / 0.5619 GB, free: 10.36 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01664/0.6575, allocations: 7.605 MB / 0.5694 GB, free: 2.75 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001044/0.6586, allocations: 27.75 kB / 0.5694 GB, free: 2.723 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001204/0.6598, allocations: 258.4 kB / 0.5696 GB, free: 2.469 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.005555/0.6654, allocations: 1.31 MB / 0.5709 GB, free: 1.16 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00403/0.6695, allocations: 0.8939 MB / 0.5718 GB, free: 288 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003762/0.6732, allocations: 2.23 MB / 0.574 GB, free: 14.04 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00104/0.6743, allocations: 378.6 kB / 0.5743 GB, free: 13.67 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003519/0.6779, allocations: 1.011 MB / 0.5753 GB, free: 12.66 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001671/0.6796, allocations: 0.6463 MB / 0.5759 GB, free: 12.01 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001938/0.6798, allocations: 32 kB / 0.576 GB, free: 11.98 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00226/0.6821, allocations: 0.602 MB / 0.5766 GB, free: 11.38 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005103/0.6827, allocations: 235.1 kB / 0.5768 GB, free: 11.15 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003566/0.683, allocations: 169.3 kB / 0.5769 GB, free: 10.98 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00221/0.6853, allocations: 0.9821 MB / 0.5779 GB, free: 9.996 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.6853, allocations: 0 / 0.5779 GB, free: 9.996 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.295e-06/0.6853, allocations: 4 kB / 0.5779 GB, free: 9.992 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.078e-05/0.6853, allocations: 0 / 0.5779 GB, free: 9.992 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.003113/0.6885, allocations: 0.9932 MB / 0.5789 GB, free: 8.945 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/0.6885, allocations: 8.031 kB / 0.5789 GB, free: 8.938 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002193/0.6888, allocations: 98.5 kB / 0.579 GB, free: 8.832 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001138/0.6899, allocations: 139.1 kB / 0.5791 GB, free: 8.695 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001323/0.6913, allocations: 496.6 kB / 0.5796 GB, free: 8.172 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001501/0.6914, allocations: 100.4 kB / 0.5797 GB, free: 8.059 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001449/0.6916, allocations: 48 kB / 0.5797 GB, free: 8.012 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002058/0.6937, allocations: 0.8147 MB / 0.5805 GB, free: 7.125 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.919e-05/0.6937, allocations: 4 kB / 0.5805 GB, free: 7.121 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001218/0.6938, allocations: 35.88 kB / 0.5806 GB, free: 7.086 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.501e-05/0.6939, allocations: 36.98 kB / 0.5806 GB, free: 7.051 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001836/0.6958, allocations: 0.6204 MB / 0.5812 GB, free: 6.43 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.00735/0.7032, allocations: 3.942 MB / 0.585 GB, free: 2.234 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009244/0.7041, allocations: 345.3 kB / 0.5854 GB, free: 1.891 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004712/0.7046, allocations: 176.6 kB / 0.5855 GB, free: 1.719 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006701/0.7053, allocations: 361.5 kB / 0.5859 GB, free: 1.309 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.946e-05/0.7053, allocations: 42.84 kB / 0.5859 GB, free: 1.258 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 3.196e-06/0.7054, allocations: 0 / 0.5859 GB, free: 1.258 MB / 426.7 MB Notification: Performance of matching and sorting (n=39): time 0.2958/1.001, allocations: 1.64 MB / 0.5875 GB, free: 142.1 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.737e-05/1.001, allocations: 137.9 kB / 0.5877 GB, free: 141.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001525/1.003, allocations: 0.5961 MB / 0.5882 GB, free: 141.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001162/1.003, allocations: 35.61 kB / 0.5883 GB, free: 141.8 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004903/1.004, allocations: 376 kB / 0.5886 GB, free: 141.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002707/1.004, allocations: 145 kB / 0.5888 GB, free: 141.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/1.004, allocations: 13.66 kB / 0.5888 GB, free: 141.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002328/1.004, allocations: 373.8 kB / 0.5891 GB, free: 141.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009526/1.005, allocations: 202.2 kB / 0.5893 GB, free: 141.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00119/1.006, allocations: 0.5377 MB / 0.5899 GB, free: 140.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001236/1.008, allocations: 302.7 kB / 0.5902 GB, free: 140.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.479e-05/1.008, allocations: 2.969 kB / 0.5902 GB, free: 140.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.003285/1.011, allocations: 0.8876 MB / 0.591 GB, free: 140.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.064e-05/1.011, allocations: 9.938 kB / 0.591 GB, free: 140.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.839e-05/1.011, allocations: 14.09 kB / 0.591 GB, free: 140.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002867/1.014, allocations: 309.5 kB / 0.5913 GB, free: 140.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009658/1.015, allocations: 129.7 kB / 0.5915 GB, free: 140.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001936/1.017, allocations: 0.9095 MB / 0.5924 GB, free: 140.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001239/1.018, allocations: 44.39 kB / 0.5924 GB, free: 140.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002021/1.018, allocations: 68.58 kB / 0.5925 GB, free: 140.1 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.0006282/1.019, allocations: 244.6 kB / 0.5927 GB, free: 140 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002163/1.019, allocations: 79.45 kB / 0.5928 GB, free: 139.9 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00309/1.022, allocations: 0.6659 MB / 0.5934 GB, free: 139.8 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/1.022, allocations: 7.703 kB / 0.5934 GB, free: 139.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/1.022, allocations: 0 / 0.5934 GB, free: 139.8 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/1.023, allocations: 1.969 kB / 0.5934 GB, free: 139.8 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00437/1.027, allocations: 1.6 MB / 0.595 GB, free: 139.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/1.027, allocations: 2.031 kB / 0.595 GB, free: 139.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00253/1.029, allocations: 204.6 kB / 0.5952 GB, free: 139.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001868/1.03, allocations: 26.09 kB / 0.5952 GB, free: 139.1 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.75e-05/1.03, allocations: 22.05 kB / 0.5952 GB, free: 139.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00319/1.033, allocations: 2.686 MB / 0.5979 GB, free: 136.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/1.033, allocations: 9.016 kB / 0.5979 GB, free: 136.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002549/1.036, allocations: 0.7887 MB / 0.5986 GB, free: 136.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006703/1.036, allocations: 192.4 kB / 0.5988 GB, free: 136 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002309/1.037, allocations: 11.61 kB / 0.5988 GB, free: 136 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001078/1.038, allocations: 32.23 kB / 0.5989 GB, free: 136 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001753/1.038, allocations: 33.52 kB / 0.5989 GB, free: 136 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001275/1.038, allocations: 44.92 kB / 0.5989 GB, free: 136 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001045/1.039, allocations: 420 kB / 0.5993 GB, free: 135.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.843e-06/1.039, allocations: 0 / 0.5993 GB, free: 135.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002302/1.042, allocations: 296.3 kB / 0.5996 GB, free: 135.8 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.00464/1.046, allocations: 1.598 MB / 0.6012 GB, free: 134.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002498/1.049, allocations: 0.5498 MB / 0.6017 GB, free: 134.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.889e-06/1.049, allocations: 0 / 0.6017 GB, free: 134.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002358/1.051, allocations: 412.1 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.004066/1.055, allocations: 320.5 kB / 0.6024 GB, free: 134.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01007/1.065, allocations: 4.298 MB / 0.6066 GB, free: 132 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004805/1.066, allocations: 0.9444 MB / 0.6075 GB, free: 131.3 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001803/1.068, allocations: 270.7 kB / 0.6078 GB, free: 131.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007508/1.068, allocations: 263.6 kB / 0.608 GB, free: 131.1 MB / 426.7 MB Notification: Performance of SimCode: time 9.92e-07/1.068, allocations: 0 / 0.608 GB, free: 131.1 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07055/1.139, allocations: 23.09 MB / 0.6306 GB, free: 124.3 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002964/1.139, allocations: 284.7 kB / 0.6309 GB, free: 123.9 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.657/4.797, allocations: 0 / 0.6309 GB, free: 123.9 MB / 426.7 MB