Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") [/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.2137/0.2158, allocations: 80.82 MB / 0.6706 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02553/0.2414, allocations: 17.42 MB / 0.6876 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01271/0.2542, allocations: 6.741 MB / 0.6942 GB, free: 9.809 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001166/0.2554, allocations: 11.94 kB / 0.6942 GB, free: 9.797 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.00164/0.2572, allocations: 298.2 kB / 0.6945 GB, free: 9.504 MB / 0.5294 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.00262/0.2598, allocations: 0.5479 MB / 0.695 GB, free: 8.953 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002307/0.2621, allocations: 0.636 MB / 0.6957 GB, free: 8.324 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002064/0.2642, allocations: 1.04 MB / 0.6967 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007823/0.265, allocations: 356.8 kB / 0.697 GB, free: 6.918 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001225/0.2662, allocations: 490 kB / 0.6975 GB, free: 6.438 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007864/0.267, allocations: 350.5 kB / 0.6978 GB, free: 6.094 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001348/0.2672, allocations: 43.94 kB / 0.6979 GB, free: 6.051 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001366/0.2686, allocations: 0.6201 MB / 0.6985 GB, free: 5.43 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002125/0.2688, allocations: 143.5 kB / 0.6986 GB, free: 5.289 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003704/0.2692, allocations: 282.5 kB / 0.6989 GB, free: 5.012 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001752/0.2709, allocations: 0.9035 MB / 0.6998 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.271, allocations: 3.938 kB / 0.6998 GB, free: 4.102 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.894e-06/0.271, allocations: 0 / 0.6998 GB, free: 4.102 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.668e-05/0.271, allocations: 0 / 0.6998 GB, free: 4.102 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.002048/0.2731, allocations: 0.8993 MB / 0.7006 GB, free: 3.152 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.396e-05/0.2731, allocations: 8.031 kB / 0.7006 GB, free: 3.145 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004165/0.2735, allocations: 76.17 kB / 0.7007 GB, free: 3.07 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001083/0.2746, allocations: 477 kB / 0.7012 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.478e-05/0.2747, allocations: 24.66 kB / 0.7012 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.409e-05/0.2748, allocations: 36 kB / 0.7012 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001261/0.2761, allocations: 482.1 kB / 0.7017 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.2761, allocations: 4 kB / 0.7017 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.454e-05/0.2761, allocations: 12 kB / 0.7017 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.359e-05/0.2762, allocations: 8 kB / 0.7017 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/0.2772, allocations: 325.8 kB / 0.702 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002913/0.2801, allocations: 2.208 MB / 0.7042 GB, free: 15.3 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007568/0.2809, allocations: 190.6 kB / 0.7044 GB, free: 15.11 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001553/0.2811, allocations: 64.81 kB / 0.7044 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001606/0.2827, allocations: 0.9199 MB / 0.7053 GB, free: 14 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.314e-05/0.2828, allocations: 34.56 kB / 0.7054 GB, free: 13.96 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.833e-06/0.2828, allocations: 3.938 kB / 0.7054 GB, free: 13.96 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.001515/0.2843, allocations: 348.8 kB / 0.7057 GB, free: 13.61 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.454e-05/0.2844, allocations: 114.8 kB / 0.7058 GB, free: 13.47 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000879/0.2853, allocations: 0.6474 MB / 0.7064 GB, free: 12.82 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.413e-05/0.2853, allocations: 25.7 kB / 0.7065 GB, free: 12.79 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002874/0.2856, allocations: 319.5 kB / 0.7068 GB, free: 12.47 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.776e-05/0.2857, allocations: 43.39 kB / 0.7068 GB, free: 12.43 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001507/0.2858, allocations: 77.59 kB / 0.7069 GB, free: 12.34 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001923/0.286, allocations: 374.7 kB / 0.7072 GB, free: 11.97 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003731/0.2864, allocations: 112.6 kB / 0.7073 GB, free: 11.86 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005614/0.287, allocations: 301.9 kB / 0.7076 GB, free: 11.48 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000762/0.2878, allocations: 337.1 kB / 0.708 GB, free: 11.09 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.365e-06/0.2878, allocations: 4 kB / 0.708 GB, free: 11.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001157/0.289, allocations: 417.3 kB / 0.7084 GB, free: 10.68 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/0.289, allocations: 8 kB / 0.7084 GB, free: 10.67 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.289, allocations: 4 kB / 0.7084 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.762e-05/0.289, allocations: 8 kB / 0.7084 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000401/0.2895, allocations: 92.31 kB / 0.7085 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.669e-05/0.2895, allocations: 15.88 kB / 0.7085 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005099/0.29, allocations: 75.34 kB / 0.7086 GB, free: 10.48 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.491e-05/0.29, allocations: 16 kB / 0.7086 GB, free: 10.46 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003842/0.2904, allocations: 224.1 kB / 0.7088 GB, free: 10.24 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000426/0.2909, allocations: 270.8 kB / 0.709 GB, free: 9.895 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005171/0.2914, allocations: 286.1 kB / 0.7093 GB, free: 9.559 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.11e-06/0.2914, allocations: 4 kB / 0.7093 GB, free: 9.555 MB / 0.545 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.0007657/0.2922, allocations: 367.2 kB / 0.7097 GB, free: 9.191 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.2922, allocations: 7.984 kB / 0.7097 GB, free: 9.184 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/0.2922, allocations: 4 kB / 0.7097 GB, free: 9.18 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.2923, allocations: 12.5 kB / 0.7097 GB, free: 9.168 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002894/0.2926, allocations: 79.91 kB / 0.7098 GB, free: 9.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/0.2926, allocations: 7.938 kB / 0.7098 GB, free: 9.082 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004604/0.293, allocations: 43.72 kB / 0.7098 GB, free: 9.039 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.667e-05/0.2931, allocations: 16.16 kB / 0.7098 GB, free: 9.023 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000249/0.2934, allocations: 200.1 kB / 0.71 GB, free: 8.82 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001324/0.2935, allocations: 55.28 kB / 0.7101 GB, free: 8.766 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008065/0.2943, allocations: 241.9 kB / 0.7103 GB, free: 8.523 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.2943, allocations: 0 / 0.7103 GB, free: 8.523 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.373e-06/0.2943, allocations: 0 / 0.7103 GB, free: 8.523 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.2944, allocations: 0 / 0.7103 GB, free: 8.523 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007362/0.2951, allocations: 397.4 kB / 0.7107 GB, free: 8.086 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.2951, allocations: 4 kB / 0.7107 GB, free: 8.082 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002327/0.2954, allocations: 31.97 kB / 0.7107 GB, free: 8.051 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.285e-06/0.2954, allocations: 4 kB / 0.7107 GB, free: 8.047 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.147e-05/0.2954, allocations: 11.92 kB / 0.7107 GB, free: 8.035 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.2954, allocations: 4 kB / 0.7107 GB, free: 8.031 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/0.2954, allocations: 3.984 kB / 0.7107 GB, free: 8.027 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001187/0.2966, allocations: 406.6 kB / 0.7111 GB, free: 7.613 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002112/0.2969, allocations: 132.4 kB / 0.7113 GB, free: 7.465 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.243e-05/0.2969, allocations: 3.938 kB / 0.7113 GB, free: 7.461 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00033/0.2973, allocations: 32.03 kB / 0.7113 GB, free: 7.43 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.916e-05/0.2974, allocations: 7.984 kB / 0.7113 GB, free: 7.422 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-05/0.2974, allocations: 4 kB / 0.7113 GB, free: 7.418 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006746/0.2981, allocations: 458.8 kB / 0.7117 GB, free: 6.973 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2981, allocations: 4 kB / 0.7117 GB, free: 6.969 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001105/0.2992, allocations: 239.8 kB / 0.712 GB, free: 6.734 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (senVolFlo.d) * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001522/0.3007, allocations: 434.8 kB / 0.7124 GB, free: 6.441 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001364/0.3021, allocations: 393.3 kB / 0.7128 GB, free: 6.059 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/0.3021, allocations: 4 kB / 0.7128 GB, free: 6.055 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003066/0.3025, allocations: 79.88 kB / 0.7128 GB, free: 5.977 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001454/0.3039, allocations: 281.6 kB / 0.7131 GB, free: 5.703 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003773/0.3077, allocations: 1.15 MB / 0.7142 GB, free: 4.52 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005557/0.3083, allocations: 0.8468 MB / 0.7151 GB, free: 3.645 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004686/0.3088, allocations: 108.7 kB / 0.7152 GB, free: 3.539 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/0.3089, allocations: 47.42 kB / 0.7152 GB, free: 3.492 MB / 0.545 GB Notification: Performance of SimCode: time 3.31e-07/0.3089, allocations: 0 / 0.7152 GB, free: 3.492 MB / 0.545 GB Notification: Performance of Templates: time 0.02427/0.3332, allocations: 10.78 MB / 0.7257 GB, free: 8.844 MB / 0.5606 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)