Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") [/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.1453/0.1474, allocations: 80.84 MB / 0.5899 GB, free: 6.984 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01589/0.1633, allocations: 15.42 MB / 0.6049 GB, free: 7.488 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.009437/0.1728, allocations: 6.347 MB / 0.6111 GB, free: 1.125 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008315/0.1737, allocations: 19.81 kB / 0.6112 GB, free: 1.105 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001223/0.175, allocations: 254.7 kB / 0.6114 GB, free: 0.8555 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001905/0.1769, allocations: 0.5054 MB / 0.6119 GB, free: 356 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001733/0.1786, allocations: 0.5661 MB / 0.6124 GB, free: 15.79 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001402/0.1801, allocations: 1.064 MB / 0.6135 GB, free: 14.73 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005134/0.1806, allocations: 327.1 kB / 0.6138 GB, free: 14.4 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008267/0.1814, allocations: 486 kB / 0.6143 GB, free: 13.93 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004187/0.1818, allocations: 366.4 kB / 0.6146 GB, free: 13.57 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.353e-05/0.1819, allocations: 32 kB / 0.6146 GB, free: 13.54 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009104/0.1828, allocations: 0.5188 MB / 0.6152 GB, free: 13.02 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001199/0.183, allocations: 115.5 kB / 0.6153 GB, free: 12.9 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002339/0.1832, allocations: 262.6 kB / 0.6155 GB, free: 12.64 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008843/0.1841, allocations: 0.7555 MB / 0.6162 GB, free: 11.89 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.1841, allocations: 4 kB / 0.6163 GB, free: 11.88 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1841, allocations: 0 / 0.6163 GB, free: 11.88 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.467e-06/0.1841, allocations: 3.984 kB / 0.6163 GB, free: 11.88 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001232/0.1854, allocations: 0.8321 MB / 0.6171 GB, free: 11 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.1854, allocations: 12.03 kB / 0.6171 GB, free: 10.98 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002451/0.1857, allocations: 64.27 kB / 0.6171 GB, free: 10.92 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000515/0.1862, allocations: 416.7 kB / 0.6175 GB, free: 10.47 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.494e-05/0.1862, allocations: 24.66 kB / 0.6176 GB, free: 10.45 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.361e-05/0.1863, allocations: 32 kB / 0.6176 GB, free: 10.42 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001517/0.1878, allocations: 0.5165 MB / 0.6181 GB, free: 9.855 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.1878, allocations: 0 / 0.6181 GB, free: 9.855 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.059e-05/0.1879, allocations: 12 kB / 0.6181 GB, free: 9.844 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.526e-05/0.1879, allocations: 12 kB / 0.6181 GB, free: 9.832 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001261/0.1892, allocations: 367.5 kB / 0.6185 GB, free: 9.473 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002188/0.1914, allocations: 2.027 MB / 0.6204 GB, free: 7.324 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001075/0.1925, allocations: 271.7 kB / 0.6207 GB, free: 7.031 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001244/0.1926, allocations: 58.55 kB / 0.6208 GB, free: 6.965 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.698e-05/0.1926, allocations: 0 / 0.6208 GB, free: 6.965 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.896e-05/0.1927, allocations: 50.44 kB / 0.6208 GB, free: 6.906 MB / 478.1 MB Notification: Performance of pre-optimization done (n=9): time 1.092e-06/0.1927, allocations: 0 / 0.6208 GB, free: 6.906 MB / 478.1 MB Notification: Performance of matching and sorting (n=9): time 0.002177/0.1949, allocations: 480.8 kB / 0.6213 GB, free: 6.43 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.881e-05/0.195, allocations: 158.2 kB / 0.6214 GB, free: 6.238 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005219/0.1955, allocations: 0.5222 MB / 0.6219 GB, free: 5.703 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.278e-05/0.1955, allocations: 33.7 kB / 0.622 GB, free: 5.664 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001911/0.1957, allocations: 279.5 kB / 0.6222 GB, free: 5.387 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.688e-05/0.1958, allocations: 27.56 kB / 0.6223 GB, free: 5.359 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.1959, allocations: 69.69 kB / 0.6223 GB, free: 5.285 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.196, allocations: 350.8 kB / 0.6227 GB, free: 4.934 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003956/0.1964, allocations: 136.7 kB / 0.6228 GB, free: 4.797 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004783/0.1969, allocations: 274.4 kB / 0.6231 GB, free: 4.465 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007874/0.1977, allocations: 326.7 kB / 0.6234 GB, free: 4.105 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.1977, allocations: 0 / 0.6234 GB, free: 4.105 MB / 478.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001025/0.1987, allocations: 394.8 kB / 0.6237 GB, free: 3.715 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.1988, allocations: 12 kB / 0.6237 GB, free: 3.703 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.1988, allocations: 7.938 kB / 0.6238 GB, free: 3.695 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.1988, allocations: 4 kB / 0.6238 GB, free: 3.691 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004093/0.1992, allocations: 83.86 kB / 0.6238 GB, free: 3.609 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.1992, allocations: 7.938 kB / 0.6238 GB, free: 3.602 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004794/0.1997, allocations: 83.48 kB / 0.6239 GB, free: 3.52 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.611e-05/0.1998, allocations: 15.98 kB / 0.6239 GB, free: 3.504 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002715/0.2, allocations: 192.1 kB / 0.6241 GB, free: 3.312 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000252/0.2003, allocations: 215.7 kB / 0.6243 GB, free: 3.031 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003224/0.2006, allocations: 231.6 kB / 0.6246 GB, free: 2.762 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.523e-06/0.2006, allocations: 4 kB / 0.6246 GB, free: 2.758 MB / 478.1 MB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.0004873/0.2011, allocations: 296.7 kB / 0.6248 GB, free: 2.461 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.308e-06/0.2012, allocations: 8 kB / 0.6248 GB, free: 2.453 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.2012, allocations: 4.438 kB / 0.6249 GB, free: 2.449 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.921e-06/0.2012, allocations: 11.94 kB / 0.6249 GB, free: 2.438 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002111/0.2014, allocations: 55.91 kB / 0.6249 GB, free: 2.383 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.2014, allocations: 8.469 kB / 0.6249 GB, free: 2.375 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003508/0.2018, allocations: 47.72 kB / 0.625 GB, free: 2.328 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/0.2018, allocations: 12 kB / 0.625 GB, free: 2.316 MB / 478.1 MB 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 (31): * Single equations (assignments): 31 * 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.0001248/0.2019, allocations: 204.2 kB / 0.6252 GB, free: 2.109 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.202, allocations: 43.44 kB / 0.6252 GB, free: 2.066 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007991/0.2028, allocations: 269.2 kB / 0.6255 GB, free: 1.793 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.2029, allocations: 4 kB / 0.6255 GB, free: 1.789 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.2029, allocations: 0 / 0.6255 GB, free: 1.789 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.2029, allocations: 0 / 0.6255 GB, free: 1.789 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006635/0.2035, allocations: 0.5929 MB / 0.6261 GB, free: 1.133 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2036, allocations: 4.062 kB / 0.6261 GB, free: 1.129 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002556/0.2038, allocations: 43.95 kB / 0.6261 GB, free: 1.086 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.2038, allocations: 0 / 0.6261 GB, free: 1.086 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.667e-05/0.2038, allocations: 4 kB / 0.6261 GB, free: 1.082 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2039, allocations: 0 / 0.6261 GB, free: 1.082 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2039, allocations: 3.938 kB / 0.6261 GB, free: 1.078 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000794/0.2047, allocations: 384.4 kB / 0.6265 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.672e-05/0.2048, allocations: 120.5 kB / 0.6266 GB, free: 0.543 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.289e-05/0.2048, allocations: 0 / 0.6266 GB, free: 0.543 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000388/0.2052, allocations: 47.89 kB / 0.6266 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.236e-05/0.2053, allocations: 11.98 kB / 0.6266 GB, free: 496 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.2053, allocations: 4 kB / 0.6267 GB, free: 492 kB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003486/0.2057, allocations: 362.8 kB / 0.627 GB, free: 132 kB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2057, allocations: 0 / 0.627 GB, free: 132 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006445/0.2063, allocations: 203.7 kB / 0.6272 GB, free: 15.93 MB / 494.1 MB 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 (9): * Single equations (assignments): 9 * 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.000873/0.2072, allocations: 417.9 kB / 0.6276 GB, free: 15.68 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001093/0.2083, allocations: 384.7 kB / 0.628 GB, free: 15.3 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.2083, allocations: 256 / 0.628 GB, free: 15.3 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000337/0.2087, allocations: 103.9 kB / 0.6281 GB, free: 15.2 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/0.2097, allocations: 238.5 kB / 0.6283 GB, free: 14.98 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004717/0.2144, allocations: 1.435 MB / 0.6297 GB, free: 13.51 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/0.2148, allocations: 0.823 MB / 0.6305 GB, free: 12.66 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003651/0.2152, allocations: 88.22 kB / 0.6306 GB, free: 12.57 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.2153, allocations: 43.42 kB / 0.6306 GB, free: 12.53 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2153, allocations: 0 / 0.6306 GB, free: 12.53 MB / 494.1 MB Notification: Performance of Templates: time 0.01479/0.2301, allocations: 8.96 MB / 0.6394 GB, free: 3.719 MB / 494.1 MB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)