Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.165/2.165, allocations: 251.1 MB / 266.1 MB, free: 11.56 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001574/0.001574, allocations: 175 kB / 325.6 MB, free: 2.816 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.422/2.422, allocations: 205.4 MB / 0.5766 GB, free: 21.1 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001194/0.001193, allocations: 102.7 kB / 0.6811 GB, free: 13.97 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004757/0.0004757, allocations: 13.09 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2148/0.2153, allocations: 106.3 MB / 0.8989 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.26/1.475, allocations: 424.5 MB / 1.313 GB, free: 11.27 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003542/1.475, allocations: 107.2 kB / 1.314 GB, free: 11.21 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.178/6.653, allocations: 0.9474 GB / 2.261 GB, free: 111.8 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.795e-06/6.653, allocations: 2.406 kB / 2.261 GB, free: 111.8 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0004922/6.654, allocations: 91.06 kB / 2.261 GB, free: 111.8 MB / 0.8855 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.01103/6.665, allocations: 3.009 MB / 2.264 GB, free: 110.2 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/6.665, allocations: 9.219 kB / 2.264 GB, free: 110.2 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001922/6.667, allocations: 318.5 kB / 2.264 GB, free: 110.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008445/6.675, allocations: 2.441 MB / 2.267 GB, free: 109.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001296/6.676, allocations: 130 kB / 2.267 GB, free: 109.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00044/6.676, allocations: 175.3 kB / 2.267 GB, free: 109.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004231/6.68, allocations: 1.545 MB / 2.269 GB, free: 109.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.959e-05/6.68, allocations: 3.094 kB / 2.269 GB, free: 109.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002198/6.681, allocations: 63.59 kB / 2.269 GB, free: 109.4 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-05/6.681, allocations: 41.55 kB / 2.269 GB, free: 109.4 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003413/6.684, allocations: 1.113 MB / 2.27 GB, free: 109.4 MB / 0.8855 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.01704/6.701, allocations: 7.952 MB / 2.277 GB, free: 105.7 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001203/6.703, allocations: 458 kB / 2.278 GB, free: 105.7 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006736/6.703, allocations: 0.7546 MB / 2.279 GB, free: 104.8 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.999e-05/6.703, allocations: 39.41 kB / 2.279 GB, free: 104.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=60): time 3.557e-06/6.703, allocations: 0 / 2.279 GB, free: 104.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=60): time 0.00325/6.707, allocations: 1.002 MB / 2.28 GB, free: 104.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/6.707, allocations: 58.72 kB / 2.28 GB, free: 104.6 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004697/6.711, allocations: 2.042 MB / 2.282 GB, free: 104.3 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003627/6.712, allocations: 48.52 kB / 2.282 GB, free: 104.3 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001207/6.713, allocations: 1.142 MB / 2.283 GB, free: 104 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003697/6.713, allocations: 215.3 kB / 2.283 GB, free: 103.8 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/6.714, allocations: 23.44 kB / 2.283 GB, free: 103.8 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001139/6.714, allocations: 348.4 kB / 2.283 GB, free: 103.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001001/6.715, allocations: 344.1 kB / 2.284 GB, free: 103.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001334/6.716, allocations: 0.8014 MB / 2.285 GB, free: 103 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001451/6.717, allocations: 468 kB / 2.285 GB, free: 103 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-05/6.718, allocations: 3.906 kB / 2.285 GB, free: 103 MB / 0.8855 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.00355/6.721, allocations: 1.25 MB / 2.286 GB, free: 102.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007553/6.722, allocations: 3.207 MB / 2.289 GB, free: 99.38 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.226e-05/6.722, allocations: 7.875 kB / 2.289 GB, free: 99.38 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.129e-05/6.722, allocations: 14.56 kB / 2.289 GB, free: 99.38 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002048/6.724, allocations: 261.5 kB / 2.29 GB, free: 99.36 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.81e-05/6.724, allocations: 18.58 kB / 2.29 GB, free: 99.36 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003781/6.728, allocations: 271.9 kB / 2.29 GB, free: 99.27 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000326/6.728, allocations: 54.08 kB / 2.29 GB, free: 99.27 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/6.728, allocations: 4.219 kB / 2.29 GB, free: 99.27 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002908/6.731, allocations: 1.006 MB / 2.291 GB, free: 99.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.806e-05/6.731, allocations: 7.5 kB / 2.291 GB, free: 99.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/6.731, allocations: 18.03 kB / 2.291 GB, free: 99.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001989/6.733, allocations: 248.2 kB / 2.291 GB, free: 99.18 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.655e-05/6.733, allocations: 21.92 kB / 2.291 GB, free: 99.18 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004422/6.738, allocations: 243.7 kB / 2.291 GB, free: 99.11 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003207/6.738, allocations: 52.84 kB / 2.291 GB, free: 99.11 MB / 0.8855 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.001838/6.74, allocations: 0.5794 MB / 2.292 GB, free: 98.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008082/6.741, allocations: 239.5 kB / 2.292 GB, free: 98.77 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002823/6.744, allocations: 0.921 MB / 2.293 GB, free: 98.67 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.598e-05/6.744, allocations: 7.375 kB / 2.293 GB, free: 98.67 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/6.744, allocations: 3.219 kB / 2.293 GB, free: 98.67 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00154/6.745, allocations: 0.7237 MB / 2.294 GB, free: 98.5 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006803/6.752, allocations: 2.633 MB / 2.296 GB, free: 97.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/6.752, allocations: 0 / 2.296 GB, free: 97.79 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00107/6.753, allocations: 150.3 kB / 2.297 GB, free: 97.77 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.057e-05/6.753, allocations: 3.375 kB / 2.297 GB, free: 97.77 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.016e-05/6.753, allocations: 21.38 kB / 2.297 GB, free: 97.77 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.514e-06/6.753, allocations: 5.906 kB / 2.297 GB, free: 97.77 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/6.753, allocations: 0 / 2.297 GB, free: 97.77 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003172/6.757, allocations: 1.389 MB / 2.298 GB, free: 97.04 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001441/6.758, allocations: 457.1 kB / 2.298 GB, free: 96.72 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004564/6.759, allocations: 22.27 kB / 2.298 GB, free: 96.71 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00249/6.761, allocations: 154.2 kB / 2.299 GB, free: 96.69 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001705/6.761, allocations: 43.48 kB / 2.299 GB, free: 96.69 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.45e-05/6.761, allocations: 36.7 kB / 2.299 GB, free: 96.68 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.003344/6.765, allocations: 1.553 MB / 2.3 GB, free: 96.07 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7.61e-07/6.765, allocations: 0 / 2.3 GB, free: 96.07 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.004998/6.77, allocations: 1.203 MB / 2.301 GB, free: 95.8 MB / 0.8855 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.003132/6.773, allocations: 1.277 MB / 2.303 GB, free: 95.49 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003929/6.777, allocations: 1.353 MB / 2.304 GB, free: 95.06 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 9.368e-06/6.777, allocations: 1.719 kB / 2.304 GB, free: 95.06 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0009215/6.778, allocations: 340.8 kB / 2.304 GB, free: 94.95 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01289/6.791, allocations: 1.502 MB / 2.306 GB, free: 94.72 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008973/6.8, allocations: 4.378 MB / 2.31 GB, free: 92.27 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001312/6.801, allocations: 1.629 MB / 2.312 GB, free: 91.46 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003331/6.805, allocations: 0.4947 MB / 2.312 GB, free: 91.37 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006991/6.805, allocations: 185.1 kB / 2.312 GB, free: 91.35 MB / 0.8855 GB Notification: Performance of SimCode: time 8.82e-07/6.805, allocations: 0 / 2.312 GB, free: 91.35 MB / 0.8855 GB Notification: Performance of Templates: time 0.1279/6.933, allocations: 51.48 MB / 2.363 GB, free: 49.48 MB / 0.8855 GB