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.2084/0.2096, allocations: 82.21 MB / 0.5935 GB, free: 5.973 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01658/0.2262, allocations: 15.96 MB / 0.6091 GB, free: 5.953 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.009171/0.2354, allocations: 6.396 MB / 0.6153 GB, free: 15.55 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00056/0.236, allocations: 15.88 kB / 0.6153 GB, free: 15.53 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008347/0.2369, allocations: 226.8 kB / 0.6155 GB, free: 15.31 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.001382/0.2383, allocations: 469.6 kB / 0.616 GB, free: 14.85 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001537/0.2398, allocations: 0.5227 MB / 0.6165 GB, free: 14.34 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001313/0.2412, allocations: 1.212 MB / 0.6177 GB, free: 13.12 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004411/0.2416, allocations: 278.6 kB / 0.6179 GB, free: 12.84 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006366/0.2422, allocations: 418.2 kB / 0.6183 GB, free: 12.43 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004105/0.2427, allocations: 330.6 kB / 0.6187 GB, free: 12.11 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.535e-05/0.2427, allocations: 20 kB / 0.6187 GB, free: 12.09 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009747/0.2437, allocations: 0.5421 MB / 0.6192 GB, free: 11.55 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001384/0.2439, allocations: 123.5 kB / 0.6193 GB, free: 11.43 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001176/0.244, allocations: 129.4 kB / 0.6194 GB, free: 11.29 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006944/0.2447, allocations: 0.6235 MB / 0.62 GB, free: 10.67 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.2447, allocations: 0 / 0.62 GB, free: 10.67 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.063e-06/0.2447, allocations: 0 / 0.62 GB, free: 10.67 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.266e-05/0.2447, allocations: 0 / 0.62 GB, free: 10.67 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001241/0.246, allocations: 0.8098 MB / 0.6208 GB, free: 9.805 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.246, allocations: 8.031 kB / 0.6208 GB, free: 9.797 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002839/0.2463, allocations: 71.25 kB / 0.6209 GB, free: 9.727 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006531/0.247, allocations: 441.4 kB / 0.6213 GB, free: 9.254 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.085e-05/0.247, allocations: 32.59 kB / 0.6214 GB, free: 9.223 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.659e-05/0.2471, allocations: 39.98 kB / 0.6214 GB, free: 9.184 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001104/0.2482, allocations: 0.4903 MB / 0.6219 GB, free: 8.652 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.2482, allocations: 3.953 kB / 0.6219 GB, free: 8.648 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.399e-05/0.2483, allocations: 12 kB / 0.6219 GB, free: 8.637 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.223e-05/0.2483, allocations: 12 kB / 0.6219 GB, free: 8.625 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008778/0.2492, allocations: 345.8 kB / 0.6222 GB, free: 8.289 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002485/0.2517, allocations: 2.204 MB / 0.6244 GB, free: 5.957 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00067/0.2524, allocations: 218.5 kB / 0.6246 GB, free: 5.734 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001344/0.2525, allocations: 60.83 kB / 0.6247 GB, free: 5.672 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001301/0.2538, allocations: 0.9279 MB / 0.6256 GB, free: 4.625 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.2539, allocations: 42.56 kB / 0.6256 GB, free: 4.574 MB / 478.1 MB Notification: Performance of pre-optimization done (n=11): time 1.172e-06/0.2539, allocations: 0 / 0.6256 GB, free: 4.574 MB / 478.1 MB Notification: Performance of matching and sorting (n=11): time 0.001345/0.2552, allocations: 392.6 kB / 0.626 GB, free: 4.184 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.218e-05/0.2553, allocations: 114.8 kB / 0.6261 GB, free: 4.047 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008106/0.2561, allocations: 0.6434 MB / 0.6267 GB, free: 3.391 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.927e-05/0.2562, allocations: 29.7 kB / 0.6267 GB, free: 3.355 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000282/0.2565, allocations: 315.5 kB / 0.627 GB, free: 3.043 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.272e-05/0.2565, allocations: 43.44 kB / 0.6271 GB, free: 3 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.486e-05/0.2565, allocations: 4 kB / 0.6271 GB, free: 2.996 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001823/0.2567, allocations: 370.7 kB / 0.6274 GB, free: 2.625 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003131/0.2571, allocations: 115.9 kB / 0.6276 GB, free: 2.512 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004513/0.2575, allocations: 303.9 kB / 0.6278 GB, free: 2.137 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003345/0.2579, allocations: 144.8 kB / 0.628 GB, free: 1.996 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.2579, allocations: 4 kB / 0.628 GB, free: 1.992 MB / 478.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008209/0.2587, allocations: 442.2 kB / 0.6284 GB, free: 1.555 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000145/0.2589, allocations: 212.9 kB / 0.6286 GB, free: 1.285 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.2589, allocations: 8 kB / 0.6286 GB, free: 1.277 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.771e-05/0.2589, allocations: 4 kB / 0.6286 GB, free: 1.273 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003715/0.2593, allocations: 95.83 kB / 0.6287 GB, free: 1.18 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.49e-05/0.2593, allocations: 7.984 kB / 0.6287 GB, free: 1.172 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003936/0.2597, allocations: 83.41 kB / 0.6288 GB, free: 1.09 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.832e-05/0.2597, allocations: 19.95 kB / 0.6288 GB, free: 1.07 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.153e-06/0.2598, allocations: 4 kB / 0.6288 GB, free: 1.066 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005216/0.2603, allocations: 296.9 kB / 0.6291 GB, free: 0.7773 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.2603, allocations: 8.562 kB / 0.6291 GB, free: 0.7695 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.2603, allocations: 4 kB / 0.6291 GB, free: 0.7656 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002517/0.2606, allocations: 79.91 kB / 0.6292 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.2606, allocations: 11.88 kB / 0.6292 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002824/0.2609, allocations: 59.59 kB / 0.6293 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.2609, allocations: 12 kB / 0.6293 GB, free: 0.6055 MB / 478.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002615/0.2612, allocations: 281 kB / 0.6295 GB, free: 328 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.447e-05/0.2613, allocations: 55.3 kB / 0.6296 GB, free: 272 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006455/0.2619, allocations: 258 kB / 0.6298 GB, free: 8 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.2619, allocations: 0 / 0.6298 GB, free: 8 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.262, allocations: 3.984 kB / 0.6298 GB, free: 4 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.262, allocations: 0 / 0.6298 GB, free: 4 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004513/0.2624, allocations: 397.2 kB / 0.6302 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2624, allocations: 0 / 0.6302 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002095/0.2626, allocations: 43.95 kB / 0.6303 GB, free: 15.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.2627, allocations: 7.953 kB / 0.6303 GB, free: 15.52 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.2627, allocations: 0 / 0.6303 GB, free: 15.52 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2627, allocations: 0 / 0.6303 GB, free: 15.52 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.2627, allocations: 3.938 kB / 0.6303 GB, free: 15.51 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008682/0.2636, allocations: 445.4 kB / 0.6307 GB, free: 15.06 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001363/0.2637, allocations: 132.5 kB / 0.6308 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.566e-05/0.2638, allocations: 7.938 kB / 0.6308 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002939/0.2641, allocations: 31.97 kB / 0.6309 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.744e-05/0.2641, allocations: 4 kB / 0.6309 GB, free: 14.87 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/0.2642, allocations: 12.05 kB / 0.6309 GB, free: 14.86 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004752/0.2646, allocations: 454.8 kB / 0.6313 GB, free: 14.42 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2647, allocations: 0 / 0.6313 GB, free: 14.42 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007541/0.2654, allocations: 235.8 kB / 0.6315 GB, free: 14.19 MB / 494.1 MB 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 (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.001052/0.2665, allocations: 449.2 kB / 0.632 GB, free: 13.91 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009835/0.2675, allocations: 424.3 kB / 0.6324 GB, free: 13.5 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.2675, allocations: 0 / 0.6324 GB, free: 13.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002505/0.2677, allocations: 104.5 kB / 0.6325 GB, free: 13.4 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001278/0.269, allocations: 269.3 kB / 0.6327 GB, free: 13.14 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003192/0.2722, allocations: 1.371 MB / 0.6341 GB, free: 11.74 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004711/0.2727, allocations: 0.851 MB / 0.6349 GB, free: 10.86 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004287/0.2732, allocations: 108.7 kB / 0.635 GB, free: 10.75 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.2733, allocations: 47.42 kB / 0.6351 GB, free: 10.71 MB / 494.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2733, allocations: 0 / 0.6351 GB, free: 10.71 MB / 494.1 MB Notification: Performance of Templates: time 0.01818/0.2915, allocations: 9.875 MB / 0.6447 GB, free: 0.9844 MB / 494.1 MB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: