Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.974/4.974, allocations: 0.5623 GB / 0.5775 GB, free: 3.395 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002567/0.002567, allocations: 364.3 kB / 0.6446 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.262/4.262, allocations: 410.7 MB / 1.113 GB, free: 5.969 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001818/0.001818, allocations: 184.3 kB / 1.226 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004876/0.0004878, allocations: 16 kB / 1.349 GB, free: 8.297 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.734/0.7345, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.214/1.948, allocations: 432.2 MB / 1.883 GB, free: 110.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003775/1.948, allocations: 106.7 kB / 1.883 GB, free: 110.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.315/7.264, allocations: 0.9674 GB / 2.851 GB, free: 129.9 MB / 0.9636 GB Notification: Performance of FrontEnd: time 3.236e-06/7.264, allocations: 2.125 kB / 2.851 GB, free: 129.9 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0006199/7.265, allocations: 76.06 kB / 2.851 GB, free: 129.9 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.01504/7.28, allocations: 3.02 MB / 2.854 GB, free: 128.9 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/7.28, allocations: 14.12 kB / 2.854 GB, free: 128.9 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002523/7.282, allocations: 317.4 kB / 2.854 GB, free: 128.7 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01167/7.294, allocations: 2.355 MB / 2.857 GB, free: 128.3 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002266/7.294, allocations: 127.7 kB / 2.857 GB, free: 128.3 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000884/7.295, allocations: 181.7 kB / 2.857 GB, free: 128.3 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007825/7.303, allocations: 1.57 MB / 2.858 GB, free: 128.1 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001033/7.303, allocations: 0 / 2.858 GB, free: 128.1 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000369/7.304, allocations: 66.25 kB / 2.858 GB, free: 128.1 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000103/7.304, allocations: 39.94 kB / 2.858 GB, free: 128.1 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005821/7.31, allocations: 1.119 MB / 2.86 GB, free: 128.1 MB / 0.9636 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.01958/7.329, allocations: 7.939 MB / 2.867 GB, free: 124.5 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001295/7.33, allocations: 463.7 kB / 2.868 GB, free: 124.5 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008201/7.331, allocations: 335.9 kB / 2.868 GB, free: 124.5 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006845/7.332, allocations: 0.7551 MB / 2.869 GB, free: 123.6 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.325e-05/7.332, allocations: 41.34 kB / 2.869 GB, free: 123.6 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=60): time 3.407e-06/7.332, allocations: 3.656 kB / 2.869 GB, free: 123.6 MB / 0.9636 GB Notification: Performance of matching and sorting (n=60): time 0.004666/7.337, allocations: 1.003 MB / 2.87 GB, free: 123.4 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/7.337, allocations: 58.81 kB / 2.87 GB, free: 123.4 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004983/7.342, allocations: 2.248 MB / 2.872 GB, free: 123.1 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0003812/7.342, allocations: 50.98 kB / 2.872 GB, free: 123.1 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001314/7.344, allocations: 1.143 MB / 2.873 GB, free: 122.8 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003561/7.344, allocations: 216.8 kB / 2.873 GB, free: 122.7 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.313e-05/7.344, allocations: 25.19 kB / 2.873 GB, free: 122.7 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.000103/7.344, allocations: 348.2 kB / 2.874 GB, free: 122.4 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00106/7.345, allocations: 336.6 kB / 2.874 GB, free: 122.4 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001373/7.347, allocations: 0.8153 MB / 2.875 GB, free: 121.9 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001349/7.348, allocations: 471.5 kB / 2.875 GB, free: 121.9 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.268e-05/7.348, allocations: 3.031 kB / 2.875 GB, free: 121.9 MB / 0.9636 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.004222/7.352, allocations: 1.26 MB / 2.877 GB, free: 121.7 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002486/7.353, allocations: 328.4 kB / 2.877 GB, free: 121.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.847e-05/7.353, allocations: 7.719 kB / 2.877 GB, free: 121.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.56e-05/7.353, allocations: 18.2 kB / 2.877 GB, free: 121.3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002119/7.355, allocations: 253.3 kB / 2.877 GB, free: 121.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.325e-05/7.355, allocations: 18.25 kB / 2.877 GB, free: 121.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003811/7.359, allocations: 276 kB / 2.877 GB, free: 121.3 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003574/7.359, allocations: 50.92 kB / 2.878 GB, free: 121.3 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/7.359, allocations: 4.5 kB / 2.878 GB, free: 121.3 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00295/7.362, allocations: 1.008 MB / 2.879 GB, free: 121.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.926e-05/7.362, allocations: 10.66 kB / 2.879 GB, free: 121.2 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/7.362, allocations: 12.66 kB / 2.879 GB, free: 121.2 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00191/7.364, allocations: 254.5 kB / 2.879 GB, free: 121.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.989e-05/7.364, allocations: 19.41 kB / 2.879 GB, free: 121.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003621/7.368, allocations: 233.3 kB / 2.879 GB, free: 121.2 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003345/7.368, allocations: 52.72 kB / 2.879 GB, free: 121.2 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (138): * Single equations (assignments): 138 * 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.001969/7.37, allocations: 0.5818 MB / 2.88 GB, free: 121 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008587/7.371, allocations: 229.3 kB / 2.88 GB, free: 120.8 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00311/7.374, allocations: 0.9263 MB / 2.881 GB, free: 120.8 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-05/7.374, allocations: 5.312 kB / 2.881 GB, free: 120.8 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/7.374, allocations: 3.5 kB / 2.881 GB, free: 120.8 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001631/7.376, allocations: 0.7276 MB / 2.881 GB, free: 120.6 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008236/7.384, allocations: 2.63 MB / 2.884 GB, free: 120.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/7.384, allocations: 1.156 kB / 2.884 GB, free: 120.2 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001161/7.385, allocations: 152.1 kB / 2.884 GB, free: 120.2 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.338e-05/7.386, allocations: 3.844 kB / 2.884 GB, free: 120.2 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.367e-05/7.386, allocations: 18.38 kB / 2.884 GB, free: 120.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-05/7.386, allocations: 7.891 kB / 2.884 GB, free: 120.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/7.386, allocations: 0.625 kB / 2.884 GB, free: 120.2 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003419/7.389, allocations: 1.344 MB / 2.886 GB, free: 119.9 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001706/7.391, allocations: 450.6 kB / 2.886 GB, free: 119.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007773/7.392, allocations: 11.19 kB / 2.886 GB, free: 119.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003282/7.395, allocations: 163.5 kB / 2.886 GB, free: 119.7 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002191/7.395, allocations: 52.41 kB / 2.886 GB, free: 119.7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001533/7.395, allocations: 29.09 kB / 2.886 GB, free: 119.7 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.004148/7.4, allocations: 1.499 MB / 2.888 GB, free: 119.5 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6.42e-07/7.4, allocations: 0.5312 kB / 2.888 GB, free: 119.5 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.005726/7.405, allocations: 1.191 MB / 2.889 GB, free: 119.4 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (valLin.vol.dynBal.U,valEquPerLin.vol.dynBal.U,valTab.vol.dynBal.U) * 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.003098/7.408, allocations: 1.238 MB / 2.89 GB, free: 119.1 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.003876/7.412, allocations: 1.363 MB / 2.891 GB, free: 119.1 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 7.393e-06/7.412, allocations: 2.25 kB / 2.891 GB, free: 119.1 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0009166/7.413, allocations: 339.8 kB / 2.892 GB, free: 119.1 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0139/7.427, allocations: 1.515 MB / 2.893 GB, free: 119.1 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01007/7.437, allocations: 4.382 MB / 2.897 GB, free: 117.1 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00149/7.439, allocations: 1.63 MB / 2.899 GB, free: 116.4 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.003735/7.443, allocations: 0.4909 MB / 2.9 GB, free: 116.3 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008396/7.444, allocations: 183.4 kB / 2.9 GB, free: 116.3 MB / 0.9636 GB Notification: Performance of SimCode: time 1.453e-06/7.444, allocations: 0 / 2.9 GB, free: 116.3 MB / 0.9636 GB Notification: Performance of Templates: time 0.1263/7.57, allocations: 50.99 MB / 2.95 GB, free: 114.3 MB / 0.9636 GB