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.2224/0.2249, allocations: 80.84 MB / 0.6706 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02518/0.2501, allocations: 17.41 MB / 0.6876 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01261/0.2628, allocations: 6.741 MB / 0.6942 GB, free: 9.816 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00104/0.2639, allocations: 15.88 kB / 0.6942 GB, free: 9.801 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001408/0.2654, allocations: 298.2 kB / 0.6945 GB, free: 9.508 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.002146/0.2675, allocations: 0.544 MB / 0.695 GB, free: 8.961 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002171/0.2697, allocations: 0.6336 MB / 0.6957 GB, free: 8.332 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001807/0.2715, allocations: 1.044 MB / 0.6967 GB, free: 7.281 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000768/0.2723, allocations: 352.8 kB / 0.697 GB, free: 6.926 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001159/0.2735, allocations: 486.1 kB / 0.6975 GB, free: 6.449 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007246/0.2742, allocations: 358.4 kB / 0.6978 GB, free: 6.098 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001281/0.2744, allocations: 36 kB / 0.6979 GB, free: 6.062 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001518/0.2759, allocations: 0.6202 MB / 0.6985 GB, free: 5.441 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002499/0.2762, allocations: 151.4 kB / 0.6986 GB, free: 5.293 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0005493/0.2767, allocations: 278.5 kB / 0.6989 GB, free: 5.02 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002199/0.2789, allocations: 0.8989 MB / 0.6998 GB, free: 4.117 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.827e-06/0.279, allocations: 4 kB / 0.6998 GB, free: 4.113 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.216e-06/0.279, allocations: 0 / 0.6998 GB, free: 4.113 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.519e-05/0.279, allocations: 0 / 0.6998 GB, free: 4.113 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.002329/0.2814, allocations: 0.9256 MB / 0.7007 GB, free: 3.137 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.2814, allocations: 12.03 kB / 0.7007 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003857/0.2818, allocations: 76.5 kB / 0.7007 GB, free: 3.051 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009987/0.2828, allocations: 477.5 kB / 0.7012 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.355e-05/0.2829, allocations: 24.66 kB / 0.7012 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.716e-05/0.2829, allocations: 36 kB / 0.7013 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001237/0.2842, allocations: 486.1 kB / 0.7017 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.2842, allocations: 0 / 0.7017 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.341e-05/0.2843, allocations: 15.98 kB / 0.7017 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.961e-05/0.2843, allocations: 12 kB / 0.7018 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001077/0.2854, allocations: 325.8 kB / 0.7021 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003288/0.2887, allocations: 2.204 MB / 0.7042 GB, free: 15.28 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007304/0.2894, allocations: 206.5 kB / 0.7044 GB, free: 15.07 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001528/0.2896, allocations: 60.83 kB / 0.7045 GB, free: 15.01 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001419/0.291, allocations: 0.9123 MB / 0.7054 GB, free: 13.98 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.691e-05/0.2911, allocations: 34.56 kB / 0.7054 GB, free: 13.93 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.894e-06/0.2911, allocations: 0 / 0.7054 GB, free: 13.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.001463/0.2926, allocations: 361 kB / 0.7057 GB, free: 13.57 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.536e-05/0.2927, allocations: 106.8 kB / 0.7058 GB, free: 13.45 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008334/0.2935, allocations: 0.6475 MB / 0.7065 GB, free: 12.79 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.696e-05/0.2935, allocations: 25.7 kB / 0.7065 GB, free: 12.76 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000278/0.2938, allocations: 328 kB / 0.7068 GB, free: 12.43 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.402e-05/0.2939, allocations: 47.64 kB / 0.7069 GB, free: 12.39 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001655/0.2941, allocations: 81.64 kB / 0.7069 GB, free: 12.3 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000188/0.2943, allocations: 370.7 kB / 0.7073 GB, free: 11.93 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003449/0.2946, allocations: 116.5 kB / 0.7074 GB, free: 11.81 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005461/0.2952, allocations: 298 kB / 0.7077 GB, free: 11.44 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007597/0.2959, allocations: 341.1 kB / 0.708 GB, free: 11.05 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.2959, allocations: 0 / 0.708 GB, free: 11.05 MB / 0.545 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001045/0.297, allocations: 417.5 kB / 0.7084 GB, free: 10.64 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.551e-05/0.2971, allocations: 5.344 kB / 0.7084 GB, free: 10.63 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.668e-05/0.2971, allocations: 4 kB / 0.7084 GB, free: 10.63 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.608e-05/0.2971, allocations: 15.94 kB / 0.7084 GB, free: 10.61 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004486/0.2976, allocations: 95.81 kB / 0.7085 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.895e-05/0.2976, allocations: 11.94 kB / 0.7085 GB, free: 10.51 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006199/0.2983, allocations: 67.59 kB / 0.7086 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.347e-05/0.2983, allocations: 16 kB / 0.7086 GB, free: 10.43 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004318/0.2987, allocations: 228 kB / 0.7088 GB, free: 10.2 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004313/0.2992, allocations: 266.9 kB / 0.7091 GB, free: 9.859 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005559/0.2998, allocations: 290.1 kB / 0.7094 GB, free: 9.52 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.677e-06/0.2998, allocations: 4 kB / 0.7094 GB, free: 9.516 MB / 0.545 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.0007577/0.3005, allocations: 372 kB / 0.7097 GB, free: 9.148 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.3006, allocations: 12.12 kB / 0.7097 GB, free: 9.137 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.3006, allocations: 4 kB / 0.7097 GB, free: 9.133 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.3006, allocations: 7.938 kB / 0.7097 GB, free: 9.125 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002659/0.3009, allocations: 75.91 kB / 0.7098 GB, free: 9.051 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.304e-05/0.3009, allocations: 15.92 kB / 0.7098 GB, free: 9.035 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004197/0.3013, allocations: 35.81 kB / 0.7099 GB, free: 9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.746e-05/0.3014, allocations: 20 kB / 0.7099 GB, free: 8.98 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.00018/0.3016, allocations: 196.2 kB / 0.7101 GB, free: 8.781 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.3017, allocations: 59.62 kB / 0.7101 GB, free: 8.723 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006914/0.3024, allocations: 237.9 kB / 0.7104 GB, free: 8.484 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.3024, allocations: 11.98 kB / 0.7104 GB, free: 8.473 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.3024, allocations: 0 / 0.7104 GB, free: 8.473 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-06/0.3024, allocations: 4 kB / 0.7104 GB, free: 8.469 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000535/0.303, allocations: 397.3 kB / 0.7107 GB, free: 8.031 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.303, allocations: 0 / 0.7107 GB, free: 8.031 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002177/0.3032, allocations: 39.95 kB / 0.7108 GB, free: 7.992 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.3032, allocations: 0 / 0.7108 GB, free: 7.992 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.14e-05/0.3032, allocations: 7.938 kB / 0.7108 GB, free: 7.984 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.3032, allocations: 0 / 0.7108 GB, free: 7.984 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.3033, allocations: 4 kB / 0.7108 GB, free: 7.98 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009312/0.3042, allocations: 410.9 kB / 0.7112 GB, free: 7.562 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001522/0.3044, allocations: 124.8 kB / 0.7113 GB, free: 7.422 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.364e-05/0.3044, allocations: 11.92 kB / 0.7113 GB, free: 7.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000325/0.3048, allocations: 19.98 kB / 0.7113 GB, free: 7.391 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.495e-05/0.3048, allocations: 7.984 kB / 0.7113 GB, free: 7.383 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.927e-05/0.3049, allocations: 7.984 kB / 0.7114 GB, free: 7.375 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005634/0.3054, allocations: 462.8 kB / 0.7118 GB, free: 6.926 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3054, allocations: 4.062 kB / 0.7118 GB, free: 6.922 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008122/0.3063, allocations: 231.7 kB / 0.712 GB, free: 6.695 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.001169/0.3074, allocations: 451 kB / 0.7124 GB, free: 6.387 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001104/0.3086, allocations: 392.5 kB / 0.7128 GB, free: 6.004 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3086, allocations: 0 / 0.7128 GB, free: 6.004 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002844/0.3089, allocations: 85 kB / 0.7129 GB, free: 5.922 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001331/0.3102, allocations: 288.2 kB / 0.7132 GB, free: 5.645 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00349/0.3137, allocations: 1.165 MB / 0.7143 GB, free: 4.445 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004876/0.3142, allocations: 0.8546 MB / 0.7152 GB, free: 3.562 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004443/0.3147, allocations: 104.7 kB / 0.7153 GB, free: 3.461 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.3148, allocations: 43.42 kB / 0.7153 GB, free: 3.418 MB / 0.545 GB Notification: Performance of SimCode: time 9.52e-07/0.3148, allocations: 0 / 0.7153 GB, free: 3.418 MB / 0.545 GB Notification: Performance of Templates: time 0.02086/0.3357, allocations: 10.61 MB / 0.7257 GB, free: 8.938 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)