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.1831/0.1839, allocations: 82.22 MB / 0.5941 GB, free: 5.578 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01805/0.202, allocations: 16.79 MB / 0.6105 GB, free: 4.719 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01185/0.2139, allocations: 7.081 MB / 0.6174 GB, free: 13.63 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007888/0.2148, allocations: 11.94 kB / 0.6174 GB, free: 13.62 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001105/0.2159, allocations: 254.7 kB / 0.6177 GB, free: 13.37 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00174/0.2176, allocations: 0.4976 MB / 0.6182 GB, free: 12.87 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001948/0.2196, allocations: 0.5596 MB / 0.6187 GB, free: 12.31 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001851/0.2214, allocations: 1.422 MB / 0.6201 GB, free: 10.89 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004902/0.222, allocations: 300.4 kB / 0.6204 GB, free: 10.59 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000833/0.2228, allocations: 430.1 kB / 0.6208 GB, free: 10.16 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004828/0.2233, allocations: 350.5 kB / 0.6211 GB, free: 9.82 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.3e-05/0.2234, allocations: 16 kB / 0.6211 GB, free: 9.805 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001176/0.2245, allocations: 0.5889 MB / 0.6217 GB, free: 9.215 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001506/0.2247, allocations: 135.4 kB / 0.6218 GB, free: 9.082 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002745/0.225, allocations: 284.2 kB / 0.6221 GB, free: 8.797 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001143/0.2261, allocations: 0.8604 MB / 0.623 GB, free: 7.934 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2261, allocations: 4 kB / 0.623 GB, free: 7.93 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.2262, allocations: 4 kB / 0.623 GB, free: 7.926 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.2262, allocations: 0 / 0.623 GB, free: 7.926 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.001323/0.2275, allocations: 0.7944 MB / 0.6237 GB, free: 7.078 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.491e-05/0.2276, allocations: 8.031 kB / 0.6238 GB, free: 7.07 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002942/0.2279, allocations: 76.19 kB / 0.6238 GB, free: 6.996 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006738/0.2286, allocations: 464.9 kB / 0.6243 GB, free: 6.5 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.974e-05/0.2286, allocations: 28.66 kB / 0.6243 GB, free: 6.473 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.05e-05/0.2287, allocations: 39.92 kB / 0.6243 GB, free: 6.434 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001265/0.2299, allocations: 0.4904 MB / 0.6248 GB, free: 5.898 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.23, allocations: 0 / 0.6248 GB, free: 5.898 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.62e-05/0.23, allocations: 12 kB / 0.6248 GB, free: 5.887 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.272e-05/0.23, allocations: 12 kB / 0.6248 GB, free: 5.875 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009734/0.231, allocations: 349.8 kB / 0.6252 GB, free: 5.531 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002599/0.2336, allocations: 2.208 MB / 0.6273 GB, free: 3.199 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000734/0.2344, allocations: 210.6 kB / 0.6275 GB, free: 2.984 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001523/0.2345, allocations: 64.83 kB / 0.6276 GB, free: 2.918 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00135/0.2359, allocations: 0.9355 MB / 0.6285 GB, free: 1.863 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.2359, allocations: 38.5 kB / 0.6285 GB, free: 1.816 MB / 478.1 MB Notification: Performance of pre-optimization done (n=11): time 2.004e-06/0.236, allocations: 0 / 0.6285 GB, free: 1.816 MB / 478.1 MB Notification: Performance of matching and sorting (n=11): time 0.00151/0.2375, allocations: 395.3 kB / 0.6289 GB, free: 1.426 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.858e-05/0.2376, allocations: 102.8 kB / 0.629 GB, free: 1.301 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008478/0.2384, allocations: 0.6435 MB / 0.6296 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.852e-05/0.2385, allocations: 29.7 kB / 0.6297 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003324/0.2388, allocations: 327.4 kB / 0.63 GB, free: 292 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.609e-05/0.2389, allocations: 39.45 kB / 0.63 GB, free: 252 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.802e-05/0.2389, allocations: 41.7 kB / 0.6301 GB, free: 204 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002224/0.2392, allocations: 362.7 kB / 0.6304 GB, free: 15.84 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003412/0.2395, allocations: 111.9 kB / 0.6305 GB, free: 15.73 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004813/0.24, allocations: 311.7 kB / 0.6308 GB, free: 15.34 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007333/0.2408, allocations: 365.2 kB / 0.6312 GB, free: 14.93 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.2408, allocations: 0 / 0.6312 GB, free: 14.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009288/0.2417, allocations: 441.1 kB / 0.6316 GB, free: 14.49 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002056/0.2419, allocations: 216.8 kB / 0.6318 GB, free: 14.22 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.242, allocations: 4 kB / 0.6318 GB, free: 14.21 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.639e-05/0.242, allocations: 4 kB / 0.6318 GB, free: 14.21 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000406/0.2424, allocations: 99.83 kB / 0.6319 GB, free: 14.11 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.683e-05/0.2424, allocations: 11.98 kB / 0.6319 GB, free: 14.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005505/0.243, allocations: 83.34 kB / 0.632 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.35e-05/0.243, allocations: 16 kB / 0.632 GB, free: 14 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.2431, allocations: 6.188 kB / 0.632 GB, free: 14 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005794/0.2436, allocations: 299.9 kB / 0.6323 GB, free: 13.71 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.2437, allocations: 4 kB / 0.6323 GB, free: 13.71 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.2437, allocations: 11.98 kB / 0.6323 GB, free: 13.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002663/0.2439, allocations: 84.41 kB / 0.6324 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.244, allocations: 8 kB / 0.6324 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003218/0.2443, allocations: 55.56 kB / 0.6324 GB, free: 13.55 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.406e-05/0.2443, allocations: 20 kB / 0.6325 GB, free: 13.53 MB / 494.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003306/0.2447, allocations: 268.9 kB / 0.6327 GB, free: 13.26 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.95e-05/0.2448, allocations: 59.28 kB / 0.6328 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007732/0.2455, allocations: 257.9 kB / 0.633 GB, free: 12.94 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.776e-06/0.2456, allocations: 4 kB / 0.633 GB, free: 12.94 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.2456, allocations: 0 / 0.633 GB, free: 12.94 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.2456, allocations: 3.984 kB / 0.633 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005315/0.2461, allocations: 393.3 kB / 0.6334 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.2461, allocations: 4 kB / 0.6334 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002172/0.2464, allocations: 39.97 kB / 0.6334 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.2464, allocations: 7.922 kB / 0.6335 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/0.2464, allocations: 4 kB / 0.6335 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.2464, allocations: 0 / 0.6335 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2464, allocations: 0 / 0.6335 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.2474, allocations: 438.6 kB / 0.6339 GB, free: 12 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001446/0.2476, allocations: 140.5 kB / 0.634 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.373e-05/0.2477, allocations: 4 kB / 0.634 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003125/0.248, allocations: 27.97 kB / 0.634 GB, free: 11.81 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.548e-05/0.2481, allocations: 11.98 kB / 0.6341 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.2481, allocations: 7.984 kB / 0.6341 GB, free: 11.79 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005513/0.2486, allocations: 466.7 kB / 0.6345 GB, free: 11.34 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2486, allocations: 4 kB / 0.6345 GB, free: 11.34 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008038/0.2495, allocations: 231.8 kB / 0.6347 GB, free: 11.11 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 (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.001117/0.2506, allocations: 448.8 kB / 0.6352 GB, free: 10.82 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001045/0.2516, allocations: 417.4 kB / 0.6356 GB, free: 10.42 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.2517, allocations: 0 / 0.6356 GB, free: 10.42 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002712/0.2519, allocations: 94.31 kB / 0.6356 GB, free: 10.33 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001466/0.2534, allocations: 275 kB / 0.6359 GB, free: 10.06 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003673/0.2571, allocations: 1.418 MB / 0.6373 GB, free: 8.617 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004759/0.2576, allocations: 0.8471 MB / 0.6381 GB, free: 7.742 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000438/0.258, allocations: 108.2 kB / 0.6382 GB, free: 7.637 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.2581, allocations: 43.42 kB / 0.6383 GB, free: 7.594 MB / 494.1 MB Notification: Performance of SimCode: time 9.81e-07/0.2581, allocations: 4 kB / 0.6383 GB, free: 7.59 MB / 494.1 MB Notification: Performance of Templates: time 0.01895/0.2771, allocations: 10.17 MB / 0.6482 GB, free: 13.57 MB / 0.4981 GB 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: