Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.57/2.57, allocations: 287.5 MB / 302.4 MB, free: 8.227 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001535/0.001535, allocations: 185.1 kB / 371 MB, free: 10.77 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.145/2.145, allocations: 205.4 MB / 0.6297 GB, free: 10.5 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001225/0.001225, allocations: 94.86 kB / 0.743 GB, free: 6.5 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005171/0.0005171, allocations: 15.62 kB / 0.8658 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.2238, allocations: 115.3 MB / 0.9784 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.362/1.586, allocations: 432.2 MB / 1.4 GB, free: 14.27 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003982/1.586, allocations: 110.7 kB / 1.401 GB, free: 14.21 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 5.233/6.82, allocations: 0.974 GB / 2.375 GB, free: 115.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.805e-06/6.82, allocations: 0 / 2.375 GB, free: 115.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004453/6.82, allocations: 77.39 kB / 2.375 GB, free: 115.6 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.01031/6.83, allocations: 3.022 MB / 2.378 GB, free: 113.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/6.83, allocations: 10.03 kB / 2.378 GB, free: 113.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00177/6.832, allocations: 322.3 kB / 2.378 GB, free: 113.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00805/6.84, allocations: 2.433 MB / 2.38 GB, free: 111.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001276/6.841, allocations: 124.4 kB / 2.38 GB, free: 111.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003909/6.841, allocations: 180.4 kB / 2.381 GB, free: 111.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004045/6.845, allocations: 1.574 MB / 2.382 GB, free: 110.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.938e-05/6.845, allocations: 0 / 2.382 GB, free: 110.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002172/6.845, allocations: 64.09 kB / 2.382 GB, free: 110.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.388e-05/6.845, allocations: 38.53 kB / 2.382 GB, free: 110.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003168/6.849, allocations: 1.112 MB / 2.383 GB, free: 109.8 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.01674/6.865, allocations: 7.98 MB / 2.391 GB, free: 103.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001188/6.867, allocations: 463.1 kB / 2.392 GB, free: 102.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006819/6.867, allocations: 0.7549 MB / 2.392 GB, free: 101.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/6.867, allocations: 39.12 kB / 2.392 GB, free: 101.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=60): time 4.849e-06/6.867, allocations: 0 / 2.392 GB, free: 101.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=60): time 0.00318/6.871, allocations: 1.006 MB / 2.393 GB, free: 100.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.897e-05/6.871, allocations: 59.97 kB / 2.393 GB, free: 100.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004338/6.875, allocations: 2.041 MB / 2.395 GB, free: 98.62 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003835/6.875, allocations: 49.7 kB / 2.395 GB, free: 98.57 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001183/6.877, allocations: 1.151 MB / 2.396 GB, free: 97.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003178/6.877, allocations: 209 kB / 2.397 GB, free: 97.19 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/6.877, allocations: 20 kB / 2.397 GB, free: 97.17 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001057/6.877, allocations: 353.9 kB / 2.397 GB, free: 96.82 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009927/6.878, allocations: 340.9 kB / 2.397 GB, free: 96.49 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001294/6.88, allocations: 0.8081 MB / 2.398 GB, free: 95.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/6.881, allocations: 470.7 kB / 2.399 GB, free: 95.05 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.004e-05/6.881, allocations: 4 kB / 2.399 GB, free: 95.05 MB / 0.948 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003475/6.884, allocations: 1.252 MB / 2.4 GB, free: 93.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006783/6.885, allocations: 3.21 MB / 2.403 GB, free: 90.34 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.782e-05/6.885, allocations: 10.75 kB / 2.403 GB, free: 90.33 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.38e-05/6.885, allocations: 16 kB / 2.403 GB, free: 90.32 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00201/6.887, allocations: 259.3 kB / 2.403 GB, free: 90.07 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.684e-05/6.887, allocations: 23.91 kB / 2.403 GB, free: 90.04 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003516/6.891, allocations: 276.2 kB / 2.404 GB, free: 89.79 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000166/6.891, allocations: 55.67 kB / 2.404 GB, free: 89.73 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/6.891, allocations: 7.953 kB / 2.404 GB, free: 89.73 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002587/6.893, allocations: 1.005 MB / 2.405 GB, free: 88.73 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/6.893, allocations: 11.98 kB / 2.405 GB, free: 88.72 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-05/6.894, allocations: 19.94 kB / 2.405 GB, free: 88.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001768/6.895, allocations: 250.3 kB / 2.405 GB, free: 88.46 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.242e-05/6.895, allocations: 15.98 kB / 2.405 GB, free: 88.44 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003343/6.899, allocations: 250.3 kB / 2.405 GB, free: 88.21 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001806/6.899, allocations: 51.92 kB / 2.405 GB, free: 88.16 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.001602/6.901, allocations: 0.5713 MB / 2.406 GB, free: 87.57 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007703/6.901, allocations: 239.6 kB / 2.406 GB, free: 87.34 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002621/6.904, allocations: 0.9198 MB / 2.407 GB, free: 86.42 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-05/6.904, allocations: 8 kB / 2.407 GB, free: 86.41 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/6.904, allocations: 0 / 2.407 GB, free: 86.41 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001529/6.906, allocations: 0.7248 MB / 2.408 GB, free: 85.65 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006768/6.912, allocations: 2.653 MB / 2.41 GB, free: 82.94 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.407e-06/6.912, allocations: 0 / 2.41 GB, free: 82.94 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001086/6.913, allocations: 154.8 kB / 2.41 GB, free: 82.79 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.129e-05/6.914, allocations: 4 kB / 2.41 GB, free: 82.79 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.089e-05/6.914, allocations: 19.98 kB / 2.41 GB, free: 82.77 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.296e-06/6.914, allocations: 4 kB / 2.41 GB, free: 82.76 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/6.914, allocations: 4 kB / 2.41 GB, free: 82.76 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003235/6.917, allocations: 1.4 MB / 2.412 GB, free: 81.32 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001468/6.918, allocations: 457.9 kB / 2.412 GB, free: 80.86 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004714/6.919, allocations: 15.95 kB / 2.412 GB, free: 80.84 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002567/6.921, allocations: 167.5 kB / 2.412 GB, free: 80.68 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/6.922, allocations: 48.5 kB / 2.412 GB, free: 80.63 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.998e-05/6.922, allocations: 27.98 kB / 2.412 GB, free: 80.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003307/6.925, allocations: 1.556 MB / 2.414 GB, free: 79.04 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.91e-07/6.925, allocations: 0 / 2.414 GB, free: 79.04 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005154/6.93, allocations: 1.201 MB / 2.415 GB, free: 77.84 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.003148/6.933, allocations: 1.286 MB / 2.416 GB, free: 76.82 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003746/6.937, allocations: 1.366 MB / 2.418 GB, free: 75.47 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/6.937, allocations: 0 / 2.418 GB, free: 75.47 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008357/6.938, allocations: 347.4 kB / 2.418 GB, free: 75.12 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01308/6.951, allocations: 1.506 MB / 2.419 GB, free: 73.69 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008837/6.96, allocations: 4.377 MB / 2.424 GB, free: 69.29 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001253/6.961, allocations: 1.629 MB / 2.425 GB, free: 67.63 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003462/6.965, allocations: 0.4895 MB / 2.426 GB, free: 67.18 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006814/6.966, allocations: 179.4 kB / 2.426 GB, free: 67 MB / 0.948 GB Notification: Performance of SimCode: time 9.72e-07/6.966, allocations: 0 / 2.426 GB, free: 67 MB / 0.948 GB Notification: Performance of Templates: time 0.1225/7.088, allocations: 51.73 MB / 2.476 GB, free: 16.12 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)