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 Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01115/0.01115, allocations: 106.2 kB / 15.05 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001209/0.001209, allocations: 183.8 kB / 15.94 MB, free: 5.941 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.016/2.016, allocations: 194.6 MB / 211.3 MB, free: 11.07 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.275/2.275, allocations: 236.2 MB / 492.6 MB, free: 11.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004818/0.0004821, allocations: 12 kB / 0.587 GB, free: 2.078 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7278/0.7283, allocations: 98.72 MB / 0.6834 GB, free: 16.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.243/1.971, allocations: 384.8 MB / 1.059 GB, free: 63.54 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003573/1.972, allocations: 106.1 kB / 1.059 GB, free: 63.48 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.751/3.723, allocations: 349.7 MB / 1.401 GB, free: 147.2 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.775e-06/3.723, allocations: 0 / 1.401 GB, free: 147.2 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001014/3.723, allocations: 27.98 kB / 1.401 GB, free: 147.2 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.00356/3.726, allocations: 1.305 MB / 1.402 GB, free: 145.9 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/3.726, allocations: 8.031 kB / 1.402 GB, free: 145.8 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002159/3.727, allocations: 90.52 kB / 1.402 GB, free: 145.7 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004219/3.727, allocations: 114.8 kB / 1.402 GB, free: 145.6 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002131/3.729, allocations: 0.6803 MB / 1.403 GB, free: 144.9 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6e-05/3.729, allocations: 57 kB / 1.403 GB, free: 144.9 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001917/3.73, allocations: 84 kB / 1.403 GB, free: 144.8 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001281/3.731, allocations: 0.5413 MB / 1.404 GB, free: 144.2 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.525e-05/3.731, allocations: 7.984 kB / 1.404 GB, free: 144.2 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.571e-05/3.731, allocations: 20 kB / 1.404 GB, free: 144.2 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.472e-05/3.731, allocations: 12 kB / 1.404 GB, free: 144.2 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001158/3.732, allocations: 387.7 kB / 1.404 GB, free: 143.8 MB / 0.823 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.005713/3.738, allocations: 2.483 MB / 1.406 GB, free: 141.2 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009792/3.739, allocations: 283.7 kB / 1.407 GB, free: 140.9 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003231/3.739, allocations: 340.6 kB / 1.407 GB, free: 140.5 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/3.739, allocations: 50.67 kB / 1.407 GB, free: 140.4 MB / 0.823 GB Notification: Performance of pre-optimization done (n=27): time 2.785e-06/3.739, allocations: 0 / 1.407 GB, free: 140.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=27): time 0.00185/3.741, allocations: 463.8 kB / 1.408 GB, free: 140 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/3.741, allocations: 51.41 kB / 1.408 GB, free: 139.9 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/3.742, allocations: 0.6489 MB / 1.408 GB, free: 139.2 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002328/3.743, allocations: 49.7 kB / 1.408 GB, free: 139.2 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004156/3.743, allocations: 432.5 kB / 1.409 GB, free: 138.7 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/3.743, allocations: 102.6 kB / 1.409 GB, free: 138.6 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.511e-05/3.743, allocations: 12 kB / 1.409 GB, free: 138.6 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.07e-05/3.743, allocations: 330.4 kB / 1.409 GB, free: 138.3 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005437/3.744, allocations: 145 kB / 1.409 GB, free: 138.2 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001268/3.745, allocations: 0.793 MB / 1.41 GB, free: 137.1 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006819/3.746, allocations: 233.8 kB / 1.41 GB, free: 136.9 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/3.746, allocations: 7.938 kB / 1.41 GB, free: 136.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001803/3.748, allocations: 0.5457 MB / 1.411 GB, free: 136.4 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001756/3.748, allocations: 0.794 MB / 1.412 GB, free: 135.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/3.748, allocations: 7.984 kB / 1.412 GB, free: 135.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.609e-05/3.748, allocations: 4 kB / 1.412 GB, free: 135.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001847/3.75, allocations: 167.7 kB / 1.412 GB, free: 135.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001258/3.751, allocations: 2.379 MB / 1.414 GB, free: 132.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003226/3.754, allocations: 387.6 kB / 1.414 GB, free: 132.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001454/3.755, allocations: 31.98 kB / 1.414 GB, free: 132.4 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/3.755, allocations: 4 kB / 1.414 GB, free: 132.4 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001354/3.756, allocations: 434.3 kB / 1.415 GB, free: 132 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/3.756, allocations: 0 / 1.415 GB, free: 132 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/3.756, allocations: 4 kB / 1.415 GB, free: 132 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/3.757, allocations: 139.8 kB / 1.415 GB, free: 131.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/3.757, allocations: 4 kB / 1.415 GB, free: 131.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003085/3.76, allocations: 387.7 kB / 1.415 GB, free: 131.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/3.76, allocations: 23.98 kB / 1.415 GB, free: 131.5 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 () * Number of clocked 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.0006148/3.761, allocations: 297.5 kB / 1.416 GB, free: 131.2 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002262/3.761, allocations: 82.97 kB / 1.416 GB, free: 131.1 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001427/3.763, allocations: 440.7 kB / 1.416 GB, free: 130.6 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/3.763, allocations: 4 kB / 1.416 GB, free: 130.6 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/3.763, allocations: 0 / 1.416 GB, free: 130.6 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/3.763, allocations: 7.953 kB / 1.416 GB, free: 130.6 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002557/3.765, allocations: 1.071 MB / 1.417 GB, free: 129.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/3.765, allocations: 4 kB / 1.417 GB, free: 129.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007788/3.766, allocations: 99.8 kB / 1.417 GB, free: 129.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.616e-06/3.766, allocations: 0 / 1.417 GB, free: 129.4 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.065e-05/3.766, allocations: 11.95 kB / 1.417 GB, free: 129.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008988/3.767, allocations: 2.356 MB / 1.42 GB, free: 126.9 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/3.767, allocations: 4.062 kB / 1.42 GB, free: 126.9 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001225/3.768, allocations: 0.5189 MB / 1.42 GB, free: 126.4 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004366/3.769, allocations: 203.9 kB / 1.42 GB, free: 126.2 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000144/3.769, allocations: 4 kB / 1.42 GB, free: 126.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009715/3.77, allocations: 67.77 kB / 1.42 GB, free: 126.1 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.175e-05/3.77, allocations: 27.86 kB / 1.42 GB, free: 126.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.736e-05/3.77, allocations: 16 kB / 1.42 GB, free: 126 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0009014/3.771, allocations: 0.5067 MB / 1.421 GB, free: 125.5 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.61e-07/3.771, allocations: 0 / 1.421 GB, free: 125.5 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002127/3.773, allocations: 0.4954 MB / 1.421 GB, free: 125.1 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 () * Number of clocked 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.00253/3.776, allocations: 1.572 MB / 1.423 GB, free: 123.4 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.003042/3.779, allocations: 0.6828 MB / 1.424 GB, free: 122.8 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 8.306e-06/3.779, allocations: 0 / 1.424 GB, free: 122.8 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008472/3.78, allocations: 187.8 kB / 1.424 GB, free: 122.6 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003755/3.783, allocations: 415.6 kB / 1.424 GB, free: 122.2 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004202/3.788, allocations: 3.132 MB / 1.427 GB, free: 118.9 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000429/3.788, allocations: 0.9785 MB / 1.428 GB, free: 117.9 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.00131/3.789, allocations: 153.9 kB / 1.428 GB, free: 117.8 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005272/3.79, allocations: 295.3 kB / 1.429 GB, free: 117.5 MB / 0.823 GB Notification: Performance of SimCode: time 1.653e-06/3.79, allocations: 0 / 1.429 GB, free: 117.5 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09717/3.887, allocations: 28 MB / 1.456 GB, free: 90 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001477/3.887, allocations: 256.2 kB / 1.456 GB, free: 89.66 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.74/7.627, allocations: 0 / 1.456 GB, free: 89.66 MB / 0.823 GB