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.222/2.222, allocations: 252.6 MB / 265.2 MB, free: 5.805 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001564/0.001565, allocations: 185.4 kB / 324.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.239/2.239, allocations: 205.4 MB / 0.5754 GB, free: 10.49 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.001123/0.001123, allocations: 90.08 kB / 0.6797 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.078e-05/4.097e-05, allocations: 4 kB / 0.7911 GB, free: 96.61 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2062, allocations: 106.2 MB / 0.8949 GB, free: 6.273 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.079/2.286, allocations: 424.4 MB / 1.309 GB, free: 251.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003842/2.286, allocations: 106.8 kB / 1.309 GB, free: 251.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.424/6.71, allocations: 0.9446 GB / 2.254 GB, free: 4.145 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.884e-06/6.71, allocations: 0 / 2.254 GB, free: 4.145 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0005715/6.711, allocations: 83.84 kB / 2.254 GB, free: 4.062 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.009385/6.72, allocations: 2.533 MB / 2.257 GB, free: 1.473 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/6.72, allocations: 8.031 kB / 2.257 GB, free: 1.465 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002033/6.722, allocations: 324.2 kB / 2.257 GB, free: 1.145 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7056/7.428, allocations: 2.394 MB / 2.259 GB, free: 102.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001307/7.428, allocations: 125.2 kB / 2.259 GB, free: 102.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004218/7.429, allocations: 180.4 kB / 2.26 GB, free: 102.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004459/7.433, allocations: 1.506 MB / 2.261 GB, free: 101.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.001e-05/7.433, allocations: 1.516 kB / 2.261 GB, free: 101.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002205/7.433, allocations: 60.03 kB / 2.261 GB, free: 101.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.26e-05/7.434, allocations: 45.47 kB / 2.261 GB, free: 101.9 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003353/7.437, allocations: 1.043 MB / 2.262 GB, free: 101.9 MB / 0.8855 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.02143/7.458, allocations: 7.949 MB / 2.27 GB, free: 98.35 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001285/7.46, allocations: 432.7 kB / 2.27 GB, free: 98.32 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007698/7.46, allocations: 317.3 kB / 2.271 GB, free: 98.31 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007112/7.461, allocations: 0.75 MB / 2.271 GB, free: 97.46 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.247e-05/7.461, allocations: 45.61 kB / 2.271 GB, free: 97.43 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=60): time 3.938e-06/7.461, allocations: 0 / 2.271 GB, free: 97.43 MB / 0.8855 GB Notification: Performance of matching and sorting (n=60): time 0.002842/7.464, allocations: 0.7384 MB / 2.272 GB, free: 97.27 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/7.464, allocations: 60.28 kB / 2.272 GB, free: 97.21 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005761/7.47, allocations: 2.013 MB / 2.274 GB, free: 96.97 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0004143/7.471, allocations: 53.95 kB / 2.274 GB, free: 96.94 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001323/7.472, allocations: 1.143 MB / 2.275 GB, free: 96.67 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003643/7.472, allocations: 215.6 kB / 2.276 GB, free: 96.57 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.995e-05/7.472, allocations: 20.06 kB / 2.276 GB, free: 96.57 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001107/7.472, allocations: 353.3 kB / 2.276 GB, free: 96.26 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008533/7.473, allocations: 307.5 kB / 2.276 GB, free: 96.26 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001195/7.475, allocations: 0.7794 MB / 2.277 GB, free: 95.75 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001237/7.476, allocations: 455.2 kB / 2.277 GB, free: 95.74 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/7.476, allocations: 2.5 kB / 2.277 GB, free: 95.74 MB / 0.8855 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003554/7.479, allocations: 1.198 MB / 2.279 GB, free: 95.58 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006657/7.48, allocations: 3.197 MB / 2.282 GB, free: 92.21 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.234e-05/7.48, allocations: 9.312 kB / 2.282 GB, free: 92.21 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.137e-05/7.48, allocations: 16.19 kB / 2.282 GB, free: 92.21 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002048/7.482, allocations: 260.2 kB / 2.282 GB, free: 92.21 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.904e-05/7.482, allocations: 20.47 kB / 2.282 GB, free: 92.21 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003774/7.486, allocations: 270.8 kB / 2.282 GB, free: 92.16 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002484/7.486, allocations: 54.62 kB / 2.282 GB, free: 92.16 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/7.486, allocations: 12.8 kB / 2.282 GB, free: 92.16 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002588/7.489, allocations: 0.944 MB / 2.283 GB, free: 92.14 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/7.489, allocations: 7.75 kB / 2.283 GB, free: 92.14 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.483e-05/7.489, allocations: 21.28 kB / 2.283 GB, free: 92.14 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001837/7.491, allocations: 248.9 kB / 2.283 GB, free: 92.14 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.642e-05/7.491, allocations: 25.53 kB / 2.284 GB, free: 92.14 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003491/7.494, allocations: 243.8 kB / 2.284 GB, free: 92.11 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001577/7.495, allocations: 52.34 kB / 2.284 GB, free: 92.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 () * 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.0004266/7.495, allocations: 166.2 kB / 2.284 GB, free: 92 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000639/7.496, allocations: 241.3 kB / 2.284 GB, free: 91.88 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00262/7.498, allocations: 0.8738 MB / 2.285 GB, free: 91.79 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.103e-05/7.498, allocations: 11.97 kB / 2.285 GB, free: 91.79 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/7.498, allocations: 0 / 2.285 GB, free: 91.79 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00144/7.5, allocations: 0.6772 MB / 2.286 GB, free: 91.61 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007805/7.508, allocations: 2.597 MB / 2.288 GB, free: 91.23 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.076e-05/7.508, allocations: 1.25 kB / 2.288 GB, free: 91.23 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001193/7.509, allocations: 147.8 kB / 2.288 GB, free: 91.23 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.445e-05/7.509, allocations: 5.328 kB / 2.288 GB, free: 91.23 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-05/7.509, allocations: 18.89 kB / 2.288 GB, free: 91.23 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.919e-06/7.509, allocations: 4.062 kB / 2.288 GB, free: 91.23 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/7.509, allocations: 4.312 kB / 2.288 GB, free: 91.23 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003214/7.512, allocations: 1.318 MB / 2.29 GB, free: 90.85 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001695/7.514, allocations: 455.8 kB / 2.29 GB, free: 90.63 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000479/7.515, allocations: 16.77 kB / 2.29 GB, free: 90.62 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002704/7.517, allocations: 169.6 kB / 2.29 GB, free: 90.62 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001582/7.517, allocations: 45.38 kB / 2.29 GB, free: 90.62 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000111/7.518, allocations: 32.81 kB / 2.29 GB, free: 90.62 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.004186/7.522, allocations: 1.525 MB / 2.292 GB, free: 90.46 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8.62e-07/7.522, allocations: 0.6875 kB / 2.292 GB, free: 90.46 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.005727/7.528, allocations: 1.21 MB / 2.293 GB, free: 90.41 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 () * 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.003331/7.531, allocations: 1.235 MB / 2.294 GB, free: 90.22 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004072/7.535, allocations: 1.373 MB / 2.296 GB, free: 90.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/7.535, allocations: 1.344 kB / 2.296 GB, free: 90.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0008211/7.536, allocations: 317.9 kB / 2.296 GB, free: 90.19 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01391/7.55, allocations: 1.495 MB / 2.297 GB, free: 90.18 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009106/7.559, allocations: 2.844 MB / 2.3 GB, free: 89.38 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001677/7.561, allocations: 1.637 MB / 2.302 GB, free: 88.64 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.005585/7.566, allocations: 0.705 MB / 2.302 GB, free: 88.62 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006414/7.567, allocations: 133.6 kB / 2.303 GB, free: 88.61 MB / 0.8855 GB Notification: Performance of SimCode: time 1.313e-06/7.567, allocations: 3.062 kB / 2.303 GB, free: 88.61 MB / 0.8855 GB Notification: Performance of Templates: time 0.138/7.705, allocations: 56.85 MB / 2.358 GB, free: 86.28 MB / 0.8855 GB