Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.917/4.917, allocations: 0.5623 GB / 0.5775 GB, free: 3.363 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.002571/0.002571, allocations: 356.4 kB / 0.6446 GB, free: 185.6 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.098/4.098, allocations: 410.7 MB / 1.113 GB, free: 147.8 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001779/0.001779, allocations: 187.4 kB / 1.226 GB, free: 35.93 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005122/0.0005125, allocations: 12 kB / 1.349 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2128/0.2133, allocations: 115.3 MB / 1.461 GB, free: 6.559 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.302/1.515, allocations: 403.1 MB / 1.855 GB, free: 2.977 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003416/1.515, allocations: 105.8 kB / 1.855 GB, free: 2.918 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.217/2.732, allocations: 174.3 MB / 2.025 GB, free: 219.7 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.195e-06/2.732, allocations: 0 / 2.025 GB, free: 219.7 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 6.069e-05/2.732, allocations: 12.16 kB / 2.025 GB, free: 219.7 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001833/2.734, allocations: 0.8685 MB / 2.026 GB, free: 218.8 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/2.734, allocations: 12.03 kB / 2.026 GB, free: 218.8 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002137/2.734, allocations: 59.3 kB / 2.026 GB, free: 218.7 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/2.735, allocations: 461.3 kB / 2.027 GB, free: 218.2 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.097e-05/2.736, allocations: 24.56 kB / 2.027 GB, free: 218.2 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.231e-05/2.736, allocations: 35.98 kB / 2.027 GB, free: 218.2 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006852/2.736, allocations: 286.2 kB / 2.027 GB, free: 217.9 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/2.736, allocations: 0 / 2.027 GB, free: 217.9 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.403e-05/2.736, allocations: 15.98 kB / 2.027 GB, free: 217.9 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/2.736, allocations: 4 kB / 2.027 GB, free: 217.8 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006223/2.737, allocations: 198 kB / 2.027 GB, free: 217.7 MB / 0.9323 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.002471/2.74, allocations: 1.507 MB / 2.029 GB, free: 216 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004312/2.74, allocations: 158.8 kB / 2.029 GB, free: 215.9 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002821/2.74, allocations: 88.81 kB / 2.029 GB, free: 215.8 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001931/2.742, allocations: 1.295 MB / 2.03 GB, free: 214.3 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/2.742, allocations: 42.55 kB / 2.03 GB, free: 214.2 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=15): time 2.334e-06/2.742, allocations: 0 / 2.03 GB, free: 214.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=15): time 0.0009032/2.743, allocations: 265 kB / 2.03 GB, free: 214 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/2.743, allocations: 51.41 kB / 2.031 GB, free: 213.9 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008956/2.744, allocations: 0.5692 MB / 2.031 GB, free: 213.3 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 4.06e-05/2.744, allocations: 33.7 kB / 2.031 GB, free: 213.3 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002109/2.744, allocations: 280 kB / 2.031 GB, free: 213 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 4.396e-05/2.744, allocations: 39.36 kB / 2.031 GB, free: 213 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.819e-05/2.744, allocations: 12 kB / 2.031 GB, free: 213 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.715e-05/2.745, allocations: 358.8 kB / 2.032 GB, free: 212.6 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002779/2.745, allocations: 72.52 kB / 2.032 GB, free: 212.5 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004055/2.745, allocations: 237.2 kB / 2.032 GB, free: 212.2 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003273/2.746, allocations: 115.6 kB / 2.032 GB, free: 212.1 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/2.746, allocations: 4 kB / 2.032 GB, free: 212.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008445/2.747, allocations: 309 kB / 2.032 GB, free: 211.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 7.25e-05/2.747, allocations: 165.5 kB / 2.033 GB, free: 211.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.495e-06/2.747, allocations: 4 kB / 2.033 GB, free: 211.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/2.747, allocations: 4 kB / 2.033 GB, free: 211.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004447/2.747, allocations: 63.91 kB / 2.033 GB, free: 211.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/2.747, allocations: 4 kB / 2.033 GB, free: 211.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006356/2.748, allocations: 55.66 kB / 2.033 GB, free: 211.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.327e-05/2.748, allocations: 19.98 kB / 2.033 GB, free: 211.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 9.217e-06/2.748, allocations: 7.953 kB / 2.033 GB, free: 211.5 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007239/2.749, allocations: 239.7 kB / 2.033 GB, free: 211.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/2.749, allocations: 0 / 2.033 GB, free: 211.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.043e-06/2.749, allocations: 4 kB / 2.033 GB, free: 211.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000406/2.749, allocations: 71.8 kB / 2.033 GB, free: 211.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/2.749, allocations: 4 kB / 2.033 GB, free: 211.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005508/2.75, allocations: 51.88 kB / 2.033 GB, free: 211.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.085e-05/2.75, allocations: 19.98 kB / 2.033 GB, free: 211.1 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * 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.0003001/2.75, allocations: 265 kB / 2.033 GB, free: 210.8 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.554e-05/2.75, allocations: 51.34 kB / 2.033 GB, free: 210.8 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008146/2.751, allocations: 273.5 kB / 2.034 GB, free: 210.5 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/2.751, allocations: 4 kB / 2.034 GB, free: 210.5 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/2.751, allocations: 0 / 2.034 GB, free: 210.5 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/2.751, allocations: 0 / 2.034 GB, free: 210.5 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001389/2.752, allocations: 0.7589 MB / 2.034 GB, free: 209.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/2.752, allocations: 4.125 kB / 2.034 GB, free: 209.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002315/2.753, allocations: 35.92 kB / 2.034 GB, free: 209.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/2.753, allocations: 0 / 2.034 GB, free: 209.6 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.984e-05/2.753, allocations: 11.98 kB / 2.035 GB, free: 209.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/2.753, allocations: 0 / 2.035 GB, free: 209.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/2.753, allocations: 7.953 kB / 2.035 GB, free: 209.6 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006438/2.753, allocations: 364 kB / 2.035 GB, free: 209.2 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000197/2.754, allocations: 152.4 kB / 2.035 GB, free: 209.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.318e-05/2.754, allocations: 15.98 kB / 2.035 GB, free: 209 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003885/2.754, allocations: 23.89 kB / 2.035 GB, free: 209 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.497e-05/2.754, allocations: 11.98 kB / 2.035 GB, free: 209 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.189e-05/2.754, allocations: 4 kB / 2.035 GB, free: 209 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0006115/2.755, allocations: 414.8 kB / 2.035 GB, free: 208.6 MB / 0.9323 GB Notification: Performance of sort global known variables: time 3.51e-07/2.755, allocations: 4 kB / 2.035 GB, free: 208.6 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.00118/2.756, allocations: 263.7 kB / 2.036 GB, free: 208.3 MB / 0.9323 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 (17): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001604/2.758, allocations: 0.6089 MB / 2.036 GB, free: 207.9 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001177/2.759, allocations: 344.3 kB / 2.037 GB, free: 207.5 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/2.759, allocations: 4 kB / 2.037 GB, free: 207.5 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0002934/2.759, allocations: 91.88 kB / 2.037 GB, free: 207.4 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002354/2.762, allocations: 256.7 kB / 2.037 GB, free: 207.2 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001802/2.763, allocations: 0.9628 MB / 2.038 GB, free: 206.2 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/2.764, allocations: 0.8509 MB / 2.039 GB, free: 205.3 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0006604/2.764, allocations: 116.2 kB / 2.039 GB, free: 205.2 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/2.765, allocations: 43.42 kB / 2.039 GB, free: 205.2 MB / 0.9323 GB Notification: Performance of SimCode: time 1.192e-06/2.765, allocations: 0 / 2.039 GB, free: 205.2 MB / 0.9323 GB Notification: Performance of Templates: time 0.02832/2.793, allocations: 11.05 MB / 2.05 GB, free: 194.2 MB / 0.9323 GB