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.1782/0.1789, allocations: 82.22 MB / 0.5935 GB, free: 5.984 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01636/0.1953, allocations: 14.19 MB / 0.6073 GB, free: 7.746 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.009364/0.2047, allocations: 5.981 MB / 0.6132 GB, free: 1.754 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005397/0.2053, allocations: 15.88 kB / 0.6132 GB, free: 1.738 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008782/0.2062, allocations: 222.7 kB / 0.6134 GB, free: 1.52 MB / 462.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.001269/0.2075, allocations: 464.7 kB / 0.6138 GB, free: 1.066 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001468/0.209, allocations: 0.508 MB / 0.6143 GB, free: 0.5664 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001421/0.2104, allocations: 1.212 MB / 0.6155 GB, free: 15.35 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004486/0.2109, allocations: 269.1 kB / 0.6158 GB, free: 15.09 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006797/0.2116, allocations: 410.2 kB / 0.6162 GB, free: 14.68 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004395/0.212, allocations: 342.6 kB / 0.6165 GB, free: 14.35 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 4.981e-05/0.2121, allocations: 16 kB / 0.6165 GB, free: 14.33 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009167/0.213, allocations: 487.2 kB / 0.617 GB, free: 13.86 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001195/0.2131, allocations: 95.59 kB / 0.6171 GB, free: 13.76 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001233/0.2133, allocations: 121.4 kB / 0.6172 GB, free: 13.64 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006627/0.2139, allocations: 0.5494 MB / 0.6177 GB, free: 13.09 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.2139, allocations: 3.938 kB / 0.6177 GB, free: 13.08 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.2139, allocations: 0 / 0.6177 GB, free: 13.08 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.214, allocations: 4 kB / 0.6177 GB, free: 13.08 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.001119/0.2151, allocations: 0.7476 MB / 0.6184 GB, free: 12.28 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.2151, allocations: 8.031 kB / 0.6185 GB, free: 12.27 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002258/0.2154, allocations: 67.33 kB / 0.6185 GB, free: 12.2 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005296/0.2159, allocations: 393 kB / 0.6189 GB, free: 11.78 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.934e-05/0.2159, allocations: 28.66 kB / 0.6189 GB, free: 11.75 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.051e-05/0.216, allocations: 28 kB / 0.619 GB, free: 11.72 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001427/0.2174, allocations: 0.5477 MB / 0.6195 GB, free: 11.13 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.2174, allocations: 0 / 0.6195 GB, free: 11.13 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.412e-05/0.2175, allocations: 12 kB / 0.6195 GB, free: 11.12 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.723e-05/0.2175, allocations: 15.92 kB / 0.6195 GB, free: 11.11 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001208/0.2187, allocations: 403.5 kB / 0.6199 GB, free: 10.71 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002284/0.221, allocations: 2.038 MB / 0.6219 GB, free: 8.551 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009739/0.222, allocations: 299.5 kB / 0.6222 GB, free: 8.23 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001297/0.2222, allocations: 58.69 kB / 0.6222 GB, free: 8.164 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.229e-05/0.2222, allocations: 7.984 kB / 0.6222 GB, free: 8.156 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.2222, allocations: 34.5 kB / 0.6223 GB, free: 8.113 MB / 478.1 MB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.2223, allocations: 4 kB / 0.6223 GB, free: 8.109 MB / 478.1 MB Notification: Performance of matching and sorting (n=9): time 0.00208/0.2243, allocations: 0.5321 MB / 0.6228 GB, free: 7.57 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.476e-05/0.2244, allocations: 162.2 kB / 0.6229 GB, free: 7.375 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006222/0.2251, allocations: 0.5144 MB / 0.6234 GB, free: 6.848 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.253e-05/0.2251, allocations: 29.7 kB / 0.6235 GB, free: 6.812 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002007/0.2253, allocations: 271.6 kB / 0.6237 GB, free: 6.543 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.185e-05/0.2254, allocations: 35.53 kB / 0.6238 GB, free: 6.508 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.448e-05/0.2254, allocations: 4 kB / 0.6238 GB, free: 6.504 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.2255, allocations: 354.8 kB / 0.6241 GB, free: 6.148 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003657/0.2259, allocations: 139.8 kB / 0.6242 GB, free: 6.012 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004567/0.2264, allocations: 286.5 kB / 0.6245 GB, free: 5.668 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003999/0.2268, allocations: 162 kB / 0.6247 GB, free: 5.512 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.93e-06/0.2268, allocations: 8 kB / 0.6247 GB, free: 5.504 MB / 478.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009784/0.2278, allocations: 428.5 kB / 0.6251 GB, free: 5.078 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001508/0.228, allocations: 175.7 kB / 0.6253 GB, free: 4.863 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.228, allocations: 4 kB / 0.6253 GB, free: 4.859 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.668e-05/0.228, allocations: 8 kB / 0.6253 GB, free: 4.852 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004311/0.2284, allocations: 87.88 kB / 0.6254 GB, free: 4.766 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/0.2285, allocations: 11.98 kB / 0.6254 GB, free: 4.754 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005167/0.229, allocations: 83.55 kB / 0.6254 GB, free: 4.672 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.599e-05/0.229, allocations: 15.98 kB / 0.6255 GB, free: 4.656 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.027e-06/0.229, allocations: 9.656 kB / 0.6255 GB, free: 4.648 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004389/0.2295, allocations: 227.6 kB / 0.6257 GB, free: 4.426 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.2295, allocations: 4 kB / 0.6257 GB, free: 4.422 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.957e-06/0.2295, allocations: 4 kB / 0.6257 GB, free: 4.418 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002115/0.2297, allocations: 63.91 kB / 0.6258 GB, free: 4.355 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.086e-06/0.2298, allocations: 4 kB / 0.6258 GB, free: 4.352 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003187/0.2301, allocations: 59.81 kB / 0.6258 GB, free: 4.293 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.863e-05/0.2301, allocations: 12 kB / 0.6258 GB, free: 4.281 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.0003244/0.2304, allocations: 249.8 kB / 0.6261 GB, free: 4.027 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001422/0.2306, allocations: 51.39 kB / 0.6261 GB, free: 3.977 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000812/0.2314, allocations: 285.4 kB / 0.6264 GB, free: 3.688 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.2314, allocations: 0 / 0.6264 GB, free: 3.688 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.2314, allocations: 4 kB / 0.6264 GB, free: 3.684 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.2315, allocations: 4 kB / 0.6264 GB, free: 3.68 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007811/0.2322, allocations: 0.5929 MB / 0.627 GB, free: 3.023 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.696e-06/0.2323, allocations: 0 / 0.627 GB, free: 3.023 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002646/0.2325, allocations: 52.02 kB / 0.627 GB, free: 2.973 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.2325, allocations: 0 / 0.627 GB, free: 2.973 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.2326, allocations: 8 kB / 0.627 GB, free: 2.965 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.2326, allocations: 3.938 kB / 0.627 GB, free: 2.961 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.2326, allocations: 3.984 kB / 0.627 GB, free: 2.957 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007638/0.2333, allocations: 396.4 kB / 0.6274 GB, free: 2.547 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001284/0.2335, allocations: 140.5 kB / 0.6275 GB, free: 2.391 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.106e-05/0.2336, allocations: 0 / 0.6275 GB, free: 2.391 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003742/0.2339, allocations: 51.95 kB / 0.6276 GB, free: 2.34 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.459e-05/0.234, allocations: 7.984 kB / 0.6276 GB, free: 2.332 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.234, allocations: 8 kB / 0.6276 GB, free: 2.324 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004209/0.2345, allocations: 362.8 kB / 0.628 GB, free: 1.973 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2345, allocations: 0 / 0.628 GB, free: 1.973 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008594/0.2353, allocations: 199.7 kB / 0.6282 GB, free: 1.777 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.001046/0.2364, allocations: 434.7 kB / 0.6286 GB, free: 1.512 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001247/0.2376, allocations: 416.1 kB / 0.629 GB, free: 1.109 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.2377, allocations: 0 / 0.629 GB, free: 1.109 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003479/0.238, allocations: 120 kB / 0.6291 GB, free: 0.9922 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001348/0.2394, allocations: 254.2 kB / 0.6293 GB, free: 0.75 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004571/0.244, allocations: 1.52 MB / 0.6308 GB, free: 15.2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003953/0.2444, allocations: 0.835 MB / 0.6316 GB, free: 14.33 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004599/0.2448, allocations: 96.36 kB / 0.6317 GB, free: 14.23 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.245, allocations: 43.42 kB / 0.6318 GB, free: 14.2 MB / 494.1 MB Notification: Performance of SimCode: time 9.82e-07/0.245, allocations: 0 / 0.6318 GB, free: 14.2 MB / 494.1 MB Notification: Performance of Templates: time 0.01676/0.2617, allocations: 8.541 MB / 0.6401 GB, free: 5.785 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: