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.ThreeWayValves.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Actuators_Valves_Examples_ThreeWayValves",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.285/4.285, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.288e-05/4.31e-05, allocations: 5.484 kB / 0.5383 GB, free: 10.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2236/0.2237, allocations: 98.73 MB / 0.6347 GB, free: 1.918 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.196/1.42, allocations: 410.2 MB / 1.035 GB, free: 13.09 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004139/1.42, allocations: 100.3 kB / 1.035 GB, free: 13.04 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 3.542/4.963, allocations: 0.6431 GB / 1.679 GB, free: 45.92 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.114e-06/4.963, allocations: 0 / 1.679 GB, free: 45.92 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0002343/4.963, allocations: 63.86 kB / 1.679 GB, free: 45.86 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: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.004684/4.968, allocations: 1.767 MB / 1.68 GB, free: 44.04 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/4.968, allocations: 8.031 kB / 1.68 GB, free: 44.03 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003123/4.968, allocations: 148.2 kB / 1.68 GB, free: 43.88 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008172/4.969, allocations: 205.7 kB / 1.681 GB, free: 43.67 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004818/4.974, allocations: 1.606 MB / 1.682 GB, free: 42.02 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.056e-05/4.974, allocations: 82 kB / 1.682 GB, free: 41.93 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002199/4.974, allocations: 116 kB / 1.682 GB, free: 41.82 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002442/4.977, allocations: 1.007 MB / 1.683 GB, free: 40.78 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.369e-05/4.977, allocations: 3.906 kB / 1.683 GB, free: 40.78 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001343/4.977, allocations: 47.98 kB / 1.683 GB, free: 40.73 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.55e-05/4.977, allocations: 24 kB / 1.683 GB, free: 40.71 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001811/4.979, allocations: 0.6873 MB / 1.684 GB, free: 40.02 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.01048/4.989, allocations: 5.296 MB / 1.689 GB, free: 34.36 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006499/4.99, allocations: 280.1 kB / 1.69 GB, free: 34.08 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004167/4.991, allocations: 197.8 kB / 1.69 GB, free: 33.88 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005968/4.991, allocations: 0.6648 MB / 1.69 GB, free: 33.07 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.668e-05/4.991, allocations: 42.31 kB / 1.69 GB, free: 33.02 MB / 0.823 GB Notification: Performance of pre-optimization done (n=38): time 3.346e-06/4.991, allocations: 0 / 1.69 GB, free: 33.02 MB / 0.823 GB Notification: Performance of matching and sorting (n=38): time 0.001487/4.993, allocations: 483.5 kB / 1.691 GB, free: 32.54 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/4.993, allocations: 59.41 kB / 1.691 GB, free: 32.46 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002599/4.995, allocations: 1.251 MB / 1.692 GB, free: 31.21 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002312/4.996, allocations: 41.7 kB / 1.692 GB, free: 31.16 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007151/4.996, allocations: 0.7396 MB / 1.693 GB, free: 30.41 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001778/4.997, allocations: 138 kB / 1.693 GB, free: 30.28 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.545e-05/4.997, allocations: 16 kB / 1.693 GB, free: 30.26 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.725e-05/4.997, allocations: 341.8 kB / 1.693 GB, free: 29.92 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005616/4.997, allocations: 205.5 kB / 1.694 GB, free: 29.72 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007289/4.998, allocations: 490.7 kB / 1.694 GB, free: 29.12 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007208/4.999, allocations: 294 kB / 1.694 GB, free: 28.84 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.183e-06/4.999, allocations: 7.938 kB / 1.694 GB, free: 28.83 MB / 0.823 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002088/5.001, allocations: 0.7937 MB / 1.695 GB, free: 28.03 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004462/5.001, allocations: 2.076 MB / 1.697 GB, free: 25.77 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/5.001, allocations: 4 kB / 1.697 GB, free: 25.76 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.592e-05/5.002, allocations: 12 kB / 1.697 GB, free: 25.75 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001392/5.003, allocations: 175.7 kB / 1.697 GB, free: 25.58 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.021e-05/5.003, allocations: 12 kB / 1.697 GB, free: 25.57 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002244/5.005, allocations: 186.6 kB / 1.698 GB, free: 25.38 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/5.005, allocations: 35.98 kB / 1.698 GB, free: 25.35 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/5.005, allocations: 4 kB / 1.698 GB, free: 25.34 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001568/5.007, allocations: 0.6341 MB / 1.698 GB, free: 24.71 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/5.007, allocations: 11.89 kB / 1.698 GB, free: 24.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/5.007, allocations: 8.188 kB / 1.698 GB, free: 24.69 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001242/5.008, allocations: 167.8 kB / 1.698 GB, free: 24.52 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.796e-05/5.008, allocations: 19.92 kB / 1.698 GB, free: 24.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00212/5.01, allocations: 163 kB / 1.699 GB, free: 24.34 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001053/5.011, allocations: 43.97 kB / 1.699 GB, free: 24.3 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000299/5.011, allocations: 152.7 kB / 1.699 GB, free: 24.14 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003676/5.011, allocations: 154.1 kB / 1.699 GB, free: 23.99 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001521/5.013, allocations: 0.5838 MB / 1.699 GB, free: 23.39 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.665e-06/5.013, allocations: 4 kB / 1.699 GB, free: 23.39 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/5.013, allocations: 0 / 1.699 GB, free: 23.39 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007795/5.014, allocations: 0.6519 MB / 1.7 GB, free: 22.65 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00375/5.017, allocations: 1.611 MB / 1.702 GB, free: 20.98 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/5.017, allocations: 0 / 1.702 GB, free: 20.98 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000744/5.018, allocations: 91.88 kB / 1.702 GB, free: 20.89 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.608e-06/5.018, allocations: 0 / 1.702 GB, free: 20.89 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.863e-05/5.018, allocations: 8 kB / 1.702 GB, free: 20.89 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/5.018, allocations: 4 kB / 1.702 GB, free: 20.88 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/5.018, allocations: 4 kB / 1.702 GB, free: 20.88 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001626/5.02, allocations: 0.7514 MB / 1.702 GB, free: 20.11 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008251/5.021, allocations: 311 kB / 1.703 GB, free: 19.79 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002706/5.021, allocations: 4 kB / 1.703 GB, free: 19.78 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001763/5.023, allocations: 115.8 kB / 1.703 GB, free: 19.67 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.474e-05/5.023, allocations: 23.97 kB / 1.703 GB, free: 19.64 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-05/5.023, allocations: 19.98 kB / 1.703 GB, free: 19.62 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.002038/5.025, allocations: 0.9984 MB / 1.704 GB, free: 18.63 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.743e-06/5.025, allocations: 0 / 1.704 GB, free: 18.63 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.003141/5.028, allocations: 0.811 MB / 1.705 GB, free: 17.82 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (valLin.vol.dynBal.U,valEquPerLin.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003217/5.032, allocations: 1.932 MB / 1.707 GB, free: 15.86 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002204/5.034, allocations: 0.864 MB / 1.707 GB, free: 14.99 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/5.034, allocations: 4.812 kB / 1.707 GB, free: 14.99 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.000366/5.034, allocations: 171.8 kB / 1.708 GB, free: 14.82 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008419/5.043, allocations: 0.9641 MB / 1.709 GB, free: 13.86 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00611/5.049, allocations: 2.039 MB / 1.711 GB, free: 11.77 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008001/5.05, allocations: 1.275 MB / 1.712 GB, free: 10.47 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.002769/5.052, allocations: 407.9 kB / 1.712 GB, free: 10.07 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009196/5.053, allocations: 0.55 MB / 1.713 GB, free: 9.516 MB / 0.823 GB Notification: Performance of SimCode: time 1.162e-06/5.053, allocations: 0 / 1.713 GB, free: 9.516 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8244/5.878, allocations: 50.81 MB / 1.762 GB, free: 114.6 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002094/5.878, allocations: 201.9 kB / 1.763 GB, free: 114.4 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.11/10.99, allocations: 0 / 1.763 GB, free: 114.4 MB / 0.823 GB