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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.542/4.542, allocations: 433.2 MB / 440.7 MB, free: 4.562 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.992e-05/3.001e-05, allocations: 4.5 kB / 0.5325 GB, free: 12.73 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2463/0.2464, allocations: 98.73 MB / 0.6289 GB, free: 9.113 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.182/1.429, allocations: 384.1 MB / 1.004 GB, free: 0.9141 MB / 0.7449 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003709/1.429, allocations: 96.12 kB / 1.004 GB, free: 0.8633 MB / 0.7449 GB Notification: Performance of FrontEnd - DAE generated: time 1.814/3.243, allocations: 345.8 MB / 1.342 GB, free: 80.29 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.873e-06/3.243, allocations: 0 / 1.342 GB, free: 80.29 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001112/3.244, allocations: 31.98 kB / 1.342 GB, free: 80.26 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.002841/3.246, allocations: 1.142 MB / 1.343 GB, free: 79.07 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.308e-05/3.247, allocations: 12.03 kB / 1.343 GB, free: 79.06 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005375/3.247, allocations: 122.7 kB / 1.343 GB, free: 78.94 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002037/3.249, allocations: 0.6649 MB / 1.344 GB, free: 78.23 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.984e-05/3.249, allocations: 16 kB / 1.344 GB, free: 78.21 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001837/3.249, allocations: 56 kB / 1.344 GB, free: 78.16 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000873/3.25, allocations: 322.5 kB / 1.344 GB, free: 77.84 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009911/3.251, allocations: 444.5 kB / 1.344 GB, free: 77.38 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/3.251, allocations: 0 / 1.344 GB, free: 77.38 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.853e-05/3.251, allocations: 4 kB / 1.344 GB, free: 77.38 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.623e-05/3.251, allocations: 12 kB / 1.344 GB, free: 77.37 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.005638/3.257, allocations: 2.349 MB / 1.347 GB, free: 74.89 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000809/3.258, allocations: 271.4 kB / 1.347 GB, free: 74.62 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002406/3.258, allocations: 101.3 kB / 1.347 GB, free: 74.52 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003116/3.258, allocations: 340.6 kB / 1.347 GB, free: 74.11 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/3.259, allocations: 38.8 kB / 1.348 GB, free: 74.06 MB / 0.823 GB Notification: Performance of pre-optimization done (n=27): time 2.966e-06/3.259, allocations: 0 / 1.348 GB, free: 74.06 MB / 0.823 GB Notification: Performance of matching and sorting (n=27): time 0.002015/3.261, allocations: 407 kB / 1.348 GB, free: 73.66 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.6e-05/3.261, allocations: 51.41 kB / 1.348 GB, free: 73.6 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008937/3.262, allocations: 0.543 MB / 1.348 GB, free: 73.05 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002113/3.262, allocations: 33.7 kB / 1.349 GB, free: 73.02 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004053/3.262, allocations: 434.5 kB / 1.349 GB, free: 72.58 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 8.925e-05/3.262, allocations: 86.66 kB / 1.349 GB, free: 72.5 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.333e-05/3.262, allocations: 4.438 kB / 1.349 GB, free: 72.49 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001211/3.262, allocations: 374.8 kB / 1.349 GB, free: 72.12 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003409/3.263, allocations: 129.1 kB / 1.349 GB, free: 71.99 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009189/3.264, allocations: 0.7378 MB / 1.35 GB, free: 71.03 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001331/3.265, allocations: 298.1 kB / 1.35 GB, free: 70.74 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/3.265, allocations: 0 / 1.35 GB, free: 70.74 MB / 0.823 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002069/3.267, allocations: 0.5535 MB / 1.351 GB, free: 70.18 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001897/3.267, allocations: 0.7939 MB / 1.352 GB, free: 69.33 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/3.267, allocations: 0 / 1.352 GB, free: 69.33 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.584e-05/3.267, allocations: 8 kB / 1.352 GB, free: 69.32 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002014/3.269, allocations: 175.7 kB / 1.352 GB, free: 69.15 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001398/3.271, allocations: 2.387 MB / 1.354 GB, free: 66.67 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003201/3.274, allocations: 371.9 kB / 1.355 GB, free: 66.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001455/3.274, allocations: 23.98 kB / 1.355 GB, free: 66.28 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/3.274, allocations: 6.344 kB / 1.355 GB, free: 66.28 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001685/3.276, allocations: 414.3 kB / 1.355 GB, free: 65.87 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/3.276, allocations: 8.031 kB / 1.355 GB, free: 65.86 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/3.276, allocations: 4 kB / 1.355 GB, free: 65.86 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/3.277, allocations: 135.8 kB / 1.355 GB, free: 65.73 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/3.277, allocations: 4 kB / 1.355 GB, free: 65.72 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003091/3.28, allocations: 355.8 kB / 1.356 GB, free: 65.38 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001227/3.28, allocations: 27.95 kB / 1.356 GB, free: 65.35 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 (60): * Single equations (assignments): 56 * 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.0002843/3.281, allocations: 126.1 kB / 1.356 GB, free: 65.21 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001587/3.282, allocations: 360.6 kB / 1.356 GB, free: 64.86 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/3.282, allocations: 71.14 kB / 1.356 GB, free: 64.79 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001778/3.284, allocations: 460.2 kB / 1.357 GB, free: 64.33 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/3.284, allocations: 4 kB / 1.357 GB, free: 64.32 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/3.284, allocations: 3.953 kB / 1.357 GB, free: 64.32 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/3.284, allocations: 3.938 kB / 1.357 GB, free: 64.32 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002814/3.287, allocations: 1.027 MB / 1.358 GB, free: 63.24 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.694e-06/3.287, allocations: 0 / 1.358 GB, free: 63.24 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007757/3.288, allocations: 99.81 kB / 1.358 GB, free: 63.14 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.578e-06/3.288, allocations: 3.953 kB / 1.358 GB, free: 63.14 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.826e-05/3.288, allocations: 4 kB / 1.358 GB, free: 63.13 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009114/3.289, allocations: 2.356 MB / 1.36 GB, free: 60.68 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/3.289, allocations: 288 / 1.36 GB, free: 60.68 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001641/3.291, allocations: 0.5462 MB / 1.361 GB, free: 60.1 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004228/3.291, allocations: 188 kB / 1.361 GB, free: 59.9 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/3.291, allocations: 3.938 kB / 1.361 GB, free: 59.89 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009042/3.292, allocations: 63.86 kB / 1.361 GB, free: 59.83 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.757e-05/3.292, allocations: 23.92 kB / 1.361 GB, free: 59.81 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.334e-05/3.292, allocations: 12 kB / 1.361 GB, free: 59.8 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0006502/3.293, allocations: 411.1 kB / 1.361 GB, free: 59.4 MB / 0.823 GB Notification: Performance of sort global known variables: time 5.31e-07/3.293, allocations: 0 / 1.361 GB, free: 59.4 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002031/3.295, allocations: 487.1 kB / 1.362 GB, free: 58.93 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.002919/3.298, allocations: 1.582 MB / 1.363 GB, free: 57.3 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002661/3.301, allocations: 0.5977 MB / 1.364 GB, free: 56.7 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/3.301, allocations: 0 / 1.364 GB, free: 56.7 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006314/3.301, allocations: 155.8 kB / 1.364 GB, free: 56.55 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003247/3.305, allocations: 351.5 kB / 1.364 GB, free: 56.21 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003429/3.308, allocations: 1.02 MB / 1.365 GB, free: 55.14 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000446/3.309, allocations: 0.9715 MB / 1.366 GB, free: 54.14 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001529/3.31, allocations: 185.1 kB / 1.366 GB, free: 53.95 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004744/3.311, allocations: 291.3 kB / 1.367 GB, free: 53.67 MB / 0.823 GB Notification: Performance of SimCode: time 1.402e-06/3.311, allocations: 0 / 1.367 GB, free: 53.67 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08548/3.396, allocations: 24.67 MB / 1.391 GB, free: 29.24 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002422/3.396, allocations: 178 kB / 1.391 GB, free: 29.04 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.804/7.2, allocations: 0 / 1.391 GB, free: 29.04 MB / 0.823 GB