Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.783/1.783, allocations: 293 MB / 309 MB, free: 4.789 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.0009836/0.0009836, allocations: 187.8 kB / 378.7 MB, free: 1.02 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.077/2.077, allocations: 205.4 MB / 0.6383 GB, free: 8.227 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.0007887/0.0007888, allocations: 95.39 kB / 0.7527 GB, free: 62.7 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004777/0.0004784, allocations: 16 kB / 0.8768 GB, free: 10.41 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/0.3352, allocations: 116.4 MB / 0.9904 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.782/2.117, allocations: 433.6 MB / 1.414 GB, free: 270.4 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004891/2.117, allocations: 107.6 kB / 1.414 GB, free: 270.4 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.154/5.271, allocations: 0.9684 GB / 2.382 GB, free: 59.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.575e-06/5.271, allocations: 0 / 2.382 GB, free: 59.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0005151/5.272, allocations: 87.84 kB / 2.382 GB, free: 59.02 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.009442/5.281, allocations: 2.986 MB / 2.385 GB, free: 55.96 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/5.281, allocations: 8.031 kB / 2.385 GB, free: 55.95 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001572/5.283, allocations: 325.3 kB / 2.386 GB, free: 55.63 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006689/5.289, allocations: 2.444 MB / 2.388 GB, free: 53.12 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001446/5.29, allocations: 131.3 kB / 2.388 GB, free: 52.99 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006185/5.29, allocations: 176.4 kB / 2.388 GB, free: 52.82 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003898/5.294, allocations: 1.572 MB / 2.39 GB, free: 51.18 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.741e-05/5.294, allocations: 11.94 kB / 2.39 GB, free: 51.17 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002091/5.294, allocations: 60 kB / 2.39 GB, free: 51.11 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.733e-05/5.295, allocations: 40 kB / 2.39 GB, free: 51.07 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002279/5.297, allocations: 1.108 MB / 2.391 GB, free: 49.96 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.01111/5.308, allocations: 7.941 MB / 2.399 GB, free: 41.52 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006964/5.309, allocations: 457.9 kB / 2.399 GB, free: 41.06 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004322/5.309, allocations: 342.8 kB / 2.4 GB, free: 40.72 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004573/5.31, allocations: 0.7563 MB / 2.4 GB, free: 39.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.385e-05/5.31, allocations: 47.06 kB / 2.4 GB, free: 39.74 MB / 0.948 GB Notification: Performance of pre-optimization done (n=60): time 3.597e-06/5.31, allocations: 0 / 2.4 GB, free: 39.74 MB / 0.948 GB Notification: Performance of matching and sorting (n=60): time 0.001947/5.312, allocations: 1.004 MB / 2.401 GB, free: 38.73 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.803e-05/5.312, allocations: 59.97 kB / 2.401 GB, free: 38.66 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004084/5.316, allocations: 2.243 MB / 2.404 GB, free: 36.41 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002577/5.316, allocations: 49.7 kB / 2.404 GB, free: 36.35 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008858/5.317, allocations: 1.142 MB / 2.405 GB, free: 35.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002164/5.317, allocations: 212.9 kB / 2.405 GB, free: 34.98 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.926e-05/5.317, allocations: 28 kB / 2.405 GB, free: 34.96 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.983e-05/5.317, allocations: 345.9 kB / 2.405 GB, free: 34.61 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006078/5.318, allocations: 338.5 kB / 2.406 GB, free: 34.29 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008263/5.319, allocations: 0.8157 MB / 2.406 GB, free: 33.27 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001233/5.32, allocations: 0.9449 MB / 2.407 GB, free: 32.22 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/5.32, allocations: 3.938 kB / 2.407 GB, free: 32.22 MB / 0.948 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002294/5.322, allocations: 1.264 MB / 2.409 GB, free: 30.95 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001409/5.322, allocations: 326.2 kB / 2.409 GB, free: 30.52 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/5.322, allocations: 8 kB / 2.409 GB, free: 30.51 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.291e-05/5.323, allocations: 16 kB / 2.409 GB, free: 30.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009135/5.323, allocations: 255.6 kB / 2.409 GB, free: 30.25 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.416e-05/5.323, allocations: 23.86 kB / 2.409 GB, free: 30.22 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002327/5.326, allocations: 262.2 kB / 2.409 GB, free: 29.96 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001359/5.326, allocations: 51.97 kB / 2.409 GB, free: 29.91 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.927e-06/5.326, allocations: 4 kB / 2.409 GB, free: 29.91 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001553/5.328, allocations: 1.007 MB / 2.41 GB, free: 28.91 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/5.328, allocations: 8 kB / 2.41 GB, free: 28.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/5.328, allocations: 12 kB / 2.41 GB, free: 28.89 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008361/5.328, allocations: 260.1 kB / 2.411 GB, free: 28.63 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.154e-05/5.328, allocations: 19.31 kB / 2.411 GB, free: 28.62 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002437/5.331, allocations: 242.5 kB / 2.411 GB, free: 28.38 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001301/5.331, allocations: 55.92 kB / 2.411 GB, free: 28.32 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.001759/5.333, allocations: 0.5773 MB / 2.412 GB, free: 27.74 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007392/5.334, allocations: 233.1 kB / 2.412 GB, free: 27.51 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002084/5.336, allocations: 0.9221 MB / 2.413 GB, free: 26.57 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.336e-05/5.336, allocations: 4 kB / 2.413 GB, free: 26.57 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/5.336, allocations: 4 kB / 2.413 GB, free: 26.57 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009358/5.337, allocations: 0.722 MB / 2.413 GB, free: 25.82 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00719/5.344, allocations: 2.639 MB / 2.416 GB, free: 23.11 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/5.344, allocations: 0 / 2.416 GB, free: 23.11 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005641/5.344, allocations: 147.8 kB / 2.416 GB, free: 22.96 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.326e-05/5.345, allocations: 7.938 kB / 2.416 GB, free: 22.96 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.349e-05/5.345, allocations: 16 kB / 2.416 GB, free: 22.94 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.265e-06/5.345, allocations: 4 kB / 2.416 GB, free: 22.94 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/5.345, allocations: 4.094 kB / 2.416 GB, free: 22.93 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002227/5.347, allocations: 1.339 MB / 2.418 GB, free: 21.57 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001621/5.348, allocations: 449.7 kB / 2.418 GB, free: 21.11 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000776/5.349, allocations: 12.33 kB / 2.418 GB, free: 21.09 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001953/5.351, allocations: 167.6 kB / 2.418 GB, free: 20.93 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001384/5.351, allocations: 44.5 kB / 2.418 GB, free: 20.89 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001068/5.352, allocations: 39.97 kB / 2.418 GB, free: 20.85 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003168/5.355, allocations: 1.494 MB / 2.42 GB, free: 19.35 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.6e-07/5.355, allocations: 0 / 2.42 GB, free: 19.35 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004918/5.36, allocations: 1.189 MB / 2.421 GB, free: 18.16 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.002473/5.362, allocations: 1.249 MB / 2.422 GB, free: 17.05 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002563/5.365, allocations: 1.359 MB / 2.423 GB, free: 15.69 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/5.365, allocations: 8 kB / 2.423 GB, free: 15.68 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004994/5.365, allocations: 335 kB / 2.424 GB, free: 15.35 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007817/5.373, allocations: 1.5 MB / 2.425 GB, free: 13.87 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006829/5.38, allocations: 4.374 MB / 2.429 GB, free: 9.449 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001454/5.381, allocations: 1.59 MB / 2.431 GB, free: 7.828 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002757/5.384, allocations: 494.8 kB / 2.431 GB, free: 7.34 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005722/5.385, allocations: 175.4 kB / 2.432 GB, free: 7.168 MB / 0.948 GB Notification: Performance of SimCode: time 8.02e-07/5.385, allocations: 0 / 2.432 GB, free: 7.168 MB / 0.948 GB Notification: Performance of Templates: time 0.5745/5.959, allocations: 51.8 MB / 2.482 GB, free: 105.6 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)