Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValves",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.054/4.054, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.197e-05/4.216e-05, allocations: 4.625 kB / 0.5383 GB, free: 10.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2583/0.2584, allocations: 98.73 MB / 0.6347 GB, free: 1.883 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.279/1.538, allocations: 384.7 MB / 1.01 GB, free: 5.602 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003306/1.538, allocations: 94.38 kB / 1.011 GB, free: 5.551 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.777/3.315, allocations: 348.7 MB / 1.351 GB, free: 63.62 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.515e-06/3.315, allocations: 3.938 kB / 1.351 GB, free: 63.61 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001057/3.315, allocations: 31.98 kB / 1.351 GB, free: 63.58 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.002803/3.318, allocations: 1.151 MB / 1.352 GB, free: 62.39 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.57e-05/3.318, allocations: 8.031 kB / 1.352 GB, free: 62.38 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001484/3.318, allocations: 94.52 kB / 1.352 GB, free: 62.28 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000404/3.319, allocations: 114.8 kB / 1.352 GB, free: 62.16 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001965/3.321, allocations: 0.6646 MB / 1.353 GB, free: 61.46 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.468e-05/3.321, allocations: 57 kB / 1.353 GB, free: 61.4 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001963/3.321, allocations: 80 kB / 1.353 GB, free: 61.32 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001152/3.322, allocations: 0.514 MB / 1.354 GB, free: 60.79 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/3.322, allocations: 0 / 1.354 GB, free: 60.79 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.469e-05/3.322, allocations: 16 kB / 1.354 GB, free: 60.77 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.478e-05/3.322, allocations: 12 kB / 1.354 GB, free: 60.76 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009113/3.323, allocations: 339.8 kB / 1.354 GB, free: 60.42 MB / 0.823 GB Warning: The model contains alias variables with conflicting start and/or 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.005852/3.329, allocations: 2.478 MB / 1.356 GB, free: 57.81 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008342/3.33, allocations: 269.5 kB / 1.357 GB, free: 57.54 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000257/3.33, allocations: 101.3 kB / 1.357 GB, free: 57.43 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003309/3.331, allocations: 344.6 kB / 1.357 GB, free: 57.02 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/3.331, allocations: 38.91 kB / 1.357 GB, free: 56.98 MB / 0.823 GB Notification: Performance of pre-optimization done (n=27): time 3.046e-06/3.331, allocations: 3.938 kB / 1.357 GB, free: 56.97 MB / 0.823 GB Notification: Performance of matching and sorting (n=27): time 0.001136/3.332, allocations: 318.8 kB / 1.357 GB, free: 56.66 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.061e-05/3.332, allocations: 55.41 kB / 1.358 GB, free: 56.59 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/3.333, allocations: 0.6491 MB / 1.358 GB, free: 55.93 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002625/3.333, allocations: 45.7 kB / 1.358 GB, free: 55.88 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004149/3.334, allocations: 442.6 kB / 1.359 GB, free: 55.44 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 9.396e-05/3.334, allocations: 86.66 kB / 1.359 GB, free: 55.35 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.601e-05/3.334, allocations: 12 kB / 1.359 GB, free: 55.34 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.696e-05/3.334, allocations: 326 kB / 1.359 GB, free: 55.02 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003733/3.334, allocations: 129.1 kB / 1.359 GB, free: 54.89 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001115/3.335, allocations: 0.7702 MB / 1.36 GB, free: 53.89 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004973/3.336, allocations: 208.3 kB / 1.36 GB, free: 53.69 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/3.336, allocations: 0 / 1.36 GB, free: 53.69 MB / 0.823 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001461/3.337, allocations: 0.5066 MB / 1.361 GB, free: 53.18 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001947/3.338, allocations: 0.7939 MB / 1.361 GB, free: 52.32 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/3.338, allocations: 3.984 kB / 1.361 GB, free: 52.31 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.777e-05/3.338, allocations: 8 kB / 1.361 GB, free: 52.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001976/3.34, allocations: 171.7 kB / 1.362 GB, free: 52.14 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001376/3.341, allocations: 2.364 MB / 1.364 GB, free: 49.68 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003508/3.345, allocations: 395.6 kB / 1.364 GB, free: 49.29 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001997/3.345, allocations: 27.98 kB / 1.364 GB, free: 49.27 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/3.345, allocations: 4 kB / 1.364 GB, free: 49.26 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001042/3.346, allocations: 382.1 kB / 1.365 GB, free: 48.89 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/3.346, allocations: 4 kB / 1.365 GB, free: 48.88 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/3.346, allocations: 4 kB / 1.365 GB, free: 48.88 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/3.347, allocations: 140 kB / 1.365 GB, free: 48.74 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/3.347, allocations: 7.938 kB / 1.365 GB, free: 48.73 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003277/3.35, allocations: 383.6 kB / 1.365 GB, free: 48.36 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001836/3.351, allocations: 23.98 kB / 1.365 GB, free: 48.34 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003651/3.351, allocations: 149.4 kB / 1.365 GB, free: 48.18 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002811/3.351, allocations: 82.97 kB / 1.365 GB, free: 48.1 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001162/3.353, allocations: 404.6 kB / 1.366 GB, free: 47.7 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-05/3.353, allocations: 8 kB / 1.366 GB, free: 47.69 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/3.353, allocations: 7.938 kB / 1.366 GB, free: 47.68 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/3.353, allocations: 3.953 kB / 1.366 GB, free: 47.68 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002378/3.355, allocations: 1.015 MB / 1.367 GB, free: 46.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.846e-06/3.355, allocations: 0 / 1.367 GB, free: 46.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008111/3.356, allocations: 99.86 kB / 1.367 GB, free: 46.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.807e-06/3.356, allocations: 64 / 1.367 GB, free: 46.5 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.513e-05/3.356, allocations: 15.95 kB / 1.367 GB, free: 46.48 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009717/3.357, allocations: 2.356 MB / 1.369 GB, free: 44.04 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.668e-06/3.357, allocations: 4.219 kB / 1.369 GB, free: 44.03 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009528/3.358, allocations: 479.6 kB / 1.37 GB, free: 43.53 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004357/3.358, allocations: 199.9 kB / 1.37 GB, free: 43.31 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001397/3.359, allocations: 8 kB / 1.37 GB, free: 43.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001057/3.36, allocations: 67.86 kB / 1.37 GB, free: 43.24 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/3.36, allocations: 19.92 kB / 1.37 GB, free: 43.22 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.856e-05/3.36, allocations: 16 kB / 1.37 GB, free: 43.2 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.000896/3.361, allocations: 0.4913 MB / 1.37 GB, free: 42.72 MB / 0.823 GB Notification: Performance of sort global known variables: time 5.01e-07/3.361, allocations: 4 kB / 1.37 GB, free: 42.71 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002283/3.363, allocations: 0.4954 MB / 1.371 GB, free: 42.22 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002335/3.365, allocations: 1.53 MB / 1.372 GB, free: 40.66 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.00276/3.368, allocations: 0.6152 MB / 1.373 GB, free: 40.04 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/3.368, allocations: 4.75 kB / 1.373 GB, free: 40.03 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006437/3.369, allocations: 179.9 kB / 1.373 GB, free: 39.86 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003832/3.373, allocations: 415.1 kB / 1.374 GB, free: 39.45 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003188/3.376, allocations: 1.072 MB / 1.375 GB, free: 38.33 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004283/3.376, allocations: 0.9759 MB / 1.376 GB, free: 37.32 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001496/3.378, allocations: 209.8 kB / 1.376 GB, free: 37.12 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004524/3.378, allocations: 287.3 kB / 1.376 GB, free: 36.84 MB / 0.823 GB Notification: Performance of SimCode: time 1.102e-06/3.378, allocations: 0 / 1.376 GB, free: 36.84 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1058/3.484, allocations: 29.85 MB / 1.405 GB, free: 7.379 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002485/3.485, allocations: 224.5 kB / 1.405 GB, free: 7.133 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.169/7.654, allocations: 0 / 1.405 GB, free: 7.133 MB / 0.823 GB