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/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8078/0.8078, allocations: 133.7 MB / 148.6 MB, free: 13.64 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001432/0.001432, allocations: 176.1 kB / 180.9 MB, free: 15.06 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.847/1.847, allocations: 170.7 MB / 383.7 MB, free: 16.14 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001713/0.001713, allocations: 107.4 kB / 454.6 MB, free: 9.715 MB / 346.7 MB [/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.2094/0.2099, allocations: 73.4 MB / 0.6812 GB, free: 5.539 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.458/1.668, allocations: 359 MB / 1.032 GB, free: 126.8 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004235/1.669, allocations: 98.06 kB / 1.032 GB, free: 126.7 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.7723/2.441, allocations: 163.2 MB / 1.191 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.054e-06/2.441, allocations: 2.156 kB / 1.191 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.844e-05/2.441, allocations: 13.59 kB / 1.191 GB, free: 140.5 MB / 0.6198 GB 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.001879/2.443, allocations: 0.9026 MB / 1.192 GB, free: 140 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.043e-05/2.443, allocations: 9.781 kB / 1.192 GB, free: 140 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003266/2.443, allocations: 77.91 kB / 1.192 GB, free: 139.9 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009762/2.444, allocations: 457.7 kB / 1.193 GB, free: 139.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.55e-05/2.444, allocations: 32.2 kB / 1.193 GB, free: 139.7 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/2.445, allocations: 35.56 kB / 1.193 GB, free: 139.7 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001362/2.446, allocations: 481.9 kB / 1.193 GB, free: 139.5 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.262e-05/2.446, allocations: 7.078 kB / 1.193 GB, free: 139.5 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.636e-05/2.446, allocations: 24.33 kB / 1.193 GB, free: 139.5 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.234e-05/2.446, allocations: 10.34 kB / 1.193 GB, free: 139.5 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009207/2.447, allocations: 338.5 kB / 1.194 GB, free: 139.5 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002576/2.45, allocations: 2.238 MB / 1.196 GB, free: 138.1 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007218/2.45, allocations: 219.1 kB / 1.196 GB, free: 138 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001241/2.452, allocations: 0.9284 MB / 1.197 GB, free: 137.3 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/2.452, allocations: 33.88 kB / 1.197 GB, free: 137.2 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 2.295e-06/2.452, allocations: 3.094 kB / 1.197 GB, free: 137.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.001423/2.453, allocations: 388.2 kB / 1.197 GB, free: 137.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.567e-05/2.453, allocations: 108.4 kB / 1.197 GB, free: 137.1 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007107/2.454, allocations: 0.5751 MB / 1.198 GB, free: 136.9 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.845e-05/2.454, allocations: 29.39 kB / 1.198 GB, free: 136.9 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001904/2.454, allocations: 310.7 kB / 1.198 GB, free: 136.7 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.493e-05/2.454, allocations: 42.58 kB / 1.198 GB, free: 136.7 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.603e-05/2.454, allocations: 7.719 kB / 1.198 GB, free: 136.7 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001097/2.454, allocations: 365.7 kB / 1.199 GB, free: 136.4 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002918/2.455, allocations: 117 kB / 1.199 GB, free: 136.4 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004148/2.455, allocations: 316.7 kB / 1.199 GB, free: 136.2 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003548/2.455, allocations: 174.9 kB / 1.199 GB, free: 136.2 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/2.455, allocations: 3.969 kB / 1.199 GB, free: 136.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008718/2.456, allocations: 465.7 kB / 1.2 GB, free: 136.1 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004439/2.457, allocations: 1.688 MB / 1.201 GB, free: 134.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/2.457, allocations: 7.859 kB / 1.201 GB, free: 134.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.499e-05/2.457, allocations: 9.203 kB / 1.201 GB, free: 134.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003867/2.457, allocations: 101.2 kB / 1.201 GB, free: 134.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.453e-05/2.457, allocations: 7.25 kB / 1.201 GB, free: 134.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004873/2.458, allocations: 85.95 kB / 1.202 GB, free: 134.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.214e-05/2.458, allocations: 20.86 kB / 1.202 GB, free: 134.3 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.714e-06/2.458, allocations: 3.969 kB / 1.202 GB, free: 134.3 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005368/2.458, allocations: 344.3 kB / 1.202 GB, free: 134.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/2.458, allocations: 2.781 kB / 1.202 GB, free: 134.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.033e-06/2.458, allocations: 8 kB / 1.202 GB, free: 134.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002548/2.459, allocations: 84.44 kB / 1.202 GB, free: 134.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/2.459, allocations: 8.312 kB / 1.202 GB, free: 134.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000321/2.459, allocations: 57.27 kB / 1.202 GB, free: 134.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.204e-05/2.459, allocations: 18.28 kB / 1.202 GB, free: 134.2 MB / 0.6198 GB 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 (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * 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.0002369/2.459, allocations: 274.3 kB / 1.202 GB, free: 134 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.756e-05/2.459, allocations: 48.66 kB / 1.202 GB, free: 134 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000702/2.46, allocations: 271.5 kB / 1.203 GB, free: 133.9 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/2.46, allocations: 2.812 kB / 1.203 GB, free: 133.9 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/2.46, allocations: 0 / 1.203 GB, free: 133.9 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/2.46, allocations: 3.844 kB / 1.203 GB, free: 133.9 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004128/2.46, allocations: 396.8 kB / 1.203 GB, free: 133.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/2.46, allocations: 3.141 kB / 1.203 GB, free: 133.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002202/2.461, allocations: 43.25 kB / 1.203 GB, free: 133.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/2.461, allocations: 0 / 1.203 GB, free: 133.8 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/2.461, allocations: 10.23 kB / 1.203 GB, free: 133.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/2.461, allocations: 0 / 1.203 GB, free: 133.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/2.461, allocations: 0 / 1.203 GB, free: 133.8 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008738/2.462, allocations: 446.9 kB / 1.204 GB, free: 133.6 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001424/2.462, allocations: 142.1 kB / 1.204 GB, free: 133.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.39e-05/2.462, allocations: 2.844 kB / 1.204 GB, free: 133.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003285/2.462, allocations: 35.2 kB / 1.204 GB, free: 133.5 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.482e-05/2.462, allocations: 12.84 kB / 1.204 GB, free: 133.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.64e-05/2.462, allocations: 5.875 kB / 1.204 GB, free: 133.5 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004364/2.463, allocations: 444.2 kB / 1.204 GB, free: 133.4 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/2.463, allocations: 0 / 1.204 GB, free: 133.4 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0009274/2.464, allocations: 266.9 kB / 1.204 GB, free: 133.4 MB / 0.6198 GB 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.0009485/2.465, allocations: 428.8 kB / 1.205 GB, free: 133.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001023/2.466, allocations: 0.53 MB / 1.205 GB, free: 133.1 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/2.466, allocations: 0 / 1.205 GB, free: 133.1 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002714/2.466, allocations: 95.89 kB / 1.205 GB, free: 133.1 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001231/2.467, allocations: 269.3 kB / 1.206 GB, free: 133.1 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003176/2.47, allocations: 1.349 MB / 1.207 GB, free: 132.6 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003232/2.471, allocations: 0.8594 MB / 1.208 GB, free: 131.9 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0004524/2.471, allocations: 103.6 kB / 1.208 GB, free: 131.9 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/2.471, allocations: 49.55 kB / 1.208 GB, free: 131.9 MB / 0.6198 GB Notification: Performance of SimCode: time 7.52e-07/2.471, allocations: 0 / 1.208 GB, free: 131.9 MB / 0.6198 GB Notification: Performance of Templates: time 0.01856/2.49, allocations: 11.38 MB / 1.219 GB, free: 131.5 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (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)