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.TwoWayValvesMotor.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.TwoWayValvesMotor,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesMotor",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.01148/0.01148, allocations: 107.8 kB / 15.05 MB, free: 5.93 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.001239/0.001239, allocations: 188.2 kB / 15.95 MB, free: 5.895 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 1.946/1.946, allocations: 194.6 MB / 211.2 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.294/2.294, allocations: 236.1 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004782/0.0004782, allocations: 12 kB / 0.587 GB, free: 2.086 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6988/0.6993, allocations: 98.72 MB / 0.6834 GB, free: 16.81 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.177/1.877, allocations: 386.2 MB / 1.061 GB, free: 62.42 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003053/1.877, allocations: 110.5 kB / 1.061 GB, free: 62.36 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.562/3.439, allocations: 291.2 MB / 1.345 GB, free: 205 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.445e-06/3.439, allocations: 4 kB / 1.345 GB, free: 205 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001271/3.439, allocations: 34.52 kB / 1.345 GB, free: 204.9 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.004782/3.444, allocations: 1.386 MB / 1.346 GB, free: 203.5 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/3.444, allocations: 8.031 kB / 1.346 GB, free: 203.5 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003994/3.445, allocations: 98.52 kB / 1.347 GB, free: 203.4 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004326/3.445, allocations: 114.7 kB / 1.347 GB, free: 203.3 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002623/3.448, allocations: 0.6525 MB / 1.347 GB, free: 202.6 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.259e-05/3.448, allocations: 53.12 kB / 1.347 GB, free: 202.5 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002209/3.448, allocations: 67.94 kB / 1.347 GB, free: 202.5 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001707/3.45, allocations: 0.6601 MB / 1.348 GB, free: 201.8 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.608e-05/3.45, allocations: 3.938 kB / 1.348 GB, free: 201.8 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.662e-05/3.45, allocations: 24 kB / 1.348 GB, free: 201.8 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/3.45, allocations: 12 kB / 1.348 GB, free: 201.7 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001277/3.451, allocations: 448 kB / 1.349 GB, free: 201.3 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.005343/3.457, allocations: 2.394 MB / 1.351 GB, free: 198.8 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/3.458, allocations: 383.7 kB / 1.351 GB, free: 198.4 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003264/3.458, allocations: 343.8 kB / 1.352 GB, free: 198 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008217/3.459, allocations: 346.8 kB / 1.352 GB, free: 197.6 MB / 0.823 GB Notification: Performance of pre-optimization done (n=35): time 3.136e-06/3.459, allocations: 0 / 1.352 GB, free: 197.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=35): time 0.002434/3.462, allocations: 0.7728 MB / 1.353 GB, free: 196.8 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.079e-05/3.462, allocations: 243.5 kB / 1.353 GB, free: 196.6 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001282/3.463, allocations: 0.7088 MB / 1.354 GB, free: 195.8 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001459/3.463, allocations: 45.77 kB / 1.354 GB, free: 195.8 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003753/3.464, allocations: 431 kB / 1.354 GB, free: 195.3 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001254/3.464, allocations: 115.5 kB / 1.354 GB, free: 195.2 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.578e-05/3.464, allocations: 12 kB / 1.354 GB, free: 195.2 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.535e-05/3.464, allocations: 322 kB / 1.354 GB, free: 194.9 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007071/3.465, allocations: 221 kB / 1.355 GB, free: 194.7 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001018/3.466, allocations: 402.5 kB / 1.355 GB, free: 194.2 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007442/3.466, allocations: 279.7 kB / 1.355 GB, free: 193.9 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.341e-06/3.466, allocations: 0 / 1.355 GB, free: 193.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002465/3.469, allocations: 0.7057 MB / 1.356 GB, free: 193.2 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002136/3.469, allocations: 0.9119 MB / 1.357 GB, free: 192.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/3.469, allocations: 0 / 1.357 GB, free: 192.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.831e-05/3.469, allocations: 11.95 kB / 1.357 GB, free: 192.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00163/3.471, allocations: 151.7 kB / 1.357 GB, free: 192.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00101/3.472, allocations: 1.774 MB / 1.359 GB, free: 190.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001492/3.473, allocations: 139.4 kB / 1.359 GB, free: 190.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/3.474, allocations: 28 kB / 1.359 GB, free: 190.1 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/3.474, allocations: 4 kB / 1.359 GB, free: 190.1 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001774/3.475, allocations: 0.6116 MB / 1.36 GB, free: 189.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/3.475, allocations: 7.984 kB / 1.36 GB, free: 189.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/3.475, allocations: 4 kB / 1.36 GB, free: 189.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000937/3.476, allocations: 136.1 kB / 1.36 GB, free: 189.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/3.476, allocations: 7.938 kB / 1.36 GB, free: 189.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001311/3.478, allocations: 119.4 kB / 1.36 GB, free: 189.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.768e-05/3.478, allocations: 31.98 kB / 1.36 GB, free: 189.2 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,ySet.a,ySet.b,ySet.last,$PRE.ySet.nextEvent,ySet.nextEvent,ySet.nextEventScaled,$PRE.mot.uppHys.y,mot.uppHys.y,$PRE.mot.lowHys.y,mot.lowHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006115/3.479, allocations: 338.7 kB / 1.36 GB, free: 188.8 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001987/3.479, allocations: 98.81 kB / 1.36 GB, free: 188.7 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001923/3.481, allocations: 0.6015 MB / 1.361 GB, free: 188.1 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/3.481, allocations: 4 kB / 1.361 GB, free: 188.1 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/3.481, allocations: 0 / 1.361 GB, free: 188.1 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/3.481, allocations: 3.953 kB / 1.361 GB, free: 188.1 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00305/3.484, allocations: 1.264 MB / 1.362 GB, free: 186.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/3.484, allocations: 0 / 1.362 GB, free: 186.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007085/3.485, allocations: 87.7 kB / 1.362 GB, free: 186.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.556e-06/3.485, allocations: 4 kB / 1.362 GB, free: 186.7 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.553e-05/3.485, allocations: 15.94 kB / 1.362 GB, free: 186.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000716/3.485, allocations: 1.762 MB / 1.364 GB, free: 184.8 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/3.485, allocations: 0 / 1.364 GB, free: 184.8 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002329/3.488, allocations: 0.8794 MB / 1.365 GB, free: 183.9 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005371/3.488, allocations: 219.9 kB / 1.365 GB, free: 183.7 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002215/3.489, allocations: 20.06 kB / 1.365 GB, free: 183.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001049/3.49, allocations: 79.81 kB / 1.365 GB, free: 183.6 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001578/3.49, allocations: 39.92 kB / 1.365 GB, free: 183.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.035e-05/3.49, allocations: 20 kB / 1.365 GB, free: 183.5 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001032/3.491, allocations: 0.5781 MB / 1.366 GB, free: 182.9 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.5e-07/3.491, allocations: 0 / 1.366 GB, free: 182.9 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002011/3.493, allocations: 495.3 kB / 1.366 GB, free: 182.5 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (mot.int.y) * Number of discrete variables: 8 ($whenCondition1,ySet.a,ySet.b,ySet.last,ySet.nextEvent,ySet.nextEventScaled,mot.uppHys.y,mot.lowHys.y) * Number of discrete states: 8 (ySet.nextEvent,ySet.last,ySet.nextEventScaled,ySet.b,ySet.a,$whenCondition1,mot.lowHys.y,mot.uppHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003349/3.496, allocations: 1.736 MB / 1.368 GB, free: 180.7 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.003261/3.5, allocations: 0.9626 MB / 1.369 GB, free: 179.8 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/3.5, allocations: 0 / 1.369 GB, free: 179.8 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008663/3.501, allocations: 307.1 kB / 1.369 GB, free: 179.4 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003382/3.504, allocations: 365 kB / 1.369 GB, free: 179.1 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005483/3.51, allocations: 3.463 MB / 1.373 GB, free: 175.5 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004921/3.51, allocations: 1.005 MB / 1.374 GB, free: 174.5 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001101/3.511, allocations: 144.3 kB / 1.374 GB, free: 174.4 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006504/3.512, allocations: 319.3 kB / 1.374 GB, free: 174 MB / 0.823 GB Notification: Performance of SimCode: time 1.433e-06/3.512, allocations: 4 kB / 1.374 GB, free: 174 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07311/3.585, allocations: 24.91 MB / 1.399 GB, free: 149.5 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00032/3.585, allocations: 267.3 kB / 1.399 GB, free: 149.1 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.875/7.46, allocations: 0 / 1.399 GB, free: 149.1 MB / 0.823 GB