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.Examples.TwoWayValves.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.Examples.TwoWayValves,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.01537/0.01537, allocations: 88.31 kB / 15.04 MB, free: 5.582 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.00188/0.001879, allocations: 171.6 kB / 15.92 MB, free: 5.555 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.488/2.488, allocations: 205.5 MB / 222.2 MB, free: 13.73 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.379/2.379, allocations: 252.8 MB / 0.511 GB, free: 8.359 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007228/0.0007231, allocations: 15.56 kB / 0.6243 GB, free: 21.1 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.2626, allocations: 106.2 MB / 0.7281 GB, free: 8.145 MB / 0.5574 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.03917/0.3018, allocations: 22.39 MB / 0.7499 GB, free: 1.688 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.02116/0.3231, allocations: 9.305 MB / 0.759 GB, free: 8.367 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001428/0.3246, allocations: 31.69 kB / 0.759 GB, free: 8.336 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.002546/0.3271, allocations: 0.5406 MB / 0.7596 GB, free: 7.793 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.007247/0.3344, allocations: 1.192 MB / 0.7607 GB, free: 6.598 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.01667/0.3511, allocations: 2.592 MB / 0.7633 GB, free: 4.012 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.004177/0.3553, allocations: 1.576 MB / 0.7648 GB, free: 2.43 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001798/0.3572, allocations: 0.7681 MB / 0.7656 GB, free: 1.641 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002715/0.3599, allocations: 0.9153 MB / 0.7665 GB, free: 0.7227 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002635/0.3626, allocations: 0.7904 MB / 0.7672 GB, free: 15.93 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0005521/0.3632, allocations: 44 kB / 0.7673 GB, free: 15.89 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00302/0.3663, allocations: 0.862 MB / 0.7681 GB, free: 15.02 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0005845/0.3669, allocations: 211.2 kB / 0.7683 GB, free: 14.82 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.000483/0.3674, allocations: 209.2 kB / 0.7685 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.002595/0.37, allocations: 1.115 MB / 0.7696 GB, free: 13.49 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.3701, allocations: 0 / 0.7696 GB, free: 13.49 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.325e-06/0.3701, allocations: 0 / 0.7696 GB, free: 13.49 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.298e-05/0.3701, allocations: 0 / 0.7696 GB, free: 13.49 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: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.003133/0.3733, allocations: 1.153 MB / 0.7707 GB, free: 12.29 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/0.3733, allocations: 12.03 kB / 0.7707 GB, free: 12.27 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001909/0.3736, allocations: 94.45 kB / 0.7708 GB, free: 12.17 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004366/0.374, allocations: 118.7 kB / 0.7709 GB, free: 12.05 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001753/0.3758, allocations: 0.6317 MB / 0.7716 GB, free: 11.38 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.73e-05/0.3759, allocations: 57 kB / 0.7716 GB, free: 11.32 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002642/0.3761, allocations: 83.95 kB / 0.7717 GB, free: 11.24 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0015/0.3777, allocations: 0.5647 MB / 0.7722 GB, free: 10.65 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.503e-05/0.3777, allocations: 4 kB / 0.7722 GB, free: 10.64 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.499e-05/0.3778, allocations: 16 kB / 0.7723 GB, free: 10.63 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.813e-05/0.3778, allocations: 16 kB / 0.7723 GB, free: 10.61 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001465/0.3793, allocations: 411.7 kB / 0.7727 GB, free: 10.21 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.006445/0.3858, allocations: 2.536 MB / 0.7751 GB, free: 7.535 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000904/0.3867, allocations: 266.7 kB / 0.7754 GB, free: 7.266 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003647/0.3871, allocations: 344.4 kB / 0.7757 GB, free: 6.855 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.853e-05/0.3871, allocations: 38.56 kB / 0.7758 GB, free: 6.809 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=29): time 2.765e-06/0.3872, allocations: 0 / 0.7758 GB, free: 6.809 MB / 0.6042 GB Notification: Performance of matching and sorting (n=29): time 0.001954/0.3891, allocations: 489.8 kB / 0.7762 GB, free: 6.324 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/0.3892, allocations: 51.62 kB / 0.7763 GB, free: 6.262 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001395/0.3906, allocations: 0.7552 MB / 0.777 GB, free: 5.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.000252/0.3909, allocations: 49.64 kB / 0.7771 GB, free: 5.445 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005417/0.3914, allocations: 437.2 kB / 0.7775 GB, free: 5.016 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001293/0.3916, allocations: 90.66 kB / 0.7776 GB, free: 4.926 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.912e-05/0.3916, allocations: 8 kB / 0.7776 GB, free: 4.918 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.3918, allocations: 326 kB / 0.7779 GB, free: 4.594 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006121/0.3924, allocations: 161 kB / 0.778 GB, free: 4.438 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001678/0.3941, allocations: 0.7711 MB / 0.7788 GB, free: 3.469 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007976/0.3949, allocations: 237.1 kB / 0.779 GB, free: 3.234 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.395, allocations: 0 / 0.779 GB, free: 3.234 MB / 0.6042 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001982/0.3969, allocations: 0.5576 MB / 0.7796 GB, free: 2.668 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.000349/0.3973, allocations: 0.7938 MB / 0.7803 GB, free: 1.812 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/0.3973, allocations: 4 kB / 0.7803 GB, free: 1.809 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.518e-05/0.3974, allocations: 8 kB / 0.7803 GB, free: 1.801 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002333/0.3997, allocations: 199.7 kB / 0.7805 GB, free: 1.605 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001679/0.4014, allocations: 2.368 MB / 0.7829 GB, free: 15.14 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005627/0.4071, allocations: 0.6904 MB / 0.7835 GB, free: 14.45 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001673/0.4073, allocations: 27.98 kB / 0.7836 GB, free: 14.43 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.4073, allocations: 4 kB / 0.7836 GB, free: 14.42 MB / 0.6199 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00152/0.4089, allocations: 442.1 kB / 0.784 GB, free: 13.99 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.4089, allocations: 0 / 0.784 GB, free: 13.99 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.4089, allocations: 7.938 kB / 0.784 GB, free: 13.98 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/0.4101, allocations: 144 kB / 0.7841 GB, free: 13.84 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.4101, allocations: 4 kB / 0.7841 GB, free: 13.84 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005563/0.4157, allocations: 0.6789 MB / 0.7848 GB, free: 13.16 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002061/0.416, allocations: 23.98 kB / 0.7848 GB, free: 13.13 MB / 0.6199 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.0007576/0.4167, allocations: 296.5 kB / 0.7851 GB, free: 12.84 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002578/0.417, allocations: 86.92 kB / 0.7852 GB, free: 12.75 MB / 0.6199 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001827/0.4188, allocations: 481.3 kB / 0.7856 GB, free: 12.27 MB / 0.6199 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/0.4189, allocations: 4 kB / 0.7856 GB, free: 12.27 MB / 0.6199 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.699e-06/0.4189, allocations: 4 kB / 0.7856 GB, free: 12.27 MB / 0.6199 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.4189, allocations: 3.984 kB / 0.7856 GB, free: 12.26 MB / 0.6199 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003118/0.4221, allocations: 1.143 MB / 0.7868 GB, free: 11.05 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/0.4221, allocations: 3.938 kB / 0.7868 GB, free: 11.05 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008928/0.423, allocations: 107.8 kB / 0.7869 GB, free: 10.94 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.356e-05/0.4231, allocations: 4 kB / 0.7869 GB, free: 10.94 MB / 0.6199 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.285e-05/0.4231, allocations: 11.98 kB / 0.7869 GB, free: 10.93 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001449/0.4246, allocations: 2.36 MB / 0.7892 GB, free: 8.473 MB / 0.6199 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.4246, allocations: 4.094 kB / 0.7892 GB, free: 8.469 MB / 0.6199 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001534/0.4262, allocations: 0.5781 MB / 0.7898 GB, free: 7.836 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004568/0.4267, allocations: 199.9 kB / 0.79 GB, free: 7.621 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001483/0.4268, allocations: 12 kB / 0.79 GB, free: 7.609 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008666/0.4277, allocations: 52.05 kB / 0.79 GB, free: 7.559 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.4279, allocations: 35.91 kB / 0.79 GB, free: 7.523 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.146e-05/0.4279, allocations: 11.98 kB / 0.7901 GB, free: 7.512 MB / 0.6199 GB Notification: Performance of sorting global known variables: time 0.001027/0.429, allocations: 0.5068 MB / 0.7906 GB, free: 7.008 MB / 0.6199 GB Notification: Performance of sort global known variables: time 3.21e-07/0.429, allocations: 0 / 0.7906 GB, free: 7.008 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.00203/0.431, allocations: 463.2 kB / 0.791 GB, free: 6.555 MB / 0.6199 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 (35): * Single equations (assignments): 29 * 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.003091/0.4342, allocations: 1.603 MB / 0.7926 GB, free: 4.902 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.003999/0.4382, allocations: 0.7165 MB / 0.7933 GB, free: 4.188 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/0.4383, allocations: 4 kB / 0.7933 GB, free: 4.184 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 0.0009957/0.4393, allocations: 212 kB / 0.7935 GB, free: 3.977 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003914/0.4432, allocations: 426 kB / 0.7939 GB, free: 3.566 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005359/0.4486, allocations: 3.198 MB / 0.797 GB, free: 268 kB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006891/0.4494, allocations: 0.9823 MB / 0.798 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001425/0.4508, allocations: 182 kB / 0.7981 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006455/0.4515, allocations: 315.3 kB / 0.7984 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of SimCode: time 1.102e-06/0.4515, allocations: 0 / 0.7984 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07958/0.5311, allocations: 26.44 MB / 0.8242 GB, free: 4.711 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004134/0.5316, allocations: 256.1 kB / 0.8245 GB, free: 4.355 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.979/4.51, allocations: 4 kB / 0.8245 GB, free: 4.352 MB / 0.6511 GB