Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.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.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7773/0.7773, allocations: 132.4 MB / 139.9 MB, free: 2.824 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001016/0.001016, allocations: 191.5 kB / 171.9 MB, free: 4.91 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.223/1.223, allocations: 170.6 MB / 374.2 MB, free: 196 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001418/0.001417, allocations: 115.2 kB / 444.8 MB, free: 14.15 MB / 314.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.1671/0.1672, allocations: 73.41 MB / 0.6666 GB, free: 15.64 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.29/1.458, allocations: 354 MB / 1.012 GB, free: 104 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003271/1.458, allocations: 90.45 kB / 1.012 GB, free: 103.9 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.9587/2.417, allocations: 273.4 MB / 1.279 GB, free: 88.07 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.513e-06/2.417, allocations: 0 / 1.279 GB, free: 88.07 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.566e-05/2.417, allocations: 19.94 kB / 1.279 GB, free: 88.05 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001568/2.418, allocations: 0.9617 MB / 1.28 GB, free: 87.05 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/2.418, allocations: 8.031 kB / 1.28 GB, free: 87.05 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008321/2.419, allocations: 171 kB / 1.281 GB, free: 86.88 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009195/2.42, allocations: 0.5332 MB / 1.281 GB, free: 86.31 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.081e-05/2.42, allocations: 16 kB / 1.281 GB, free: 86.3 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.26e-05/2.42, allocations: 28 kB / 1.281 GB, free: 86.27 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005441/2.421, allocations: 290.6 kB / 1.281 GB, free: 85.99 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006795/2.422, allocations: 452.6 kB / 1.282 GB, free: 85.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/2.422, allocations: 7.938 kB / 1.282 GB, free: 85.5 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.139e-05/2.422, allocations: 0 / 1.282 GB, free: 85.5 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.999e-05/2.422, allocations: 19.98 kB / 1.282 GB, free: 85.48 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003014/2.425, allocations: 2.51 MB / 1.284 GB, free: 82.85 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00039/2.425, allocations: 217.5 kB / 1.284 GB, free: 82.61 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/2.425, allocations: 74.58 kB / 1.285 GB, free: 82.53 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002668/2.426, allocations: 119.6 kB / 1.285 GB, free: 82.4 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/2.426, allocations: 42.56 kB / 1.285 GB, free: 82.35 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=16): time 1.693e-06/2.426, allocations: 0 / 1.285 GB, free: 82.35 MB / 0.6042 GB Notification: Performance of matching and sorting (n=16): time 0.002663/2.428, allocations: 0.6415 MB / 1.285 GB, free: 81.7 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.492e-05/2.428, allocations: 158.2 kB / 1.285 GB, free: 81.51 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000415/2.429, allocations: 446.4 kB / 1.286 GB, free: 81.07 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.648e-05/2.429, allocations: 25.7 kB / 1.286 GB, free: 81.04 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001829/2.429, allocations: 363.2 kB / 1.286 GB, free: 80.67 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.694e-05/2.429, allocations: 63.12 kB / 1.286 GB, free: 80.61 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.294e-05/2.429, allocations: 0 / 1.286 GB, free: 80.61 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.274e-05/2.429, allocations: 366.9 kB / 1.287 GB, free: 80.24 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002088/2.429, allocations: 148.8 kB / 1.287 GB, free: 80.1 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000279/2.43, allocations: 311.4 kB / 1.287 GB, free: 79.72 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002805/2.43, allocations: 161.2 kB / 1.287 GB, free: 79.57 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/2.43, allocations: 0 / 1.287 GB, free: 79.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006861/2.431, allocations: 467 kB / 1.288 GB, free: 79.11 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002469/2.431, allocations: 1.14 MB / 1.289 GB, free: 77.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/2.431, allocations: 4 kB / 1.289 GB, free: 77.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/2.431, allocations: 8 kB / 1.289 GB, free: 77.87 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004297/2.435, allocations: 0.8467 MB / 1.29 GB, free: 77.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001648/2.437, allocations: 2.006 MB / 1.292 GB, free: 74.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001219/2.438, allocations: 191.5 kB / 1.292 GB, free: 74.76 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-05/2.438, allocations: 23.98 kB / 1.292 GB, free: 74.73 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/2.438, allocations: 4 kB / 1.292 GB, free: 74.73 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003668/2.439, allocations: 239.8 kB / 1.292 GB, free: 74.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/2.439, allocations: 4.375 kB / 1.292 GB, free: 74.49 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.953e-06/2.439, allocations: 8 kB / 1.292 GB, free: 74.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000402/2.439, allocations: 115.8 kB / 1.292 GB, free: 74.37 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/2.439, allocations: 4 kB / 1.292 GB, free: 74.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004512/2.44, allocations: 71.62 kB / 1.292 GB, free: 74.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.101e-05/2.44, allocations: 16 kB / 1.292 GB, free: 74.28 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001668/2.44, allocations: 122 kB / 1.292 GB, free: 74.16 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/2.44, allocations: 63.2 kB / 1.292 GB, free: 74.09 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006543/2.441, allocations: 274.4 kB / 1.293 GB, free: 73.82 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/2.441, allocations: 7.984 kB / 1.293 GB, free: 73.81 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/2.441, allocations: 4 kB / 1.293 GB, free: 73.81 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/2.441, allocations: 0 / 1.293 GB, free: 73.81 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007589/2.441, allocations: 0.6844 MB / 1.293 GB, free: 73.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/2.441, allocations: 0 / 1.293 GB, free: 73.08 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003789/2.445, allocations: 0.7688 MB / 1.294 GB, free: 72.31 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/2.445, allocations: 0 / 1.294 GB, free: 72.31 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.185e-05/2.445, allocations: 7.984 kB / 1.294 GB, free: 72.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003996/2.449, allocations: 4.22 MB / 1.298 GB, free: 67.74 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/2.449, allocations: 7.922 kB / 1.298 GB, free: 67.73 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006792/2.45, allocations: 399.9 kB / 1.299 GB, free: 67.31 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001786/2.45, allocations: 136.3 kB / 1.299 GB, free: 67.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.33e-05/2.45, allocations: 4 kB / 1.299 GB, free: 67.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009321/2.451, allocations: 151.8 kB / 1.299 GB, free: 67 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.251e-05/2.451, allocations: 23.88 kB / 1.299 GB, free: 66.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.696e-05/2.451, allocations: 12.08 kB / 1.299 GB, free: 66.97 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003745/2.452, allocations: 330.9 kB / 1.299 GB, free: 66.65 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/2.452, allocations: 0 / 1.299 GB, free: 66.65 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001237/2.453, allocations: 359.1 kB / 1.3 GB, free: 66.3 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006476/2.454, allocations: 343.4 kB / 1.3 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.004368/2.458, allocations: 1.078 MB / 1.301 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/2.458, allocations: 0 / 1.301 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.006202/2.464, allocations: 1.175 MB / 1.302 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001608/2.466, allocations: 282.1 kB / 1.302 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0151/2.481, allocations: 3.38 MB / 1.306 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002922/2.481, allocations: 0.9142 MB / 1.307 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0007966/2.482, allocations: 132.5 kB / 1.307 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001695/2.482, allocations: 47.39 kB / 1.307 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of SimCode: time 1.012e-06/2.482, allocations: 0 / 1.307 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of Templates: time 0.0178/2.5, allocations: 13.22 MB / 1.32 GB, free: 45.77 MB / 0.6042 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)