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.Validation.TwoWayValveParameterization.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.Validation.TwoWayValveParameterization,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization",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.0103/0.0103, allocations: 88.36 kB / 15.04 MB, free: 6.051 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.001222/0.001222, allocations: 169.7 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.04/2.04, 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.666/2.666, allocations: 252.8 MB / 0.511 GB, free: 8.348 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004797/0.0004797, allocations: 15.88 kB / 0.6243 GB, free: 21.18 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2806/0.2811, allocations: 106.2 MB / 0.7281 GB, free: 8.105 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.06171/0.3429, allocations: 26.1 MB / 0.7536 GB, free: 13.92 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.02806/0.371, allocations: 12.25 MB / 0.7655 GB, free: 1.652 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001529/0.3726, allocations: 31.69 kB / 0.7656 GB, free: 1.621 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.002607/0.3753, allocations: 0.5056 MB / 0.766 GB, free: 1.113 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.00532/0.3807, allocations: 1.102 MB / 0.7671 GB, free: 8 kB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.01036/0.391, allocations: 2.269 MB / 0.7693 GB, free: 13.74 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.003575/0.3946, allocations: 1.23 MB / 0.7705 GB, free: 12.51 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001534/0.3962, allocations: 0.5343 MB / 0.7711 GB, free: 11.96 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002875/0.3991, allocations: 0.7592 MB / 0.7718 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001427/0.4006, allocations: 469.9 kB / 0.7723 GB, free: 10.74 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0002274/0.4009, allocations: 35.94 kB / 0.7723 GB, free: 10.71 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001675/0.4026, allocations: 379.5 kB / 0.7726 GB, free: 10.34 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002651/0.4029, allocations: 131.4 kB / 0.7728 GB, free: 10.21 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0003971/0.4033, allocations: 177.3 kB / 0.7729 GB, free: 10.03 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001625/0.4049, allocations: 0.6897 MB / 0.7736 GB, free: 9.336 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.405, allocations: 3.938 kB / 0.7736 GB, free: 9.332 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.625e-06/0.405, allocations: 4 kB / 0.7736 GB, free: 9.328 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.045e-05/0.405, allocations: 4 kB / 0.7736 GB, free: 9.324 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.002667/0.4077, allocations: 1.004 MB / 0.7746 GB, free: 8.27 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.648e-05/0.4078, allocations: 8.031 kB / 0.7746 GB, free: 8.262 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001951/0.408, allocations: 86.53 kB / 0.7747 GB, free: 8.168 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002556/0.4083, allocations: 94.88 kB / 0.7748 GB, free: 8.074 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00144/0.4097, allocations: 0.5343 MB / 0.7753 GB, free: 7.5 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.473e-05/0.4098, allocations: 41 kB / 0.7753 GB, free: 7.461 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001325/0.4099, allocations: 52 kB / 0.7754 GB, free: 7.41 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001292/0.4112, allocations: 410.4 kB / 0.7758 GB, free: 7.004 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.56e-05/0.4113, allocations: 3.984 kB / 0.7758 GB, free: 7 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.693e-05/0.4114, allocations: 16 kB / 0.7758 GB, free: 6.984 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.986e-05/0.4114, allocations: 12 kB / 0.7758 GB, free: 6.973 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001086/0.4125, allocations: 307.8 kB / 0.7761 GB, free: 6.668 MB / 0.6042 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.005157/0.4177, allocations: 1.861 MB / 0.7779 GB, free: 4.652 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005919/0.4183, allocations: 162.5 kB / 0.7781 GB, free: 4.484 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003861/0.4187, allocations: 336.4 kB / 0.7784 GB, free: 4.082 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.4188, allocations: 34.56 kB / 0.7784 GB, free: 4.039 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=19): time 2.585e-06/0.4188, allocations: 0 / 0.7784 GB, free: 4.039 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19): time 0.00125/0.42, allocations: 317 kB / 0.7787 GB, free: 3.723 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.526e-05/0.4201, allocations: 55.41 kB / 0.7788 GB, free: 3.656 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/0.4214, allocations: 0.6686 MB / 0.7794 GB, free: 2.98 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.666e-05/0.4214, allocations: 33.7 kB / 0.7795 GB, free: 2.941 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005531/0.422, allocations: 364 kB / 0.7798 GB, free: 2.578 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.4221, allocations: 59.11 kB / 0.7799 GB, free: 2.52 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.942e-05/0.4222, allocations: 8 kB / 0.7799 GB, free: 2.512 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0002605/0.4225, allocations: 382.7 kB / 0.7803 GB, free: 2.129 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000564/0.423, allocations: 103.9 kB / 0.7804 GB, free: 2.027 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006767/0.4237, allocations: 166.3 kB / 0.7805 GB, free: 1.84 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006172/0.4244, allocations: 133.5 kB / 0.7806 GB, free: 1.711 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.525e-06/0.4244, allocations: 112 / 0.7806 GB, free: 1.711 MB / 0.6042 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00167/0.4261, allocations: 394.5 kB / 0.781 GB, free: 1.32 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.00019/0.4263, allocations: 282.9 kB / 0.7813 GB, free: 1.023 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.4263, allocations: 0 / 0.7813 GB, free: 1.023 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.725e-05/0.4264, allocations: 4 kB / 0.7813 GB, free: 1.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002404/0.4288, allocations: 167.8 kB / 0.7815 GB, free: 0.8555 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002337/0.4312, allocations: 2.363 MB / 0.7838 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001425/0.4327, allocations: 83.78 kB / 0.7838 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.752e-05/0.4328, allocations: 19.98 kB / 0.7839 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.4328, allocations: 8 kB / 0.7839 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001352/0.4342, allocations: 288.1 kB / 0.7841 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.4342, allocations: 3.953 kB / 0.7841 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.4342, allocations: 4 kB / 0.7841 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/0.4354, allocations: 107.9 kB / 0.7843 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.51e-05/0.4354, allocations: 4 kB / 0.7843 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001524/0.437, allocations: 71.62 kB / 0.7843 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001263/0.4371, allocations: 16 kB / 0.7843 GB, free: 13.8 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (45): * Single equations (assignments): 41 * 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.0008691/0.438, allocations: 268.1 kB / 0.7846 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004235/0.4385, allocations: 67.16 kB / 0.7847 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001585/0.4401, allocations: 316.6 kB / 0.785 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.136e-05/0.4402, allocations: 4 kB / 0.785 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.4402, allocations: 4 kB / 0.785 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/0.4402, allocations: 3.984 kB / 0.785 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002955/0.4432, allocations: 0.8916 MB / 0.7858 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/0.4432, allocations: 0 / 0.7858 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008076/0.4441, allocations: 79.88 kB / 0.7859 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.036e-05/0.4441, allocations: 0 / 0.7859 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.534e-05/0.4442, allocations: 7.984 kB / 0.7859 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001975/0.4461, allocations: 2.36 MB / 0.7882 GB, free: 9.641 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.4462, allocations: 4.281 kB / 0.7882 GB, free: 9.637 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00131/0.4475, allocations: 455.8 kB / 0.7887 GB, free: 9.141 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004614/0.448, allocations: 172.2 kB / 0.7888 GB, free: 8.953 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001645/0.4482, allocations: 15.89 kB / 0.7888 GB, free: 8.938 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009543/0.4492, allocations: 47.89 kB / 0.7889 GB, free: 8.891 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.4493, allocations: 19.97 kB / 0.7889 GB, free: 8.871 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.367e-05/0.4494, allocations: 8 kB / 0.7889 GB, free: 8.863 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001213/0.4506, allocations: 467 kB / 0.7894 GB, free: 8.41 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.71e-07/0.4506, allocations: 0 / 0.7894 GB, free: 8.41 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001891/0.4525, allocations: 351.1 kB / 0.7897 GB, free: 8.066 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (21): * Single equations (assignments): 15 * 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.002647/0.4552, allocations: 1.392 MB / 0.7911 GB, free: 6.629 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.004245/0.4595, allocations: 0.4957 MB / 0.7915 GB, free: 6.133 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.909e-05/0.4596, allocations: 4 kB / 0.7915 GB, free: 6.129 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001176/0.4608, allocations: 147 kB / 0.7917 GB, free: 5.988 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005218/0.4661, allocations: 375.1 kB / 0.792 GB, free: 5.625 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006516/0.4726, allocations: 2.025 MB / 0.794 GB, free: 3.531 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001038/0.4737, allocations: 0.9453 MB / 0.7949 GB, free: 2.559 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001539/0.4753, allocations: 117.3 kB / 0.7951 GB, free: 2.441 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000758/0.4761, allocations: 255.3 kB / 0.7953 GB, free: 2.191 MB / 0.6198 GB Notification: Performance of SimCode: time 1.453e-06/0.4762, allocations: 4 kB / 0.7953 GB, free: 2.188 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1153/0.5915, allocations: 18.11 MB / 0.813 GB, free: 428 kB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003859/0.592, allocations: 278.6 kB / 0.8133 GB, free: 64 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.516/4.108, allocations: 4 kB / 0.8133 GB, free: 60 kB / 0.6355 GB