Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.IdealGases.Air,fileNamePrefix="ModelicaTest_3_2_2_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.2+maint.om/package.mo): time 0.00991/0.00991, allocations: 176.3 kB / 15.13 MB, free: 5.953 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.004/2.004, allocations: 194.5 MB / 210.3 MB, free: 7.605 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.001822/0.001822, allocations: 120.1 kB / 255.6 MB, free: 10.22 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.2526/0.2526, allocations: 40.02 MB / 340.8 MB, free: 11.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004598/0.0004601, allocations: 15.95 kB / 406.3 MB, free: 51.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09917/0.09967, allocations: 54.87 MB / 461.2 MB, free: 3.148 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.6299/0.7297, allocations: 163.7 MB / 0.6102 GB, free: 2.848 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01836/0.7481, allocations: 7.655 MB / 0.6177 GB, free: 12.68 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001157/0.7493, allocations: 22.69 kB / 0.6177 GB, free: 12.67 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001154/0.7505, allocations: 250.4 kB / 0.618 GB, free: 12.46 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.005827/0.7563, allocations: 1.309 MB / 0.6192 GB, free: 11.48 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006232/0.7626, allocations: 0.902 MB / 0.6201 GB, free: 10.86 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.005683/0.7683, allocations: 2.236 MB / 0.6223 GB, free: 9.535 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001741/0.7701, allocations: 370.3 kB / 0.6227 GB, free: 9.301 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005499/0.7757, allocations: 1.006 MB / 0.6236 GB, free: 8.602 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002811/0.7786, allocations: 0.6579 MB / 0.6243 GB, free: 7.941 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003256/0.779, allocations: 31.94 kB / 0.6243 GB, free: 7.91 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003745/0.7827, allocations: 0.6007 MB / 0.6249 GB, free: 7.309 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008825/0.7837, allocations: 231.3 kB / 0.6251 GB, free: 7.082 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005418/0.7842, allocations: 165.3 kB / 0.6253 GB, free: 6.914 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003587/0.7879, allocations: 0.9819 MB / 0.6262 GB, free: 5.934 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.039e-05/0.7879, allocations: 4 kB / 0.6262 GB, free: 5.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.626e-06/0.788, allocations: 3.938 kB / 0.6263 GB, free: 5.926 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.032e-05/0.788, allocations: 0 / 0.6263 GB, free: 5.926 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.004833/0.7928, allocations: 0.9894 MB / 0.6272 GB, free: 4.887 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.93e-05/0.7929, allocations: 8.031 kB / 0.6272 GB, free: 4.879 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000466/0.7934, allocations: 102.5 kB / 0.6273 GB, free: 4.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001422/0.7949, allocations: 131.1 kB / 0.6274 GB, free: 4.641 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001462/0.7964, allocations: 0.4966 MB / 0.6279 GB, free: 4.102 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001665/0.7966, allocations: 104.4 kB / 0.628 GB, free: 3.988 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001511/0.7968, allocations: 49 kB / 0.6281 GB, free: 3.941 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002368/0.7991, allocations: 0.8096 MB / 0.6289 GB, free: 3.051 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.094e-05/0.7992, allocations: 3.938 kB / 0.6289 GB, free: 3.047 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001433/0.7994, allocations: 31.98 kB / 0.6289 GB, free: 3.016 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001035/0.7995, allocations: 40.92 kB / 0.6289 GB, free: 2.977 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001937/0.8014, allocations: 0.6205 MB / 0.6296 GB, free: 2.355 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.007415/0.8089, allocations: 3.938 MB / 0.6334 GB, free: 14.17 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/0.8099, allocations: 347.4 kB / 0.6337 GB, free: 13.82 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004877/0.8105, allocations: 176.7 kB / 0.6339 GB, free: 13.65 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006672/0.8111, allocations: 365.2 kB / 0.6342 GB, free: 13.24 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.047e-05/0.8112, allocations: 38.83 kB / 0.6343 GB, free: 13.19 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 5.029e-06/0.8112, allocations: 7.938 kB / 0.6343 GB, free: 13.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=39): time 0.00961/0.8209, allocations: 1.628 MB / 0.6359 GB, free: 11.48 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.062e-05/0.821, allocations: 132.5 kB / 0.636 GB, free: 11.32 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001119/0.8221, allocations: 0.5898 MB / 0.6366 GB, free: 10.72 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001085/0.8223, allocations: 37.64 kB / 0.6366 GB, free: 10.68 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004026/0.8227, allocations: 386.6 kB / 0.637 GB, free: 10.29 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001934/0.8229, allocations: 145.9 kB / 0.6371 GB, free: 10.15 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.002e-05/0.8229, allocations: 16 kB / 0.6371 GB, free: 10.13 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002115/0.8232, allocations: 374.7 kB / 0.6375 GB, free: 9.758 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006094/0.8238, allocations: 201.9 kB / 0.6377 GB, free: 9.562 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009221/0.8247, allocations: 0.5393 MB / 0.6382 GB, free: 8.859 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000808/0.8256, allocations: 300.8 kB / 0.6385 GB, free: 8.566 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.8256, allocations: 0 / 0.6385 GB, free: 8.566 MB / 426.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002511/0.8281, allocations: 0.887 MB / 0.6394 GB, free: 7.668 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.456e-05/0.8282, allocations: 16.91 kB / 0.6394 GB, free: 7.652 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.445e-05/0.8282, allocations: 8 kB / 0.6394 GB, free: 7.645 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00237/0.8306, allocations: 318.1 kB / 0.6397 GB, free: 7.332 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009169/0.8316, allocations: 135.8 kB / 0.6398 GB, free: 7.199 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002485/0.8341, allocations: 0.9023 MB / 0.6407 GB, free: 6.273 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001464/0.8356, allocations: 48.03 kB / 0.6408 GB, free: 6.227 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001979/0.8358, allocations: 68 kB / 0.6408 GB, free: 6.16 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.0007226/0.8366, allocations: 249.5 kB / 0.6411 GB, free: 5.906 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002839/0.8369, allocations: 71.16 kB / 0.6411 GB, free: 5.836 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00336/0.8402, allocations: 0.6782 MB / 0.6418 GB, free: 5.137 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.239e-05/0.8403, allocations: 4 kB / 0.6418 GB, free: 5.133 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.8403, allocations: 0 / 0.6418 GB, free: 5.133 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.8403, allocations: 4 kB / 0.6418 GB, free: 5.129 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004678/0.845, allocations: 1.599 MB / 0.6434 GB, free: 3.383 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/0.8451, allocations: 4.031 kB / 0.6434 GB, free: 3.379 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002546/0.8477, allocations: 203.8 kB / 0.6436 GB, free: 3.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000165/0.8478, allocations: 24.84 kB / 0.6436 GB, free: 3.152 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.072e-05/0.8479, allocations: 23.98 kB / 0.6436 GB, free: 3.129 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00368/0.8516, allocations: 2.684 MB / 0.6462 GB, free: 188 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.8517, allocations: 0 / 0.6462 GB, free: 188 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00297/0.8547, allocations: 0.7889 MB / 0.647 GB, free: 15.36 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006491/0.8553, allocations: 196.2 kB / 0.6472 GB, free: 15.14 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000212/0.8556, allocations: 8 kB / 0.6472 GB, free: 15.14 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001033/0.8566, allocations: 28.05 kB / 0.6472 GB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001775/0.8568, allocations: 35.95 kB / 0.6472 GB, free: 15.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001585/0.857, allocations: 51.92 kB / 0.6473 GB, free: 15.02 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001126/0.8581, allocations: 415 kB / 0.6477 GB, free: 14.62 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.8582, allocations: 0 / 0.6477 GB, free: 14.62 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002026/0.8602, allocations: 291.9 kB / 0.648 GB, free: 14.34 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.004674/0.8649, allocations: 1.612 MB / 0.6495 GB, free: 12.68 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002558/0.8675, allocations: 0.555 MB / 0.6501 GB, free: 12.13 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/0.8675, allocations: 0 / 0.6501 GB, free: 12.13 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002385/0.8699, allocations: 414.7 kB / 0.6505 GB, free: 11.71 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003986/0.8739, allocations: 311 kB / 0.6508 GB, free: 11.41 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01471/0.8887, allocations: 4.299 MB / 0.655 GB, free: 6.891 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001005/0.8898, allocations: 0.9455 MB / 0.6559 GB, free: 5.918 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002505/0.8923, allocations: 261.9 kB / 0.6562 GB, free: 5.66 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00108/0.8934, allocations: 271.3 kB / 0.6564 GB, free: 5.395 MB / 442.7 MB Notification: Performance of SimCode: time 1.072e-06/0.8934, allocations: 0 / 0.6564 GB, free: 5.395 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09587/0.9893, allocations: 23.08 MB / 0.679 GB, free: 14.37 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004023/0.9898, allocations: 279.2 kB / 0.6792 GB, free: 14.01 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.579/4.569, allocations: 0 / 0.6792 GB, free: 14.01 MB / 474.7 MB