Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.CheckValve,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_FixedResistances_Examples_CheckValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.01525/0.01525, allocations: 89.06 kB / 15.04 MB, free: 6.055 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001838/0.001838, allocations: 172.8 kB / 15.92 MB, free: 5.992 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.152/2.152, allocations: 205.5 MB / 222.2 MB, free: 13.71 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.531/2.531, allocations: 252.8 MB / 0.511 GB, free: 8.309 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004872/0.0004873, allocations: 9.094 kB / 0.6243 GB, free: 28.38 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.238, allocations: 106.2 MB / 0.7281 GB, free: 10.17 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.0436/0.2817, allocations: 17.42 MB / 0.7451 GB, free: 8.699 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.01247/0.2942, allocations: 3.961 MB / 0.7489 GB, free: 4.73 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008974/0.2952, allocations: 15.88 kB / 0.7489 GB, free: 4.715 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.001692/0.2969, allocations: 262.7 kB / 0.7492 GB, free: 4.457 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.004916/0.3019, allocations: 0.7945 MB / 0.75 GB, free: 3.66 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.005007/0.3069, allocations: 0.7173 MB / 0.7507 GB, free: 2.941 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.003235/0.3102, allocations: 0.8397 MB / 0.7515 GB, free: 2.102 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0012/0.3114, allocations: 345.2 kB / 0.7518 GB, free: 1.762 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002132/0.3136, allocations: 482.4 kB / 0.7523 GB, free: 1.289 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001232/0.3149, allocations: 310.7 kB / 0.7526 GB, free: 0.9844 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001684/0.3151, allocations: 20 kB / 0.7526 GB, free: 0.9648 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002155/0.3172, allocations: 399.5 kB / 0.753 GB, free: 0.5742 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002751/0.3176, allocations: 99.56 kB / 0.7531 GB, free: 488 kB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0003367/0.3179, allocations: 133.4 kB / 0.7532 GB, free: 348 kB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.001716/0.3197, allocations: 0.5107 MB / 0.7537 GB, free: 15.83 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.3197, allocations: 0 / 0.7537 GB, free: 15.83 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.206e-06/0.3197, allocations: 0 / 0.7537 GB, free: 15.83 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.416e-05/0.3198, allocations: 0 / 0.7537 GB, free: 15.83 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.00316/0.3229, allocations: 0.8214 MB / 0.7545 GB, free: 14.96 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 6.527e-05/0.323, allocations: 12.03 kB / 0.7545 GB, free: 14.95 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001688/0.3232, allocations: 66.47 kB / 0.7546 GB, free: 14.87 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000235/0.3235, allocations: 67.2 kB / 0.7546 GB, free: 14.8 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001356/0.3249, allocations: 442.9 kB / 0.7551 GB, free: 14.33 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.139e-05/0.325, allocations: 20.66 kB / 0.7551 GB, free: 14.31 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001421/0.3251, allocations: 36 kB / 0.7551 GB, free: 14.27 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001589/0.3267, allocations: 314 kB / 0.7554 GB, free: 13.96 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.308e-05/0.3268, allocations: 0 / 0.7554 GB, free: 13.96 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.64e-05/0.3269, allocations: 20 kB / 0.7554 GB, free: 13.94 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.914e-05/0.327, allocations: 4 kB / 0.7554 GB, free: 13.94 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001666/0.3286, allocations: 286.4 kB / 0.7557 GB, free: 13.66 MB / 0.5886 GB 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.005252/0.3339, allocations: 1.341 MB / 0.757 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00164/0.3356, allocations: 286.5 kB / 0.7573 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000795/0.3364, allocations: 0.4986 MB / 0.7578 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.149e-05/0.3365, allocations: 34.56 kB / 0.7578 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=25): time 4.468e-06/0.3365, allocations: 0 / 0.7578 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of matching and sorting (n=25): time 0.004447/0.341, allocations: 0.5835 MB / 0.7584 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.858e-05/0.3411, allocations: 59.39 kB / 0.7584 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001157/0.3423, allocations: 470.1 kB / 0.7589 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.332e-05/0.3424, allocations: 33.7 kB / 0.7589 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003546/0.3428, allocations: 240.5 kB / 0.7592 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001648/0.343, allocations: 90.69 kB / 0.7592 GB, free: 9.738 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.152e-05/0.343, allocations: 4 kB / 0.7592 GB, free: 9.734 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0002425/0.3433, allocations: 354.8 kB / 0.7596 GB, free: 9.379 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008156/0.3441, allocations: 123.9 kB / 0.7597 GB, free: 9.258 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009468/0.3451, allocations: 189.2 kB / 0.7599 GB, free: 9.055 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008937/0.346, allocations: 148.7 kB / 0.76 GB, free: 8.91 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.441e-06/0.346, allocations: 0 / 0.76 GB, free: 8.91 MB / 0.5886 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.002688/0.3487, allocations: 444.2 kB / 0.7604 GB, free: 8.469 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001967/0.349, allocations: 271 kB / 0.7607 GB, free: 8.184 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/0.349, allocations: 0 / 0.7607 GB, free: 8.184 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006863/0.3497, allocations: 52.81 kB / 0.7608 GB, free: 8.129 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/0.3508, allocations: 79.88 kB / 0.7608 GB, free: 8.051 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008997/0.3517, allocations: 0.5563 MB / 0.7614 GB, free: 7.469 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001349/0.3531, allocations: 71.66 kB / 0.7614 GB, free: 7.398 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000143/0.3533, allocations: 15.98 kB / 0.7615 GB, free: 7.383 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.3534, allocations: 7.938 kB / 0.7615 GB, free: 7.375 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001953/0.3553, allocations: 315.6 kB / 0.7618 GB, free: 7.066 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.3554, allocations: 4 kB / 0.7618 GB, free: 7.062 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.3554, allocations: 4 kB / 0.7618 GB, free: 7.059 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/0.3565, allocations: 87.88 kB / 0.7619 GB, free: 6.973 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.3566, allocations: 0 / 0.7619 GB, free: 6.973 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001261/0.3578, allocations: 63.92 kB / 0.7619 GB, free: 6.91 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.863e-05/0.358, allocations: 12 kB / 0.7619 GB, free: 6.898 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * 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 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0005619/0.3586, allocations: 246.1 kB / 0.7622 GB, free: 6.648 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002428/0.3588, allocations: 55.3 kB / 0.7622 GB, free: 6.594 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002401/0.3613, allocations: 447.8 kB / 0.7626 GB, free: 6.145 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.351e-05/0.3613, allocations: 7.938 kB / 0.7627 GB, free: 6.137 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.3614, allocations: 0 / 0.7627 GB, free: 6.137 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.619e-05/0.3614, allocations: 7.984 kB / 0.7627 GB, free: 6.129 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003826/0.3652, allocations: 0.9609 MB / 0.7636 GB, free: 5.098 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.245e-05/0.3653, allocations: 0 / 0.7636 GB, free: 5.098 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006342/0.366, allocations: 55.91 kB / 0.7637 GB, free: 5.043 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003919/0.3664, allocations: 48.89 kB / 0.7637 GB, free: 4.992 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.482e-05/0.3665, allocations: 8 kB / 0.7637 GB, free: 4.984 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007152/0.3672, allocations: 0.5562 MB / 0.7642 GB, free: 4.402 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.678e-06/0.3672, allocations: 4.031 kB / 0.7643 GB, free: 4.398 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002264/0.3695, allocations: 0.5524 MB / 0.7648 GB, free: 3.789 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00046/0.37, allocations: 164.3 kB / 0.7649 GB, free: 3.609 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001455/0.3702, allocations: 8 kB / 0.765 GB, free: 3.602 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/0.3712, allocations: 39.95 kB / 0.765 GB, free: 3.562 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001545/0.3714, allocations: 23.97 kB / 0.765 GB, free: 3.539 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.298e-05/0.3715, allocations: 15.95 kB / 0.765 GB, free: 3.523 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0008883/0.3724, allocations: 322.8 kB / 0.7653 GB, free: 3.211 MB / 0.5886 GB Notification: Performance of sort global known variables: time 9.52e-07/0.3725, allocations: 0 / 0.7653 GB, free: 3.211 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001717/0.3742, allocations: 247.5 kB / 0.7656 GB, free: 2.969 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * 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 (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00366/0.3779, allocations: 1.512 MB / 0.7671 GB, free: 1.41 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.003082/0.381, allocations: 495.5 kB / 0.7675 GB, free: 0.9258 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.019e-05/0.3811, allocations: 0 / 0.7675 GB, free: 0.9258 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001121/0.3822, allocations: 177.9 kB / 0.7677 GB, free: 0.7539 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003571/0.3859, allocations: 253.3 kB / 0.7679 GB, free: 0.5117 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004863/0.3908, allocations: 1.624 MB / 0.7695 GB, free: 14.8 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007737/0.3916, allocations: 0.8746 MB / 0.7704 GB, free: 13.9 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001197/0.3929, allocations: 116.2 kB / 0.7705 GB, free: 13.79 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005631/0.3935, allocations: 175.4 kB / 0.7707 GB, free: 13.62 MB / 0.6042 GB Notification: Performance of SimCode: time 1.994e-06/0.3935, allocations: 0 / 0.7707 GB, free: 13.62 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06578/0.4593, allocations: 14.16 MB / 0.7845 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003672/0.4597, allocations: 260.6 kB / 0.7847 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.121/3.581, allocations: 0 / 0.7847 GB, free: 15.39 MB / 0.6198 GB