Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.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_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8442/0.8442, allocations: 133.7 MB / 148.6 MB, free: 13.63 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001335/0.001335, allocations: 174.9 kB / 180.9 MB, free: 15.07 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.643/1.643, allocations: 170.7 MB / 383.7 MB, free: 16.28 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001821/0.001821, allocations: 112.7 kB / 454.6 MB, free: 9.879 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1896/0.1901, allocations: 73.41 MB / 0.6812 GB, free: 5.562 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.337/1.527, allocations: 379.7 MB / 1.052 GB, free: 106.9 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004113/1.527, allocations: 101 kB / 1.052 GB, free: 106.9 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.218/3.745, allocations: 0.5779 GB / 1.63 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.504e-06/3.745, allocations: 0 / 1.63 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001805/3.745, allocations: 55.86 kB / 1.63 GB, free: 24.52 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.005391/3.751, allocations: 2.035 MB / 1.632 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.966e-05/3.751, allocations: 8.031 kB / 1.632 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001102/3.752, allocations: 213.6 kB / 1.632 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004416/3.756, allocations: 1.79 MB / 1.634 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.245e-05/3.756, allocations: 86.17 kB / 1.634 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001661/3.757, allocations: 120 kB / 1.634 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003733/3.76, allocations: 1.538 MB / 1.636 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.712e-05/3.76, allocations: 3.938 kB / 1.636 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/3.761, allocations: 48 kB / 1.636 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.542e-05/3.761, allocations: 36 kB / 1.636 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002986/3.764, allocations: 1.155 MB / 1.637 GB, free: 17.27 MB / 0.6198 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.008791/3.772, allocations: 6.697 MB / 1.643 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002209/3.775, allocations: 0.6826 MB / 1.644 GB, free: 9.473 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002157/3.775, allocations: 178.5 kB / 1.644 GB, free: 9.262 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/3.775, allocations: 38.89 kB / 1.644 GB, free: 9.215 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=39): time 3.246e-06/3.775, allocations: 0 / 1.644 GB, free: 9.215 MB / 0.6198 GB Notification: Performance of matching and sorting (n=43): time 0.009021/3.784, allocations: 2.594 MB / 1.647 GB, free: 6.559 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.617e-05/3.784, allocations: 136.5 kB / 1.647 GB, free: 6.395 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002469/3.787, allocations: 1.267 MB / 1.648 GB, free: 5.125 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001783/3.787, allocations: 37.7 kB / 1.648 GB, free: 5.082 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005624/3.787, allocations: 0.7625 MB / 1.649 GB, free: 4.309 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001773/3.788, allocations: 161.7 kB / 1.649 GB, free: 4.148 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.455e-05/3.788, allocations: 16 kB / 1.649 GB, free: 4.133 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001124/3.788, allocations: 338 kB / 1.649 GB, free: 3.797 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009052/3.789, allocations: 393.7 kB / 1.65 GB, free: 3.41 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001052/3.79, allocations: 0.7109 MB / 1.651 GB, free: 2.562 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/3.791, allocations: 474.9 kB / 1.651 GB, free: 2.098 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/3.791, allocations: 4 kB / 1.651 GB, free: 2.094 MB / 0.6198 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002666/3.793, allocations: 1.221 MB / 1.652 GB, free: 0.8633 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.5588/4.352, allocations: 3.039 MB / 1.655 GB, free: 55.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.085e-05/4.352, allocations: 9.781 kB / 1.655 GB, free: 55.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.742e-05/4.353, allocations: 12.44 kB / 1.655 GB, free: 55.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00197/4.354, allocations: 284.2 kB / 1.655 GB, free: 55.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.331e-05/4.355, allocations: 16.41 kB / 1.655 GB, free: 55.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002509/4.357, allocations: 171.2 kB / 1.656 GB, free: 55.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001354/4.357, allocations: 41.97 kB / 1.656 GB, free: 55.61 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/4.357, allocations: 3.094 kB / 1.656 GB, free: 55.61 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001822/4.359, allocations: 0.7811 MB / 1.656 GB, free: 55.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.61e-05/4.359, allocations: 7.531 kB / 1.656 GB, free: 55.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.58e-05/4.359, allocations: 13.34 kB / 1.656 GB, free: 55.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008854/4.36, allocations: 214 kB / 1.657 GB, free: 55.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.644e-05/4.36, allocations: 12.88 kB / 1.657 GB, free: 55.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001726/4.362, allocations: 115.6 kB / 1.657 GB, free: 55.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.936e-05/4.362, allocations: 37.31 kB / 1.657 GB, free: 55.6 MB / 0.6198 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 (110): * Single equations (assignments): 110 * 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.001265/4.363, allocations: 439.8 kB / 1.657 GB, free: 55.41 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004456/4.364, allocations: 150.3 kB / 1.657 GB, free: 55.41 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002589/4.366, allocations: 0.9494 MB / 1.658 GB, free: 55.34 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.717e-05/4.366, allocations: 5.406 kB / 1.658 GB, free: 55.34 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/4.366, allocations: 6.031 kB / 1.658 GB, free: 55.34 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00214/4.368, allocations: 1.085 MB / 1.659 GB, free: 54.87 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005854/4.374, allocations: 2.145 MB / 1.661 GB, free: 54.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/4.374, allocations: 4.531 kB / 1.661 GB, free: 54.51 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000873/4.375, allocations: 164.4 kB / 1.662 GB, free: 54.51 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003096/4.376, allocations: 71.78 kB / 1.662 GB, free: 54.49 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.845e-05/4.376, allocations: 17.89 kB / 1.662 GB, free: 54.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007415/4.376, allocations: 1.141 MB / 1.663 GB, free: 53.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/4.376, allocations: 2.062 kB / 1.663 GB, free: 53.46 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003803/4.38, allocations: 1.489 MB / 1.664 GB, free: 53.18 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001036/4.381, allocations: 306.7 kB / 1.665 GB, free: 53.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001764/4.381, allocations: 11.25 kB / 1.665 GB, free: 53.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001104/4.383, allocations: 128.7 kB / 1.665 GB, free: 53.09 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/4.383, allocations: 34.83 kB / 1.665 GB, free: 53.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.255e-05/4.383, allocations: 27.92 kB / 1.665 GB, free: 53.09 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.002171/4.385, allocations: 0.9587 MB / 1.666 GB, free: 52.98 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.7e-07/4.385, allocations: 0 / 1.666 GB, free: 52.98 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003154/4.388, allocations: 0.7167 MB / 1.666 GB, free: 52.98 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (valLin.vol.dynBal.U,valEquPerLin.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 (41): * Single equations (assignments): 39 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001748/4.39, allocations: 0.6831 MB / 1.667 GB, free: 52.86 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.003893/4.394, allocations: 1.297 MB / 1.668 GB, free: 52.86 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/4.394, allocations: 0.7812 kB / 1.668 GB, free: 52.86 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001235/4.395, allocations: 390.7 kB / 1.669 GB, free: 52.86 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004813/4.4, allocations: 0.8494 MB / 1.67 GB, free: 52.84 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01222/4.412, allocations: 4.02 MB / 1.673 GB, free: 51.51 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001063/4.413, allocations: 1.275 MB / 1.675 GB, free: 50.8 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.002119/4.415, allocations: 327.4 kB / 1.675 GB, free: 50.78 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003554/4.416, allocations: 124.3 kB / 1.675 GB, free: 50.77 MB / 0.6198 GB Notification: Performance of SimCode: time 1.362e-06/4.416, allocations: 0 / 1.675 GB, free: 50.77 MB / 0.6198 GB Notification: Performance of Templates: time 0.05985/4.476, allocations: 33.49 MB / 1.708 GB, free: 49.27 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)