Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.583/1.583, allocations: 285.4 MB / 298 MB, free: 6.031 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001133/0.001133, allocations: 176.8 kB / 366.4 MB, free: 2.141 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.407/1.407, allocations: 205.1 MB / 0.6248 GB, free: 7.777 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008133/0.0008134, allocations: 93.41 kB / 0.738 GB, free: 40.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.87e-05/2.873e-05, allocations: 4 kB / 0.8583 GB, free: 13.15 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6744/0.6745, allocations: 115.3 MB / 0.9709 GB, free: 77.91 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9258/1.6, allocations: 432.3 MB / 1.393 GB, free: 128.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002284/1.601, allocations: 99 kB / 1.393 GB, free: 128.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.468/5.069, allocations: 0.9711 GB / 2.364 GB, free: 113.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.593e-06/5.069, allocations: 0 / 2.364 GB, free: 113.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003146/5.069, allocations: 77.77 kB / 2.364 GB, free: 113.2 MB / 0.948 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.006514/5.075, allocations: 2.535 MB / 2.367 GB, free: 112.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/5.076, allocations: 9.781 kB / 2.367 GB, free: 112.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001287/5.077, allocations: 319.7 kB / 2.367 GB, free: 112.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004872/5.082, allocations: 2.415 MB / 2.37 GB, free: 111.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.478e-05/5.082, allocations: 127.9 kB / 2.37 GB, free: 111.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002317/5.082, allocations: 175 kB / 2.37 GB, free: 111.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002667/5.085, allocations: 1.527 MB / 2.371 GB, free: 111.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.922e-05/5.085, allocations: 4.156 kB / 2.371 GB, free: 111.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001315/5.085, allocations: 63.69 kB / 2.371 GB, free: 111.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.875e-05/5.085, allocations: 39.41 kB / 2.371 GB, free: 111.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001673/5.087, allocations: 1.051 MB / 2.372 GB, free: 111.7 MB / 0.948 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.01037/5.097, allocations: 7.984 MB / 2.38 GB, free: 108.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006282/5.098, allocations: 439.2 kB / 2.381 GB, free: 108.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004364/5.098, allocations: 313.5 kB / 2.381 GB, free: 108.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005965/5.099, allocations: 0.7566 MB / 2.382 GB, free: 107.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.059e-05/5.099, allocations: 40.22 kB / 2.382 GB, free: 107.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=60): time 4.508e-06/5.099, allocations: 3.844 kB / 2.382 GB, free: 107.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=60): time 0.001854/5.101, allocations: 0.7441 MB / 2.382 GB, free: 107 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.665e-05/5.101, allocations: 58.62 kB / 2.383 GB, free: 107 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002651/5.103, allocations: 2.015 MB / 2.384 GB, free: 106.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001684/5.104, allocations: 54.42 kB / 2.385 GB, free: 106.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007374/5.104, allocations: 1.137 MB / 2.386 GB, free: 106.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001782/5.105, allocations: 220.1 kB / 2.386 GB, free: 106.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.844e-05/5.105, allocations: 21.28 kB / 2.386 GB, free: 106.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.542e-05/5.105, allocations: 352.2 kB / 2.386 GB, free: 106 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004729/5.105, allocations: 310.1 kB / 2.386 GB, free: 106 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007102/5.106, allocations: 0.7871 MB / 2.387 GB, free: 105.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000624/5.106, allocations: 451.5 kB / 2.388 GB, free: 105.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/5.106, allocations: 3.938 kB / 2.388 GB, free: 105.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.001938/5.108, allocations: 1.202 MB / 2.389 GB, free: 105.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005542/5.109, allocations: 3.195 MB / 2.392 GB, free: 102 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/5.109, allocations: 10.88 kB / 2.392 GB, free: 102 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.864e-05/5.109, allocations: 11.16 kB / 2.392 GB, free: 102 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009973/5.11, allocations: 265.8 kB / 2.392 GB, free: 102 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.895e-05/5.11, allocations: 18.05 kB / 2.392 GB, free: 102 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002312/5.112, allocations: 268.6 kB / 2.393 GB, free: 101.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/5.113, allocations: 54.58 kB / 2.393 GB, free: 101.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/5.113, allocations: 7.312 kB / 2.393 GB, free: 101.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001402/5.114, allocations: 0.9578 MB / 2.394 GB, free: 101.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/5.114, allocations: 11.61 kB / 2.394 GB, free: 101.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/5.114, allocations: 14.5 kB / 2.394 GB, free: 101.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008867/5.115, allocations: 251.7 kB / 2.394 GB, free: 101.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.562e-05/5.115, allocations: 17.75 kB / 2.394 GB, free: 101.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002067/5.117, allocations: 246.5 kB / 2.394 GB, free: 101.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.995e-05/5.117, allocations: 55.3 kB / 2.394 GB, free: 101.8 MB / 0.948 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.0002493/5.117, allocations: 175.1 kB / 2.394 GB, free: 101.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000313/5.118, allocations: 228.4 kB / 2.394 GB, free: 101.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001562/5.119, allocations: 0.894 MB / 2.395 GB, free: 101.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.359e-05/5.119, allocations: 7.75 kB / 2.395 GB, free: 101.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/5.119, allocations: 3.75 kB / 2.395 GB, free: 101.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007415/5.12, allocations: 0.6796 MB / 2.396 GB, free: 101.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003891/5.124, allocations: 2.613 MB / 2.399 GB, free: 100.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/5.124, allocations: 7.703 kB / 2.399 GB, free: 100.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005555/5.125, allocations: 147.4 kB / 2.399 GB, free: 100.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/5.125, allocations: 3.969 kB / 2.399 GB, free: 100.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.106e-05/5.125, allocations: 14.72 kB / 2.399 GB, free: 100.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/5.125, allocations: 6.781 kB / 2.399 GB, free: 100.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/5.125, allocations: 1.875 kB / 2.399 GB, free: 100.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001579/5.126, allocations: 1.339 MB / 2.4 GB, free: 100.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009829/5.127, allocations: 459.4 kB / 2.401 GB, free: 100.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002591/5.127, allocations: 14.06 kB / 2.401 GB, free: 100.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001405/5.129, allocations: 163.9 kB / 2.401 GB, free: 100.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/5.129, allocations: 50.2 kB / 2.401 GB, free: 100.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.148e-05/5.129, allocations: 32.78 kB / 2.401 GB, free: 100.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002477/5.132, allocations: 1.525 MB / 2.402 GB, free: 100.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.3e-07/5.132, allocations: 5.594 kB / 2.402 GB, free: 100.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003739/5.135, allocations: 1.208 MB / 2.403 GB, free: 99.96 MB / 0.948 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.002279/5.138, allocations: 1.243 MB / 2.405 GB, free: 99.67 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002466/5.14, allocations: 1.379 MB / 2.406 GB, free: 99.64 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/5.14, allocations: 1.312 kB / 2.406 GB, free: 99.64 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004544/5.141, allocations: 321.5 kB / 2.406 GB, free: 99.64 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008122/5.149, allocations: 1.503 MB / 2.408 GB, free: 99.62 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005337/5.154, allocations: 2.847 MB / 2.411 GB, free: 98.81 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001074/5.155, allocations: 1.634 MB / 2.412 GB, free: 98.08 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003259/5.158, allocations: 0.7125 MB / 2.413 GB, free: 98.05 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002868/5.159, allocations: 130.9 kB / 2.413 GB, free: 98.05 MB / 0.948 GB Notification: Performance of SimCode: time 7.72e-07/5.159, allocations: 2.906 kB / 2.413 GB, free: 98.05 MB / 0.948 GB Notification: Performance of Templates: time 0.08878/5.247, allocations: 57.1 MB / 2.469 GB, free: 95.5 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)