Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.Air.SimpleAir,fileNamePrefix="ModelicaTest_3_2_2_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.2+maint.om/package.mo): time 0.01461/0.01462, allocations: 176 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.053/2.053, allocations: 194.5 MB / 210.3 MB, free: 7.594 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.002878/0.002879, allocations: 112.2 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.2489/0.2489, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004622/0.0004624, allocations: 11.14 kB / 406.3 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09568/0.09618, allocations: 54.87 MB / 461.2 MB, free: 3.18 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.5332/0.6294, allocations: 134.2 MB / 0.5814 GB, free: 12.75 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.009945/0.6394, allocations: 5.342 MB / 0.5866 GB, free: 11.79 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001165/0.6406, allocations: 26.5 kB / 0.5867 GB, free: 11.77 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001337/0.642, allocations: 251.7 kB / 0.5869 GB, free: 11.62 MB / 394.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.003158/0.6452, allocations: 0.8625 MB / 0.5878 GB, free: 11.18 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003441/0.6486, allocations: 0.7952 MB / 0.5885 GB, free: 10.93 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003378/0.652, allocations: 2.193 MB / 0.5907 GB, free: 10.16 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009714/0.653, allocations: 378.8 kB / 0.591 GB, free: 10 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002007/0.6551, allocations: 0.6226 MB / 0.5916 GB, free: 9.785 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001911/0.657, allocations: 0.6935 MB / 0.5923 GB, free: 9.555 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002082/0.6573, allocations: 32.66 kB / 0.5923 GB, free: 9.555 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001713/0.659, allocations: 410.9 kB / 0.5927 GB, free: 9.473 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005672/0.6596, allocations: 229.9 kB / 0.593 GB, free: 9.375 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003642/0.66, allocations: 169.8 kB / 0.5931 GB, free: 9.316 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001848/0.6619, allocations: 0.8015 MB / 0.5939 GB, free: 8.891 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.6619, allocations: 0 / 0.5939 GB, free: 8.891 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.248e-06/0.6619, allocations: 0 / 0.5939 GB, free: 8.891 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.457e-05/0.662, allocations: 1.75 kB / 0.5939 GB, free: 8.891 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.002951/0.6649, allocations: 0.9186 MB / 0.5948 GB, free: 8.207 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.665, allocations: 7.875 kB / 0.5948 GB, free: 8.207 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002421/0.6653, allocations: 101.1 kB / 0.5949 GB, free: 8.152 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005017/0.6658, allocations: 89.33 kB / 0.595 GB, free: 8.113 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001248/0.667, allocations: 0.504 MB / 0.5955 GB, free: 7.754 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001386/0.6672, allocations: 104.2 kB / 0.5956 GB, free: 7.688 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001266/0.6673, allocations: 46.78 kB / 0.5956 GB, free: 7.688 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001866/0.6692, allocations: 0.8083 MB / 0.5964 GB, free: 7.328 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.993e-05/0.6693, allocations: 3.938 kB / 0.5964 GB, free: 7.324 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001091/0.6694, allocations: 27.58 kB / 0.5964 GB, free: 7.32 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.02e-05/0.6695, allocations: 39.8 kB / 0.5965 GB, free: 7.312 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001616/0.6711, allocations: 0.6465 MB / 0.5971 GB, free: 7.195 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.006886/0.678, allocations: 3.945 MB / 0.601 GB, free: 4.168 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/0.6792, allocations: 410.5 kB / 0.6014 GB, free: 4.086 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004842/0.6797, allocations: 210.1 kB / 0.6016 GB, free: 4.047 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002926/0.6826, allocations: 1.642 MB / 0.6032 GB, free: 2.723 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.06e-05/0.6827, allocations: 43.91 kB / 0.6032 GB, free: 2.68 MB / 394.7 MB Notification: Performance of pre-optimization done (n=37): time 3.025e-06/0.6827, allocations: 0 / 0.6032 GB, free: 2.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=42): time 0.004384/0.6871, allocations: 1.439 MB / 0.6046 GB, free: 2.062 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.031e-05/0.6872, allocations: 134.2 kB / 0.6047 GB, free: 1.906 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008767/0.6881, allocations: 0.5693 MB / 0.6053 GB, free: 1.684 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.25e-05/0.6882, allocations: 33.95 kB / 0.6053 GB, free: 1.652 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003424/0.6885, allocations: 375.6 kB / 0.6057 GB, free: 1.41 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001724/0.6887, allocations: 155.1 kB / 0.6058 GB, free: 1.297 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.622e-05/0.6888, allocations: 13.81 kB / 0.6058 GB, free: 1.297 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001972/0.689, allocations: 379.2 kB / 0.6062 GB, free: 0.9609 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005304/0.6895, allocations: 208.1 kB / 0.6064 GB, free: 0.9297 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000837/0.6904, allocations: 0.5469 MB / 0.6069 GB, free: 460 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006982/0.6911, allocations: 297.3 kB / 0.6072 GB, free: 416 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.6911, allocations: 3.188 kB / 0.6072 GB, free: 416 kB / 394.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00229/0.6934, allocations: 0.906 MB / 0.6081 GB, free: 148 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.6934, allocations: 11 kB / 0.6081 GB, free: 148 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.702e-05/0.6935, allocations: 13 kB / 0.6081 GB, free: 148 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002103/0.6956, allocations: 264.4 kB / 0.6084 GB, free: 68 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007424/0.6963, allocations: 137.9 kB / 0.6085 GB, free: 40 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001401/0.6978, allocations: 0.8387 MB / 0.6093 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009067/0.6987, allocations: 50.11 kB / 0.6094 GB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.233e-05/0.6988, allocations: 46.8 kB / 0.6094 GB, free: 15.45 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.0005128/0.6993, allocations: 245.3 kB / 0.6097 GB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001556/0.6995, allocations: 63.84 kB / 0.6097 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001792/0.7013, allocations: 0.7294 MB / 0.6104 GB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.7013, allocations: 2.812 kB / 0.6104 GB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.475e-06/0.7013, allocations: 1.719 kB / 0.6104 GB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/0.7014, allocations: 3.953 kB / 0.6104 GB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002839/0.7042, allocations: 1.353 MB / 0.6118 GB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.7043, allocations: 2.906 kB / 0.6118 GB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001915/0.7062, allocations: 201.2 kB / 0.612 GB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001286/0.7063, allocations: 23.38 kB / 0.612 GB, free: 14.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.256e-05/0.7064, allocations: 10.5 kB / 0.612 GB, free: 14.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002803/0.7092, allocations: 2.685 MB / 0.6146 GB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.7092, allocations: 3.938 kB / 0.6146 GB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002213/0.7115, allocations: 0.9487 MB / 0.6155 GB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004516/0.7119, allocations: 203.3 kB / 0.6157 GB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001397/0.7121, allocations: 8.438 kB / 0.6157 GB, free: 10.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006914/0.7128, allocations: 27.3 kB / 0.6158 GB, free: 10.45 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.7129, allocations: 35.16 kB / 0.6158 GB, free: 10.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-05/0.713, allocations: 30.11 kB / 0.6158 GB, free: 10.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007339/0.7138, allocations: 394.6 kB / 0.6162 GB, free: 10.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.82e-07/0.7138, allocations: 5.969 kB / 0.6162 GB, free: 10.09 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001151/0.715, allocations: 220.2 kB / 0.6164 GB, free: 9.898 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.00299/0.718, allocations: 1.63 MB / 0.618 GB, free: 8.457 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001955/0.7199, allocations: 0.5804 MB / 0.6186 GB, free: 8.027 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.72, allocations: 448 / 0.6186 GB, free: 8.027 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001708/0.7217, allocations: 442.8 kB / 0.619 GB, free: 7.652 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002557/0.7243, allocations: 298.4 kB / 0.6193 GB, free: 7.418 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00933/0.7336, allocations: 4.183 MB / 0.6234 GB, free: 3.676 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006976/0.7344, allocations: 0.948 MB / 0.6243 GB, free: 2.715 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001238/0.7356, allocations: 205.8 kB / 0.6245 GB, free: 2.512 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004486/0.7361, allocations: 234.6 kB / 0.6247 GB, free: 2.438 MB / 410.7 MB Notification: Performance of SimCode: time 1.212e-06/0.7361, allocations: 0 / 0.6247 GB, free: 2.438 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06389/0.8, allocations: 19.17 MB / 0.6434 GB, free: 15.35 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003244/0.8004, allocations: 286.1 kB / 0.6437 GB, free: 14.98 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.444/4.244, allocations: 0 / 0.6437 GB, free: 14.98 MB / 442.7 MB