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.1956/0.1978, allocations: 80.84 MB / 0.6706 GB, free: 4.609 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01917/0.217, allocations: 17.41 MB / 0.6876 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.4134/0.6305, allocations: 6.731 MB / 0.6942 GB, free: 6.977 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008082/0.6314, allocations: 16.06 kB / 0.6942 GB, free: 6.977 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0011/0.6325, allocations: 297 kB / 0.6945 GB, free: 6.977 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.00169/0.6342, allocations: 0.5755 MB / 0.6951 GB, free: 6.957 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001927/0.6361, allocations: 0.6361 MB / 0.6957 GB, free: 6.938 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001504/0.6376, allocations: 1.048 MB / 0.6967 GB, free: 6.934 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005742/0.6382, allocations: 349.8 kB / 0.697 GB, free: 6.895 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009313/0.6392, allocations: 487.5 kB / 0.6975 GB, free: 6.844 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004869/0.6397, allocations: 350.8 kB / 0.6978 GB, free: 6.785 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.101e-05/0.6397, allocations: 34.88 kB / 0.6979 GB, free: 6.785 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001423/0.6412, allocations: 0.6268 MB / 0.6985 GB, free: 6.773 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001898/0.6414, allocations: 147.6 kB / 0.6986 GB, free: 6.75 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003014/0.6417, allocations: 287.8 kB / 0.6989 GB, free: 6.664 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001562/0.6432, allocations: 0.8968 MB / 0.6998 GB, free: 6.535 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.6433, allocations: 4 kB / 0.6998 GB, free: 6.531 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.833e-06/0.6433, allocations: 0 / 0.6998 GB, free: 6.531 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.24e-05/0.6433, allocations: 0 / 0.6998 GB, free: 6.531 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.001431/0.6447, allocations: 0.8986 MB / 0.7007 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.6448, allocations: 8.344 kB / 0.7007 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003401/0.6451, allocations: 76.17 kB / 0.7007 GB, free: 5.902 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007425/0.6459, allocations: 477.8 kB / 0.7012 GB, free: 5.637 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.6459, allocations: 27.69 kB / 0.7012 GB, free: 5.637 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.71e-05/0.646, allocations: 35.09 kB / 0.7013 GB, free: 5.637 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/0.6471, allocations: 483.8 kB / 0.7017 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.6472, allocations: 0 / 0.7017 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.464e-05/0.6472, allocations: 17.53 kB / 0.7017 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.195e-05/0.6472, allocations: 13.16 kB / 0.7017 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009451/0.6482, allocations: 326.1 kB / 0.7021 GB, free: 5.484 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002238/0.6504, allocations: 2.203 MB / 0.7042 GB, free: 3.988 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007132/0.6512, allocations: 193.2 kB / 0.7044 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001476/0.6513, allocations: 63.91 kB / 0.7045 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001213/0.6525, allocations: 0.919 MB / 0.7054 GB, free: 3.176 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.6526, allocations: 39.84 kB / 0.7054 GB, free: 3.137 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=11): time 1.924e-06/0.6526, allocations: 0 / 0.7054 GB, free: 3.137 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.001484/0.6541, allocations: 354.5 kB / 0.7057 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.771e-05/0.6541, allocations: 106.3 kB / 0.7058 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00076/0.6549, allocations: 0.6452 MB / 0.7065 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.099e-05/0.6549, allocations: 30.98 kB / 0.7065 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002091/0.6552, allocations: 315.3 kB / 0.7068 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.101e-05/0.6552, allocations: 48.7 kB / 0.7068 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001335/0.6553, allocations: 81.31 kB / 0.7069 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.6555, allocations: 368 kB / 0.7073 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003612/0.6559, allocations: 111.6 kB / 0.7074 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004576/0.6563, allocations: 306.6 kB / 0.7077 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007193/0.6571, allocations: 342.9 kB / 0.708 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.6571, allocations: 1.062 kB / 0.708 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001108/0.6582, allocations: 422.8 kB / 0.7084 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.157e-05/0.6582, allocations: 7.188 kB / 0.7084 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/0.6583, allocations: 4.688 kB / 0.7084 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.547e-05/0.6583, allocations: 6.531 kB / 0.7084 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004597/0.6588, allocations: 90.38 kB / 0.7085 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.154e-05/0.6588, allocations: 7.516 kB / 0.7085 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005901/0.6594, allocations: 77.2 kB / 0.7086 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.276e-05/0.6594, allocations: 17.67 kB / 0.7086 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003953/0.6598, allocations: 231 kB / 0.7088 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002852/0.6601, allocations: 260.6 kB / 0.7091 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004066/0.6606, allocations: 290.4 kB / 0.7093 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.565e-06/0.6606, allocations: 1.469 kB / 0.7093 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.0007643/0.6613, allocations: 366.7 kB / 0.7097 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.6614, allocations: 6.312 kB / 0.7097 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.6614, allocations: 5.031 kB / 0.7097 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.458e-06/0.6614, allocations: 5.562 kB / 0.7097 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002861/0.6617, allocations: 76.97 kB / 0.7098 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.374e-05/0.6617, allocations: 14.61 kB / 0.7098 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004081/0.6621, allocations: 46.8 kB / 0.7098 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.738e-05/0.6621, allocations: 16.62 kB / 0.7099 GB, free: 1.148 MB / 0.5294 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.0001398/0.6623, allocations: 205.8 kB / 0.7101 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.6624, allocations: 53.44 kB / 0.7101 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000743/0.6631, allocations: 240.9 kB / 0.7103 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.6632, allocations: 8.969 kB / 0.7103 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.6632, allocations: 0.9062 kB / 0.7103 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.6632, allocations: 0.7969 kB / 0.7103 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005826/0.6638, allocations: 392.6 kB / 0.7107 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.6638, allocations: 0 / 0.7107 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002257/0.664, allocations: 34.86 kB / 0.7108 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.664, allocations: 4.938 kB / 0.7108 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.664, allocations: 5.391 kB / 0.7108 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.6641, allocations: 5.328 kB / 0.7108 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.6641, allocations: 0.875 kB / 0.7108 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/0.6651, allocations: 406.1 kB / 0.7112 GB, free: 16.51 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000157/0.6653, allocations: 132.7 kB / 0.7113 GB, free: 16.39 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.915e-05/0.6654, allocations: 2.438 kB / 0.7113 GB, free: 16.39 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003331/0.6657, allocations: 29.78 kB / 0.7113 GB, free: 16.38 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.1e-05/0.6658, allocations: 12 kB / 0.7113 GB, free: 16.38 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.6658, allocations: 7.766 kB / 0.7113 GB, free: 16.38 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007866/0.6666, allocations: 459.4 kB / 0.7118 GB, free: 16.29 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6666, allocations: 0 / 0.7118 GB, free: 16.29 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001271/0.6679, allocations: 233 kB / 0.712 GB, free: 16.27 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.001245/0.6691, allocations: 436.5 kB / 0.7124 GB, free: 16.11 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001352/0.6705, allocations: 396 kB / 0.7128 GB, free: 16.08 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.6705, allocations: 0.5625 kB / 0.7128 GB, free: 16.08 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002948/0.6708, allocations: 84.09 kB / 0.7129 GB, free: 16.07 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001411/0.6722, allocations: 280.9 kB / 0.7131 GB, free: 16.02 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003867/0.6761, allocations: 1.16 MB / 0.7143 GB, free: 15.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005482/0.6767, allocations: 0.8578 MB / 0.7151 GB, free: 14.89 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006084/0.6773, allocations: 103 kB / 0.7152 GB, free: 14.87 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001516/0.6775, allocations: 42.44 kB / 0.7152 GB, free: 14.86 MB / 0.545 GB Notification: Performance of SimCode: time 9.42e-07/0.6775, allocations: 0 / 0.7152 GB, free: 14.86 MB / 0.545 GB Notification: Performance of Templates: time 0.02397/0.7014, allocations: 10.61 MB / 0.7256 GB, free: 12.16 MB / 0.545 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)