Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.505/2.505, allocations: 287.5 MB / 303.2 MB, free: 8.289 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.001501/0.0015, allocations: 186.9 kB / 371.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.063/2.063, allocations: 205.4 MB / 0.6305 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001/0.0009998, allocations: 91.38 kB / 0.7438 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005374/0.0005373, allocations: 11.39 kB / 0.8667 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2331/0.2336, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.297/1.531, allocations: 432.4 MB / 1.402 GB, free: 14.22 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003822/1.532, allocations: 113.3 kB / 1.402 GB, free: 14.16 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 5.159/6.69, allocations: 0.9684 GB / 2.37 GB, free: 118.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.715e-06/6.69, allocations: 0 / 2.37 GB, free: 118.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0005236/6.691, allocations: 79.45 kB / 2.37 GB, free: 118.1 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.01304/6.704, allocations: 2.984 MB / 2.373 GB, free: 115.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.343e-05/6.704, allocations: 11.84 kB / 2.373 GB, free: 115.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002471/6.706, allocations: 320.2 kB / 2.373 GB, free: 115.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01183/6.718, allocations: 2.448 MB / 2.376 GB, free: 114 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002164/6.719, allocations: 134.1 kB / 2.376 GB, free: 114 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007093/6.719, allocations: 174.9 kB / 2.376 GB, free: 113.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006676/6.726, allocations: 1.572 MB / 2.378 GB, free: 112.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.831e-05/6.726, allocations: 7.875 kB / 2.378 GB, free: 112.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003291/6.727, allocations: 63.69 kB / 2.378 GB, free: 112.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.462e-05/6.727, allocations: 39.59 kB / 2.378 GB, free: 112.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005393/6.732, allocations: 1.112 MB / 2.379 GB, free: 112.3 MB / 0.948 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.0255/6.758, allocations: 7.94 MB / 2.386 GB, free: 105.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001984/6.76, allocations: 460.6 kB / 2.387 GB, free: 105.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001409/6.761, allocations: 337.3 kB / 2.387 GB, free: 105.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009995/6.762, allocations: 0.7593 MB / 2.388 GB, free: 104.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.681e-05/6.762, allocations: 42.44 kB / 2.388 GB, free: 104.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=60): time 5.31e-06/6.762, allocations: 0 / 2.388 GB, free: 104.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=60): time 0.004918/6.767, allocations: 1.003 MB / 2.389 GB, free: 103.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.803e-05/6.767, allocations: 59.8 kB / 2.389 GB, free: 103.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00607/6.773, allocations: 2.243 MB / 2.391 GB, free: 102.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003719/6.774, allocations: 56.36 kB / 2.391 GB, free: 102.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001477/6.775, allocations: 1.149 MB / 2.392 GB, free: 101.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003673/6.776, allocations: 213.1 kB / 2.393 GB, free: 101.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.729e-05/6.776, allocations: 19.81 kB / 2.393 GB, free: 101.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001071/6.776, allocations: 357.5 kB / 2.393 GB, free: 100.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001036/6.777, allocations: 338.9 kB / 2.393 GB, free: 100.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001418/6.778, allocations: 0.8122 MB / 2.394 GB, free: 100 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002268/6.781, allocations: 0.9473 MB / 2.395 GB, free: 99.36 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.785e-05/6.781, allocations: 3.812 kB / 2.395 GB, free: 99.36 MB / 0.948 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.00436/6.785, allocations: 1.256 MB / 2.396 GB, free: 98.21 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001941/6.785, allocations: 319.7 kB / 2.397 GB, free: 97.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.802e-05/6.785, allocations: 13.58 kB / 2.397 GB, free: 97.79 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.249e-05/6.785, allocations: 12 kB / 2.397 GB, free: 97.78 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002044/6.788, allocations: 261.6 kB / 2.397 GB, free: 97.53 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.171e-05/6.788, allocations: 23.88 kB / 2.397 GB, free: 97.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003725/6.791, allocations: 266.2 kB / 2.397 GB, free: 97.25 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003144/6.792, allocations: 55.97 kB / 2.397 GB, free: 97.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/6.792, allocations: 5.125 kB / 2.397 GB, free: 97.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002789/6.795, allocations: 1.007 MB / 2.398 GB, free: 96.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.772e-05/6.795, allocations: 8 kB / 2.398 GB, free: 96.19 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/6.795, allocations: 19.94 kB / 2.398 GB, free: 96.17 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001831/6.796, allocations: 253.5 kB / 2.398 GB, free: 95.92 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.344e-05/6.797, allocations: 12 kB / 2.398 GB, free: 95.91 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003365/6.8, allocations: 241.9 kB / 2.399 GB, free: 95.68 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000263/6.8, allocations: 55.92 kB / 2.399 GB, free: 95.63 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 () * 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.001731/6.802, allocations: 0.5764 MB / 2.399 GB, free: 95.04 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007672/6.803, allocations: 229.1 kB / 2.399 GB, free: 94.82 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002689/6.805, allocations: 0.9239 MB / 2.4 GB, free: 93.89 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.651e-05/6.805, allocations: 11.98 kB / 2.4 GB, free: 93.88 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/6.805, allocations: 0 / 2.4 GB, free: 93.88 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001496/6.807, allocations: 0.7206 MB / 2.401 GB, free: 93.13 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006639/6.814, allocations: 2.64 MB / 2.404 GB, free: 90.43 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/6.814, allocations: 4 kB / 2.404 GB, free: 90.43 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001087/6.815, allocations: 143.8 kB / 2.404 GB, free: 90.29 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.147e-05/6.815, allocations: 7.938 kB / 2.404 GB, free: 90.28 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.211e-05/6.815, allocations: 29.33 kB / 2.404 GB, free: 90.26 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.184e-06/6.815, allocations: 0 / 2.404 GB, free: 90.26 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/6.815, allocations: 4 kB / 2.404 GB, free: 90.25 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003228/6.818, allocations: 1.333 MB / 2.405 GB, free: 88.91 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001581/6.82, allocations: 457.7 kB / 2.406 GB, free: 88.44 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006661/6.82, allocations: 12 kB / 2.406 GB, free: 88.43 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002894/6.823, allocations: 161.1 kB / 2.406 GB, free: 88.28 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001799/6.824, allocations: 48.5 kB / 2.406 GB, free: 88.23 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001262/6.824, allocations: 31.97 kB / 2.406 GB, free: 88.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.004282/6.828, allocations: 1.494 MB / 2.407 GB, free: 86.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 8.21e-07/6.828, allocations: 2.594 kB / 2.407 GB, free: 86.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004972/6.833, allocations: 1.193 MB / 2.408 GB, free: 85.5 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 () * 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.002953/6.836, allocations: 1.253 MB / 2.41 GB, free: 84.57 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003691/6.84, allocations: 1.358 MB / 2.411 GB, free: 83.21 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.205e-06/6.84, allocations: 4 kB / 2.411 GB, free: 83.21 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00083/6.841, allocations: 339.5 kB / 2.411 GB, free: 82.88 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01382/6.855, allocations: 1.497 MB / 2.413 GB, free: 81.46 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009475/6.864, allocations: 4.379 MB / 2.417 GB, free: 77.05 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001377/6.865, allocations: 1.582 MB / 2.419 GB, free: 75.43 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003745/6.869, allocations: 499.9 kB / 2.419 GB, free: 74.98 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008723/6.87, allocations: 179.4 kB / 2.419 GB, free: 74.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.233e-06/6.87, allocations: 0 / 2.419 GB, free: 74.8 MB / 0.948 GB Notification: Performance of Templates: time 0.1235/6.994, allocations: 51.06 MB / 2.469 GB, free: 24.6 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)