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.9146/0.9146, allocations: 133.7 MB / 148.6 MB, free: 13.62 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.001184/0.001184, allocations: 179.2 kB / 180.9 MB, free: 15.06 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.961/1.961, allocations: 170.7 MB / 383.7 MB, free: 16.12 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.00201/0.00201, allocations: 121.3 kB / 454.6 MB, free: 9.703 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.2451/0.246, allocations: 73.39 MB / 0.6812 GB, free: 5.559 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.205/1.451, allocations: 354.8 MB / 1.028 GB, free: 130.9 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002598/1.451, allocations: 102.5 kB / 1.028 GB, free: 130.8 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.9105/2.362, allocations: 276.5 MB / 1.298 GB, free: 118.9 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.713e-06/2.362, allocations: 0 / 1.298 GB, free: 118.9 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.875e-05/2.362, allocations: 21.41 kB / 1.298 GB, free: 118.9 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.002087/2.364, allocations: 1.073 MB / 1.299 GB, free: 118.1 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/2.364, allocations: 10.25 kB / 1.299 GB, free: 118.1 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008547/2.365, allocations: 179.8 kB / 1.299 GB, free: 118 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009253/2.366, allocations: 0.5352 MB / 1.3 GB, free: 117.6 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.957e-05/2.366, allocations: 39.47 kB / 1.3 GB, free: 117.5 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.638e-05/2.366, allocations: 53.91 kB / 1.3 GB, free: 117.5 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003846/2.37, allocations: 1.141 MB / 1.301 GB, free: 116.9 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/2.37, allocations: 9.984 kB / 1.301 GB, free: 116.9 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.371e-05/2.37, allocations: 19.47 kB / 1.301 GB, free: 116.9 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.829e-05/2.37, allocations: 19.08 kB / 1.301 GB, free: 116.9 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003751/2.374, allocations: 0.9974 MB / 1.302 GB, free: 116.5 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003713/2.378, allocations: 2.632 MB / 1.304 GB, free: 114.2 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003587/2.381, allocations: 0.8607 MB / 1.305 GB, free: 113.8 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002418/2.381, allocations: 105.3 kB / 1.305 GB, free: 113.7 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/2.381, allocations: 41.98 kB / 1.305 GB, free: 113.7 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 2.404e-06/2.382, allocations: 3.938 kB / 1.305 GB, free: 113.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.006947/2.388, allocations: 1.556 MB / 1.307 GB, free: 113.1 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.753e-05/2.389, allocations: 169.8 kB / 1.307 GB, free: 112.9 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000741/2.389, allocations: 0.5737 MB / 1.308 GB, free: 112.6 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.638e-05/2.389, allocations: 33.52 kB / 1.308 GB, free: 112.5 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001976/2.39, allocations: 361.8 kB / 1.308 GB, free: 112.2 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.562e-05/2.39, allocations: 54.02 kB / 1.308 GB, free: 112.2 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-05/2.39, allocations: 6.844 kB / 1.308 GB, free: 112.1 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.781e-05/2.39, allocations: 377.1 kB / 1.308 GB, free: 111.8 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009709/2.391, allocations: 359.6 kB / 1.309 GB, free: 111.6 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001059/2.392, allocations: 0.5146 MB / 1.309 GB, free: 111.3 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001067/2.393, allocations: 373.7 kB / 1.31 GB, free: 111.1 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/2.393, allocations: 0 / 1.31 GB, free: 111.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002361/2.395, allocations: 0.9057 MB / 1.31 GB, free: 110.7 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002721/2.396, allocations: 1.138 MB / 1.312 GB, free: 109.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.413e-06/2.396, allocations: 11.84 kB / 1.312 GB, free: 109.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/2.396, allocations: 3.812 kB / 1.312 GB, free: 109.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004688/2.4, allocations: 0.8081 MB / 1.312 GB, free: 109.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002151/2.403, allocations: 2.092 MB / 1.314 GB, free: 107.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001565/2.404, allocations: 219.2 kB / 1.315 GB, free: 107 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.648e-05/2.404, allocations: 23.98 kB / 1.315 GB, free: 107 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/2.404, allocations: 4 kB / 1.315 GB, free: 107 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000694/2.405, allocations: 355.4 kB / 1.315 GB, free: 106.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/2.405, allocations: 4.359 kB / 1.315 GB, free: 106.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.706e-06/2.405, allocations: 12 kB / 1.315 GB, free: 106.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004383/2.405, allocations: 107.9 kB / 1.315 GB, free: 106.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/2.405, allocations: 7.938 kB / 1.315 GB, free: 106.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006548/2.406, allocations: 99.38 kB / 1.315 GB, free: 106.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.439e-05/2.406, allocations: 16 kB / 1.315 GB, free: 106.4 MB / 0.6198 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 47 * 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.0003932/2.406, allocations: 261 kB / 1.315 GB, free: 106.1 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001364/2.407, allocations: 71.2 kB / 1.315 GB, free: 106.1 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002076/2.409, allocations: 0.6998 MB / 1.316 GB, free: 105.4 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/2.409, allocations: 0 / 1.316 GB, free: 105.4 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/2.409, allocations: 4 kB / 1.316 GB, free: 105.4 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/2.409, allocations: 0 / 1.316 GB, free: 105.4 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009367/2.41, allocations: 0.747 MB / 1.317 GB, free: 104.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/2.41, allocations: 0 / 1.317 GB, free: 104.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004423/2.414, allocations: 0.7649 MB / 1.318 GB, free: 103.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.1e-05/2.414, allocations: 3.984 kB / 1.318 GB, free: 103.8 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.32e-05/2.414, allocations: 8 kB / 1.318 GB, free: 103.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00639/2.421, allocations: 4.827 MB / 1.322 GB, free: 98.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/2.421, allocations: 3.953 kB / 1.322 GB, free: 98.55 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00241/2.423, allocations: 0.8129 MB / 1.323 GB, free: 97.71 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000298/2.423, allocations: 144.2 kB / 1.323 GB, free: 97.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.937e-05/2.423, allocations: 4 kB / 1.323 GB, free: 97.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001054/2.425, allocations: 167.8 kB / 1.323 GB, free: 97.38 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/2.425, allocations: 11.98 kB / 1.323 GB, free: 97.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-05/2.425, allocations: 7.984 kB / 1.323 GB, free: 97.36 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0006184/2.425, allocations: 447 kB / 1.324 GB, free: 96.93 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3e-07/2.425, allocations: 0 / 1.324 GB, free: 96.93 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001368/2.427, allocations: 363.6 kB / 1.324 GB, free: 96.57 MB / 0.6198 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 () * Number of clocked 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.0006546/2.427, allocations: 341 kB / 1.325 GB, free: 96.27 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.006455/2.434, allocations: 1.485 MB / 1.326 GB, free: 94.78 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/2.434, allocations: 0 / 1.326 GB, free: 94.78 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.007696/2.442, allocations: 1.388 MB / 1.327 GB, free: 93.39 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002174/2.444, allocations: 356.8 kB / 1.328 GB, free: 93.04 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01784/2.462, allocations: 4.095 MB / 1.332 GB, free: 88.91 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002879/2.462, allocations: 0.91 MB / 1.333 GB, free: 87.98 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0008075/2.463, allocations: 117.1 kB / 1.333 GB, free: 87.86 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002144/2.463, allocations: 67.33 kB / 1.333 GB, free: 87.8 MB / 0.6198 GB Notification: Performance of SimCode: time 1.032e-06/2.463, allocations: 0 / 1.333 GB, free: 87.8 MB / 0.6198 GB Notification: Performance of Templates: time 0.02285/2.486, allocations: 15.61 MB / 1.348 GB, free: 72.31 MB / 0.6198 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)