Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.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.MoistAir,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",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.01338/0.01338, allocations: 157.4 kB / 15.12 MB, free: 6.055 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.724/1.724, 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.001784/0.001784, allocations: 109.9 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.4467/0.4467, allocations: 38.06 MB / 303.7 MB, free: 42.43 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006154/0.0006157, allocations: 11.98 kB / 363 MB, free: 5.477 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1068, allocations: 48.71 MB / 411.7 MB, free: 4.684 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.5425/0.6493, allocations: 179 MB / 0.5768 GB, free: 10.92 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0195/0.6689, allocations: 9.517 MB / 0.5861 GB, free: 1.391 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001114/0.6701, allocations: 23.75 kB / 0.5861 GB, free: 1.367 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001387/0.6715, allocations: 294.2 kB / 0.5864 GB, free: 1.078 MB / 426.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.378/1.049, allocations: 2.111 MB / 0.5885 GB, free: 4.031 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00833/1.058, allocations: 1.968 MB / 0.5904 GB, free: 4.004 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.00445/1.062, allocations: 2.614 MB / 0.593 GB, free: 4.004 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001288/1.064, allocations: 497 kB / 0.5934 GB, free: 3.949 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005448/1.069, allocations: 1.638 MB / 0.595 GB, free: 3.934 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002109/1.071, allocations: 0.854 MB / 0.5959 GB, free: 3.93 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003324/1.072, allocations: 45 kB / 0.5959 GB, free: 3.93 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01304/1.085, allocations: 4.615 MB / 0.6004 GB, free: 3.926 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009588/1.086, allocations: 376.6 kB / 0.6008 GB, free: 3.926 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007364/1.086, allocations: 210.6 kB / 0.601 GB, free: 19.89 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007263/1.094, allocations: 2.647 MB / 0.6036 GB, free: 19.72 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/1.094, allocations: 4 kB / 0.6036 GB, free: 19.71 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.675e-06/1.094, allocations: 0 / 0.6036 GB, free: 19.71 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.328e-05/1.094, allocations: 0 / 0.6036 GB, free: 19.71 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.006751/1.101, allocations: 1.607 MB / 0.6051 GB, free: 18.81 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/1.101, allocations: 13.11 kB / 0.6052 GB, free: 18.81 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005309/1.101, allocations: 125.1 kB / 0.6053 GB, free: 18.77 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006141/1.102, allocations: 111.1 kB / 0.6054 GB, free: 18.73 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001829/1.104, allocations: 0.5855 MB / 0.606 GB, free: 18.47 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001793/1.104, allocations: 117.2 kB / 0.6061 GB, free: 18.41 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002283/1.104, allocations: 68.3 kB / 0.6061 GB, free: 18.41 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003159/1.107, allocations: 1.161 MB / 0.6073 GB, free: 18.23 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.848e-05/1.107, allocations: 9.375 kB / 0.6073 GB, free: 18.22 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001839/1.108, allocations: 38.05 kB / 0.6073 GB, free: 18.22 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001254/1.108, allocations: 55.73 kB / 0.6074 GB, free: 18.22 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003269/1.111, allocations: 1.16 MB / 0.6085 GB, free: 18.21 MB / 442.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.01075/1.122, allocations: 4.72 MB / 0.6131 GB, free: 15.84 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00262/1.124, allocations: 0.7782 MB / 0.6139 GB, free: 15.8 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001003/1.126, allocations: 394.3 kB / 0.6142 GB, free: 15.8 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002488/1.128, allocations: 1.897 MB / 0.6161 GB, free: 13.83 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.337e-05/1.128, allocations: 46.62 kB / 0.6161 GB, free: 13.79 MB / 442.7 MB Notification: Performance of pre-optimization done (n=69): time 3.467e-06/1.128, allocations: 1.969 kB / 0.6161 GB, free: 13.79 MB / 442.7 MB Notification: Performance of matching and sorting (n=81): time 0.02455/1.153, allocations: 4.031 MB / 0.6201 GB, free: 13.25 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.037e-05/1.153, allocations: 119.2 kB / 0.6202 GB, free: 13.12 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001194/1.154, allocations: 0.6197 MB / 0.6208 GB, free: 12.98 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002761/1.154, allocations: 44.45 kB / 0.6208 GB, free: 12.95 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004082/1.155, allocations: 398.2 kB / 0.6212 GB, free: 12.74 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005428/1.155, allocations: 285.1 kB / 0.6215 GB, free: 12.56 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001587/1.156, allocations: 22.19 kB / 0.6215 GB, free: 12.56 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003747/1.156, allocations: 386.2 kB / 0.6219 GB, free: 12.25 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001837/1.158, allocations: 481.7 kB / 0.6223 GB, free: 12.24 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002358/1.16, allocations: 0.7912 MB / 0.6231 GB, free: 11.87 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002041/1.162, allocations: 0.5818 MB / 0.6237 GB, free: 11.84 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-05/1.162, allocations: 7.141 kB / 0.6237 GB, free: 11.84 MB / 442.7 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.005517/1.168, allocations: 1.68 MB / 0.6253 GB, free: 11.63 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.109e-05/1.168, allocations: 10.16 kB / 0.6253 GB, free: 11.63 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.045e-05/1.168, allocations: 8.906 kB / 0.6253 GB, free: 11.63 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01307/1.181, allocations: 1.375 MB / 0.6267 GB, free: 11.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001267/1.182, allocations: 168.4 kB / 0.6268 GB, free: 11.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004241/1.187, allocations: 1.505 MB / 0.6283 GB, free: 10.49 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001881/1.188, allocations: 98.91 kB / 0.6284 GB, free: 10.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002282/1.189, allocations: 68.47 kB / 0.6285 GB, free: 10.45 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (95): * Single equations (assignments): 94 * 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 {3 32} Notification: Performance of prepare postOptimizeDAE: time 0.0008116/1.19, allocations: 295.1 kB / 0.6288 GB, free: 10.31 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003117/1.19, allocations: 83.12 kB / 0.6288 GB, free: 10.27 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005509/1.195, allocations: 1.614 MB / 0.6304 GB, free: 9.828 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.093e-05/1.196, allocations: 10.12 kB / 0.6304 GB, free: 9.828 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.926e-06/1.196, allocations: 0 / 0.6304 GB, free: 9.828 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-05/1.196, allocations: 7.969 kB / 0.6304 GB, free: 9.82 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01067/1.206, allocations: 2.47 MB / 0.6328 GB, free: 8.996 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.609e-05/1.206, allocations: 0 / 0.6328 GB, free: 8.996 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004011/1.21, allocations: 261.5 kB / 0.6331 GB, free: 8.941 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005337/1.216, allocations: 398.6 kB / 0.6335 GB, free: 8.809 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003392/1.216, allocations: 35.86 kB / 0.6335 GB, free: 8.801 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005865/1.222, allocations: 2.265 MB / 0.6357 GB, free: 6.852 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.326e-06/1.222, allocations: 3.031 kB / 0.6357 GB, free: 6.852 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009777/1.232, allocations: 1.947 MB / 0.6376 GB, free: 6.355 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001456/1.233, allocations: 293.8 kB / 0.6379 GB, free: 6.172 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004916/1.234, allocations: 23.89 kB / 0.6379 GB, free: 6.168 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002523/1.237, allocations: 74.28 kB / 0.638 GB, free: 6.145 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004018/1.237, allocations: 72.59 kB / 0.6381 GB, free: 6.113 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002628/1.237, allocations: 44.84 kB / 0.6381 GB, free: 6.105 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001312/1.239, allocations: 455.3 kB / 0.6385 GB, free: 5.945 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.032e-06/1.239, allocations: 0 / 0.6385 GB, free: 5.945 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004755/1.243, allocations: 0.6928 MB / 0.6392 GB, free: 5.82 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],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 (81): * Single equations (assignments): 77 * 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: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01561/1.259, allocations: 3.279 MB / 0.6424 GB, free: 4.535 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005704/1.265, allocations: 1.213 MB / 0.6436 GB, free: 4.266 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.206e-05/1.265, allocations: 1.375 kB / 0.6436 GB, free: 4.266 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004047/1.269, allocations: 0.7008 MB / 0.6443 GB, free: 3.762 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005368/1.274, allocations: 452 kB / 0.6447 GB, free: 3.414 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02887/1.303, allocations: 6.681 MB / 0.6512 GB, free: 13.77 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00126/1.305, allocations: 1.063 MB / 0.6523 GB, free: 12.71 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002836/1.308, allocations: 307.5 kB / 0.6526 GB, free: 12.41 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001179/1.309, allocations: 336.6 kB / 0.6529 GB, free: 12.3 MB / 458.7 MB Notification: Performance of SimCode: time 1.243e-06/1.309, allocations: 0 / 0.6529 GB, free: 12.3 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1244/1.433, allocations: 40.75 MB / 0.6927 GB, free: 3.746 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003886/1.434, allocations: 273.2 kB / 0.693 GB, free: 3.387 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.805/6.239, allocations: 1.859 kB / 0.693 GB, free: 3.387 MB / 490.7 MB