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.6748/0.6748, allocations: 132.3 MB / 144.9 MB, free: 10.52 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.0009292/0.0009293, allocations: 172.5 kB / 176.9 MB, free: 2.312 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.158/1.158, allocations: 170.5 MB / 379.3 MB, free: 11.89 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.001523/0.001523, allocations: 116.9 kB / 450 MB, free: 5.809 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.4209/0.421, allocations: 73.39 MB / 0.6736 GB, free: 47.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6548/1.076, allocations: 354.7 MB / 1.02 GB, free: 44.89 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000223/1.076, allocations: 93.25 kB / 1.02 GB, free: 44.84 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.8206/1.897, allocations: 275.7 MB / 1.289 GB, free: 76.86 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.312e-06/1.897, allocations: 0 / 1.289 GB, free: 76.86 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.347e-05/1.897, allocations: 23.98 kB / 1.289 GB, free: 76.84 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.001737/1.899, allocations: 0.9488 MB / 1.29 GB, free: 75.84 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/1.899, allocations: 15.91 kB / 1.29 GB, free: 75.83 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008978/1.9, allocations: 181.7 kB / 1.29 GB, free: 75.65 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000917/1.9, allocations: 0.5229 MB / 1.291 GB, free: 75.09 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/1.901, allocations: 41 kB / 1.291 GB, free: 75.04 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.75e-05/1.901, allocations: 51.61 kB / 1.291 GB, free: 75 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00285/1.903, allocations: 0.9428 MB / 1.292 GB, free: 74.01 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/1.903, allocations: 8 kB / 1.292 GB, free: 74 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.018e-05/1.904, allocations: 16 kB / 1.292 GB, free: 73.99 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.173e-05/1.904, allocations: 20 kB / 1.292 GB, free: 73.97 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00259/1.906, allocations: 0.7445 MB / 1.293 GB, free: 73.22 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003078/1.909, allocations: 2.634 MB / 1.295 GB, free: 70.44 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002498/1.912, allocations: 0.6283 MB / 1.296 GB, free: 69.78 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/1.912, allocations: 74.56 kB / 1.296 GB, free: 69.7 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002168/1.912, allocations: 113.1 kB / 1.296 GB, free: 69.57 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.772e-05/1.912, allocations: 42.48 kB / 1.296 GB, free: 69.52 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.994e-06/1.912, allocations: 0 / 1.296 GB, free: 69.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.005819/1.918, allocations: 1.055 MB / 1.297 GB, free: 68.46 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/1.918, allocations: 158.2 kB / 1.297 GB, free: 68.27 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006884/1.919, allocations: 0.5662 MB / 1.298 GB, free: 67.69 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.213e-05/1.919, allocations: 37.7 kB / 1.298 GB, free: 67.65 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002061/1.919, allocations: 351.9 kB / 1.298 GB, free: 67.3 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.818e-05/1.919, allocations: 59.19 kB / 1.298 GB, free: 67.24 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.699e-05/1.919, allocations: 8.109 kB / 1.298 GB, free: 67.23 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001141/1.919, allocations: 382.7 kB / 1.299 GB, free: 66.85 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002965/1.92, allocations: 148.9 kB / 1.299 GB, free: 66.71 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003614/1.92, allocations: 313.9 kB / 1.299 GB, free: 66.33 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003181/1.92, allocations: 170 kB / 1.299 GB, free: 66.17 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/1.92, allocations: 4 kB / 1.299 GB, free: 66.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008992/1.921, allocations: 0.4927 MB / 1.3 GB, free: 65.66 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002453/1.921, allocations: 1.134 MB / 1.301 GB, free: 64.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/1.921, allocations: 4 kB / 1.301 GB, free: 64.44 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.312e-05/1.922, allocations: 4 kB / 1.301 GB, free: 64.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005165/1.927, allocations: 0.8154 MB / 1.302 GB, free: 63.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001867/1.929, allocations: 1.984 MB / 1.304 GB, free: 61.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001516/1.93, allocations: 211.3 kB / 1.304 GB, free: 61.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.528e-05/1.93, allocations: 23.98 kB / 1.304 GB, free: 61.33 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/1.93, allocations: 4 kB / 1.304 GB, free: 61.33 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004062/1.931, allocations: 287.6 kB / 1.304 GB, free: 61.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/1.931, allocations: 4 kB / 1.304 GB, free: 61.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.804e-06/1.931, allocations: 8 kB / 1.304 GB, free: 61.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004095/1.931, allocations: 111.8 kB / 1.304 GB, free: 60.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/1.931, allocations: 7.984 kB / 1.304 GB, free: 60.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005956/1.932, allocations: 95.72 kB / 1.304 GB, free: 60.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.449e-05/1.932, allocations: 16 kB / 1.304 GB, free: 60.81 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 () * 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.0001334/1.932, allocations: 128.9 kB / 1.304 GB, free: 60.68 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001405/1.932, allocations: 67.11 kB / 1.304 GB, free: 60.61 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005862/1.933, allocations: 300.6 kB / 1.305 GB, free: 60.3 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/1.933, allocations: 4 kB / 1.305 GB, free: 60.3 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/1.933, allocations: 0 / 1.305 GB, free: 60.3 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/1.933, allocations: 0 / 1.305 GB, free: 60.3 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009118/1.934, allocations: 0.7449 MB / 1.306 GB, free: 59.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/1.934, allocations: 0 / 1.306 GB, free: 59.49 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003854/1.937, allocations: 0.7726 MB / 1.306 GB, free: 58.72 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/1.937, allocations: 0 / 1.306 GB, free: 58.72 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.548e-05/1.937, allocations: 11.98 kB / 1.306 GB, free: 58.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003808/1.941, allocations: 4.374 MB / 1.311 GB, free: 53.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/1.941, allocations: 3.953 kB / 1.311 GB, free: 53.93 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005569/1.942, allocations: 421.4 kB / 1.311 GB, free: 53.49 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001732/1.942, allocations: 140.3 kB / 1.311 GB, free: 53.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/1.942, allocations: 8.078 kB / 1.311 GB, free: 53.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009771/1.943, allocations: 167.6 kB / 1.311 GB, free: 53.16 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.895e-05/1.943, allocations: 19.97 kB / 1.311 GB, free: 53.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.556e-05/1.943, allocations: 4 kB / 1.311 GB, free: 53.14 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004152/1.944, allocations: 443.1 kB / 1.312 GB, free: 52.71 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/1.944, allocations: 0 / 1.312 GB, free: 52.71 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001/1.945, allocations: 359.6 kB / 1.312 GB, free: 52.36 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 () * 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.0005983/1.945, allocations: 340.6 kB / 1.312 GB, free: 52.02 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.004048/1.949, allocations: 1.067 MB / 1.313 GB, free: 50.96 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/1.949, allocations: 0 / 1.313 GB, free: 50.96 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.006224/1.956, allocations: 1.187 MB / 1.315 GB, free: 49.77 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001745/1.957, allocations: 362.5 kB / 1.315 GB, free: 49.42 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01432/1.972, allocations: 3.41 MB / 1.318 GB, free: 45.97 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/1.972, allocations: 0.9073 MB / 1.319 GB, free: 45.04 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0007654/1.973, allocations: 165 kB / 1.319 GB, free: 44.87 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001777/1.973, allocations: 51.39 kB / 1.319 GB, free: 44.82 MB / 0.6198 GB Notification: Performance of SimCode: time 4.21e-07/1.973, allocations: 0 / 1.319 GB, free: 44.82 MB / 0.6198 GB Notification: Performance of Templates: time 0.02166/1.995, allocations: 17.04 MB / 1.336 GB, free: 27.84 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)