Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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.Actuators.Valves.Examples.TwoWayValvePressureIndependent,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent",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.01433/0.01433, allocations: 90.02 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.001953/0.001953, allocations: 169.4 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.358/2.358, 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.444/2.444, allocations: 252.8 MB / 0.511 GB, free: 8.34 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004868/0.0004869, allocations: 11.41 kB / 0.6243 GB, free: 21.09 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2257/0.2263, allocations: 106.2 MB / 0.7281 GB, free: 8.141 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.02746/0.2538, allocations: 16.53 MB / 0.7442 GB, free: 7.555 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.01657/0.2704, allocations: 7.302 MB / 0.7513 GB, free: 248 kB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001052/0.2715, allocations: 19.81 kB / 0.7514 GB, free: 228 kB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.001707/0.2732, allocations: 378.2 kB / 0.7517 GB, free: 15.85 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.003611/0.2769, allocations: 0.7945 MB / 0.7525 GB, free: 15.05 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.009377/0.2863, allocations: 2.141 MB / 0.7546 GB, free: 12.92 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.002949/0.2892, allocations: 0.9387 MB / 0.7555 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001153/0.2904, allocations: 415.2 kB / 0.7559 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001688/0.2922, allocations: 0.5022 MB / 0.7564 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008587/0.2931, allocations: 398.3 kB / 0.7568 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0001152/0.2932, allocations: 28 kB / 0.7568 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001899/0.2951, allocations: 0.6357 MB / 0.7574 GB, free: 9.996 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0002197/0.2953, allocations: 123.5 kB / 0.7575 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0002285/0.2956, allocations: 153.3 kB / 0.7577 GB, free: 9.719 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.001487/0.2971, allocations: 0.7482 MB / 0.7584 GB, free: 8.969 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2971, allocations: 3.938 kB / 0.7584 GB, free: 8.965 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.104e-06/0.2971, allocations: 0 / 0.7584 GB, free: 8.965 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 9.909e-06/0.2971, allocations: 0 / 0.7584 GB, free: 8.965 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.00275/0.2999, allocations: 0.9889 MB / 0.7594 GB, free: 7.922 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.3, allocations: 8.031 kB / 0.7594 GB, free: 7.914 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001499/0.3001, allocations: 86.52 kB / 0.7595 GB, free: 7.82 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001909/0.3003, allocations: 82.97 kB / 0.7596 GB, free: 7.738 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001067/0.3014, allocations: 482.7 kB / 0.76 GB, free: 7.227 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.807e-05/0.3015, allocations: 37 kB / 0.76 GB, free: 7.191 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000118/0.3016, allocations: 51.95 kB / 0.7601 GB, free: 7.141 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001768/0.3034, allocations: 0.6255 MB / 0.7607 GB, free: 6.449 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.701e-05/0.3034, allocations: 11.94 kB / 0.7607 GB, free: 6.438 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.1e-05/0.3035, allocations: 20 kB / 0.7607 GB, free: 6.418 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.949e-05/0.3035, allocations: 12 kB / 0.7608 GB, free: 6.406 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001929/0.3055, allocations: 0.5112 MB / 0.7613 GB, free: 5.895 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.005454/0.3109, allocations: 3.197 MB / 0.7644 GB, free: 2.504 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001198/0.3122, allocations: 362.7 kB / 0.7647 GB, free: 2.141 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004411/0.3126, allocations: 344.4 kB / 0.765 GB, free: 1.73 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.3127, allocations: 38.55 kB / 0.7651 GB, free: 1.684 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=38): time 2.896e-06/0.3127, allocations: 0 / 0.7651 GB, free: 1.684 MB / 0.5886 GB Notification: Performance of matching and sorting (n=38): time 0.003761/0.3164, allocations: 0.8694 MB / 0.7659 GB, free: 0.7852 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/0.3165, allocations: 55.41 kB / 0.766 GB, free: 0.7188 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009837/0.3175, allocations: 0.5744 MB / 0.7665 GB, free: 140 kB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 6.9e-05/0.3176, allocations: 33.7 kB / 0.7666 GB, free: 100 kB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003535/0.318, allocations: 332.4 kB / 0.7669 GB, free: 15.77 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001542/0.3181, allocations: 134 kB / 0.767 GB, free: 15.64 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.775e-05/0.3182, allocations: 12 kB / 0.767 GB, free: 15.62 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001847/0.3184, allocations: 370.8 kB / 0.7674 GB, free: 15.25 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008711/0.3193, allocations: 217.2 kB / 0.7676 GB, free: 15.04 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001044/0.3203, allocations: 376 kB / 0.768 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009707/0.3213, allocations: 252.7 kB / 0.7682 GB, free: 14.37 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.575e-06/0.3213, allocations: 4 kB / 0.7682 GB, free: 14.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002555/0.3239, allocations: 0.7263 MB / 0.7689 GB, free: 13.62 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007089/0.3246, allocations: 1.744 MB / 0.7706 GB, free: 11.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/0.3247, allocations: 4 kB / 0.7706 GB, free: 11.74 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009803/0.3257, allocations: 144.7 kB / 0.7708 GB, free: 11.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001277/0.3269, allocations: 159.8 kB / 0.7709 GB, free: 11.44 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001021/0.328, allocations: 0.6303 MB / 0.7715 GB, free: 10.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001071/0.3291, allocations: 107.5 kB / 0.7716 GB, free: 10.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/0.3292, allocations: 31.98 kB / 0.7717 GB, free: 10.65 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.3292, allocations: 7.594 kB / 0.7717 GB, free: 10.64 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002194/0.3314, allocations: 0.6194 MB / 0.7723 GB, free: 10.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.3315, allocations: 16.03 kB / 0.7723 GB, free: 10.01 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.3315, allocations: 8 kB / 0.7723 GB, free: 10 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001163/0.3327, allocations: 155.8 kB / 0.7724 GB, free: 9.848 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.589e-05/0.3327, allocations: 11.98 kB / 0.7724 GB, free: 9.836 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009847/0.3337, allocations: 91.48 kB / 0.7725 GB, free: 9.746 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.018e-05/0.3338, allocations: 35.92 kB / 0.7726 GB, free: 9.711 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (70): * Single equations (assignments): 69 * 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.000429/0.3342, allocations: 276.2 kB / 0.7728 GB, free: 9.434 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001543/0.3344, allocations: 71.09 kB / 0.7729 GB, free: 9.363 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002516/0.3369, allocations: 0.6629 MB / 0.7735 GB, free: 8.688 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.549e-05/0.337, allocations: 4 kB / 0.7736 GB, free: 8.684 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.337, allocations: 0 / 0.7736 GB, free: 8.684 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/0.337, allocations: 3.984 kB / 0.7736 GB, free: 8.68 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004104/0.3411, allocations: 1.416 MB / 0.7749 GB, free: 7.188 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.096e-06/0.3412, allocations: 0 / 0.7749 GB, free: 7.188 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000699/0.3419, allocations: 91.88 kB / 0.775 GB, free: 7.098 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007148/0.3426, allocations: 124.8 kB / 0.7751 GB, free: 6.973 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.995e-05/0.3427, allocations: 19.98 kB / 0.7752 GB, free: 6.953 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009881/0.3437, allocations: 0.6344 MB / 0.7758 GB, free: 6.293 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/0.3437, allocations: 7.969 kB / 0.7758 GB, free: 6.285 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002341/0.346, allocations: 0.7529 MB / 0.7765 GB, free: 5.484 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004052/0.3465, allocations: 208 kB / 0.7767 GB, free: 5.262 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/0.3466, allocations: 4 kB / 0.7767 GB, free: 5.258 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008311/0.3474, allocations: 63.8 kB / 0.7768 GB, free: 5.195 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/0.3476, allocations: 31.95 kB / 0.7768 GB, free: 5.164 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.648e-05/0.3477, allocations: 19.98 kB / 0.7768 GB, free: 5.145 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0007114/0.3484, allocations: 391.1 kB / 0.7772 GB, free: 4.77 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.31e-07/0.3484, allocations: 0 / 0.7772 GB, free: 4.77 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001626/0.35, allocations: 379.4 kB / 0.7776 GB, free: 4.398 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.003635/0.3537, allocations: 1.703 MB / 0.7792 GB, free: 2.652 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003519/0.3572, allocations: 0.9097 MB / 0.7801 GB, free: 1.742 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.742e-06/0.3573, allocations: 4 kB / 0.7801 GB, free: 1.738 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001249/0.3585, allocations: 299.8 kB / 0.7804 GB, free: 1.445 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002475/0.361, allocations: 258.6 kB / 0.7807 GB, free: 1.191 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00471/0.3658, allocations: 4.631 MB / 0.7852 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005788/0.3664, allocations: 0.9272 MB / 0.7861 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001081/0.3675, allocations: 157.4 kB / 0.7862 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005342/0.368, allocations: 247.3 kB / 0.7865 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of SimCode: time 1.182e-06/0.3681, allocations: 0 / 0.7865 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05823/0.4263, allocations: 17.49 MB / 0.8036 GB, free: 9.859 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002519/0.4266, allocations: 282.2 kB / 0.8038 GB, free: 9.5 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.372/3.799, allocations: 0 / 0.8038 GB, free: 9.5 MB / 0.6355 GB