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.1829/0.1836, allocations: 82.21 MB / 0.5934 GB, free: 6.051 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01381/0.1975, allocations: 13.08 MB / 0.6061 GB, free: 8.926 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.009196/0.2067, allocations: 5.748 MB / 0.6117 GB, free: 3.168 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006339/0.2074, allocations: 19.81 kB / 0.6118 GB, free: 3.148 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001212/0.2086, allocations: 322.6 kB / 0.6121 GB, free: 2.832 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001295/0.2099, allocations: 0.5218 MB / 0.6126 GB, free: 2.309 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004639/0.2146, allocations: 1.636 MB / 0.6142 GB, free: 0.7031 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001081/0.2157, allocations: 0.6404 MB / 0.6148 GB, free: 64 kB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004476/0.2161, allocations: 281.1 kB / 0.6151 GB, free: 15.79 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005973/0.2167, allocations: 370.8 kB / 0.6154 GB, free: 15.42 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003352/0.2171, allocations: 246.9 kB / 0.6157 GB, free: 15.18 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 4.321e-05/0.2171, allocations: 16 kB / 0.6157 GB, free: 15.16 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000714/0.2179, allocations: 351.5 kB / 0.616 GB, free: 14.82 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001275/0.218, allocations: 99.58 kB / 0.6161 GB, free: 14.72 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001011/0.2181, allocations: 117.5 kB / 0.6162 GB, free: 14.6 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005885/0.2187, allocations: 0.5144 MB / 0.6167 GB, free: 14.09 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.756e-06/0.2187, allocations: 0 / 0.6167 GB, free: 14.09 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2187, allocations: 0 / 0.6167 GB, free: 14.09 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.2187, allocations: 0 / 0.6167 GB, free: 14.09 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.001115/0.2199, allocations: 0.7359 MB / 0.6174 GB, free: 13.3 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.2199, allocations: 12.03 kB / 0.6175 GB, free: 13.29 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002133/0.2201, allocations: 67.28 kB / 0.6175 GB, free: 13.22 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005532/0.2207, allocations: 389 kB / 0.6179 GB, free: 12.8 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.421e-05/0.2207, allocations: 28.66 kB / 0.6179 GB, free: 12.77 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.234e-05/0.2208, allocations: 32 kB / 0.6179 GB, free: 12.74 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00145/0.2222, allocations: 0.5439 MB / 0.6185 GB, free: 12.15 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.2222, allocations: 3.938 kB / 0.6185 GB, free: 12.15 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.312e-05/0.2223, allocations: 15.94 kB / 0.6185 GB, free: 12.13 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.157e-05/0.2223, allocations: 12 kB / 0.6185 GB, free: 12.12 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001273/0.2236, allocations: 395.5 kB / 0.6189 GB, free: 11.73 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002276/0.2259, allocations: 2.038 MB / 0.6209 GB, free: 9.574 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001133/0.227, allocations: 311.6 kB / 0.6212 GB, free: 9.242 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.085e-05/0.2271, allocations: 0 / 0.6212 GB, free: 9.242 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.661e-05/0.2271, allocations: 38.55 kB / 0.6212 GB, free: 9.195 MB / 478.1 MB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.2271, allocations: 4 kB / 0.6212 GB, free: 9.191 MB / 478.1 MB Notification: Performance of matching and sorting (n=9): time 0.002233/0.2294, allocations: 0.5324 MB / 0.6217 GB, free: 8.652 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.907e-05/0.2294, allocations: 158.2 kB / 0.6219 GB, free: 8.461 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005386/0.23, allocations: 0.5144 MB / 0.6224 GB, free: 7.934 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.384e-05/0.23, allocations: 33.7 kB / 0.6224 GB, free: 7.895 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001925/0.2302, allocations: 271.6 kB / 0.6227 GB, free: 7.625 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.824e-05/0.2303, allocations: 31.55 kB / 0.6227 GB, free: 7.594 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.539e-05/0.2303, allocations: 8 kB / 0.6227 GB, free: 7.586 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.2304, allocations: 354.8 kB / 0.6231 GB, free: 7.23 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004225/0.2309, allocations: 135.9 kB / 0.6232 GB, free: 7.098 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005042/0.2314, allocations: 282.5 kB / 0.6235 GB, free: 6.758 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004532/0.2318, allocations: 171.7 kB / 0.6236 GB, free: 6.59 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.2319, allocations: 7.953 kB / 0.6236 GB, free: 6.582 MB / 478.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009936/0.2329, allocations: 420.7 kB / 0.624 GB, free: 6.164 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000404/0.2333, allocations: 1.14 MB / 0.6251 GB, free: 4.938 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.2333, allocations: 0 / 0.6251 GB, free: 4.938 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.2333, allocations: 8 kB / 0.6251 GB, free: 4.93 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003904/0.2337, allocations: 87.88 kB / 0.6252 GB, free: 4.844 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.2337, allocations: 11.92 kB / 0.6252 GB, free: 4.832 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004916/0.2342, allocations: 83.55 kB / 0.6253 GB, free: 4.75 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.927e-05/0.2343, allocations: 19.98 kB / 0.6253 GB, free: 4.73 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.586e-06/0.2343, allocations: 7.953 kB / 0.6253 GB, free: 4.723 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004152/0.2347, allocations: 220.2 kB / 0.6256 GB, free: 4.508 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.2347, allocations: 4 kB / 0.6256 GB, free: 4.504 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.92e-06/0.2347, allocations: 4 kB / 0.6256 GB, free: 4.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002154/0.2349, allocations: 67.84 kB / 0.6256 GB, free: 4.434 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.2349, allocations: 4 kB / 0.6256 GB, free: 4.43 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003012/0.2353, allocations: 55.97 kB / 0.6257 GB, free: 4.375 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.758e-05/0.2353, allocations: 12 kB / 0.6257 GB, free: 4.363 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002457/0.2355, allocations: 252.9 kB / 0.6259 GB, free: 4.105 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.2357, allocations: 51.38 kB / 0.626 GB, free: 4.055 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008594/0.2365, allocations: 281.8 kB / 0.6263 GB, free: 3.77 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.2365, allocations: 11.94 kB / 0.6263 GB, free: 3.758 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.2365, allocations: 0 / 0.6263 GB, free: 3.758 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.2366, allocations: 0 / 0.6263 GB, free: 3.758 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000718/0.2373, allocations: 0.593 MB / 0.6269 GB, free: 3.102 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.2373, allocations: 0 / 0.6269 GB, free: 3.102 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002601/0.2376, allocations: 59.95 kB / 0.6269 GB, free: 3.043 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.2376, allocations: 0 / 0.6269 GB, free: 3.043 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.2376, allocations: 0 / 0.6269 GB, free: 3.043 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.2376, allocations: 7.984 kB / 0.6269 GB, free: 3.035 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2376, allocations: 0 / 0.6269 GB, free: 3.035 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008585/0.2385, allocations: 423.9 kB / 0.6273 GB, free: 2.586 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/0.2386, allocations: 136.5 kB / 0.6274 GB, free: 2.434 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.354e-05/0.2387, allocations: 4 kB / 0.6275 GB, free: 2.43 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004023/0.2391, allocations: 51.95 kB / 0.6275 GB, free: 2.379 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.573e-05/0.2391, allocations: 11.94 kB / 0.6275 GB, free: 2.367 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/0.2392, allocations: 7.984 kB / 0.6275 GB, free: 2.359 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003578/0.2395, allocations: 358.8 kB / 0.6279 GB, free: 2.012 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2395, allocations: 0 / 0.6279 GB, free: 2.012 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006883/0.2402, allocations: 195.7 kB / 0.6281 GB, free: 1.82 MB / 478.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008434/0.2411, allocations: 425.4 kB / 0.6285 GB, free: 1.559 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001171/0.2423, allocations: 419.7 kB / 0.6289 GB, free: 1.152 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.2423, allocations: 0 / 0.6289 GB, free: 1.152 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003891/0.2427, allocations: 124.7 kB / 0.629 GB, free: 1.031 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001209/0.2439, allocations: 245.4 kB / 0.6292 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004865/0.2488, allocations: 1.53 MB / 0.6307 GB, free: 15.23 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004023/0.2492, allocations: 0.835 MB / 0.6315 GB, free: 14.37 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004351/0.2496, allocations: 88.22 kB / 0.6316 GB, free: 14.28 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.2497, allocations: 39.42 kB / 0.6316 GB, free: 14.25 MB / 494.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2497, allocations: 3.938 kB / 0.6316 GB, free: 14.24 MB / 494.1 MB Notification: Performance of Templates: time 0.0152/0.265, allocations: 8.539 MB / 0.64 GB, free: 5.836 MB / 494.1 MB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: