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.8894/0.8894, allocations: 132.4 MB / 139.9 MB, free: 15.38 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.001334/0.001334, allocations: 173.7 kB / 171.8 MB, free: 2.031 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.554/1.554, allocations: 170.6 MB / 374.2 MB, free: 15.7 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.001624/0.001624, allocations: 120 kB / 444.8 MB, free: 9.215 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.4974/0.4974, allocations: 73.4 MB / 0.6666 GB, free: 46.94 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8124/1.31, allocations: 358.3 MB / 1.016 GB, free: 47.96 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002408/1.31, allocations: 90.52 kB / 1.017 GB, free: 47.91 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.7426/2.053, allocations: 161.7 MB / 1.174 GB, free: 155.6 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.593e-06/2.053, allocations: 1.125 kB / 1.174 GB, free: 155.6 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.954e-05/2.053, allocations: 15.09 kB / 1.175 GB, free: 155.6 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.002115/2.055, allocations: 0.8212 MB / 1.175 GB, free: 155 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/2.055, allocations: 9.75 kB / 1.175 GB, free: 155 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000494/2.056, allocations: 69.53 kB / 1.175 GB, free: 155 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001081/2.057, allocations: 463.7 kB / 1.176 GB, free: 154.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/2.057, allocations: 10.44 kB / 1.176 GB, free: 154.7 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.792e-05/2.057, allocations: 26.3 kB / 1.176 GB, free: 154.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004493/2.057, allocations: 179.5 kB / 1.176 GB, free: 154.6 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005915/2.058, allocations: 340.8 kB / 1.176 GB, free: 154.4 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/2.058, allocations: 1.375 kB / 1.176 GB, free: 154.4 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.67e-05/2.058, allocations: 1.969 kB / 1.176 GB, free: 154.4 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.161e-05/2.058, allocations: 13.34 kB / 1.176 GB, free: 154.4 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002598/2.061, allocations: 2.139 MB / 1.178 GB, free: 152.7 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000213/2.061, allocations: 111 kB / 1.179 GB, free: 152.6 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.332e-05/2.061, allocations: 43.92 kB / 1.179 GB, free: 152.6 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001376/2.062, allocations: 0.927 MB / 1.18 GB, free: 151.8 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/2.062, allocations: 36.11 kB / 1.18 GB, free: 151.8 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 2.134e-06/2.062, allocations: 0 / 1.18 GB, free: 151.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0009047/2.063, allocations: 213.5 kB / 1.18 GB, free: 151.7 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.528e-05/2.063, allocations: 109.2 kB / 1.18 GB, free: 151.5 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006386/2.064, allocations: 486 kB / 1.18 GB, free: 151.3 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.636e-05/2.064, allocations: 26.86 kB / 1.18 GB, free: 151.3 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001949/2.064, allocations: 319.4 kB / 1.181 GB, free: 151 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.114e-05/2.064, allocations: 41.58 kB / 1.181 GB, free: 151 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.453e-05/2.064, allocations: 0 / 1.181 GB, free: 151 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.81e-05/2.064, allocations: 360.7 kB / 1.181 GB, free: 150.7 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/2.065, allocations: 61.72 kB / 1.181 GB, free: 150.6 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002586/2.065, allocations: 270.6 kB / 1.181 GB, free: 150.4 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003142/2.065, allocations: 119.4 kB / 1.181 GB, free: 150.3 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/2.065, allocations: 1.094 kB / 1.181 GB, free: 150.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006933/2.066, allocations: 334.3 kB / 1.182 GB, free: 150.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.000458/2.066, allocations: 1.687 MB / 1.183 GB, free: 148.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/2.066, allocations: 3.906 kB / 1.183 GB, free: 148.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.816e-05/2.066, allocations: 7.188 kB / 1.183 GB, free: 148.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004149/2.067, allocations: 102.8 kB / 1.184 GB, free: 148.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.441e-05/2.067, allocations: 10.23 kB / 1.184 GB, free: 148.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005159/2.067, allocations: 65.86 kB / 1.184 GB, free: 148.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.935e-05/2.067, allocations: 28.45 kB / 1.184 GB, free: 148.4 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/2.067, allocations: 4.125 kB / 1.184 GB, free: 148.4 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000479/2.068, allocations: 234.5 kB / 1.184 GB, free: 148.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/2.068, allocations: 4.75 kB / 1.184 GB, free: 148.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/2.068, allocations: 9.594 kB / 1.184 GB, free: 148.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002786/2.068, allocations: 80.67 kB / 1.184 GB, free: 148.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/2.068, allocations: 7.25 kB / 1.184 GB, free: 148.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003556/2.069, allocations: 40.67 kB / 1.184 GB, free: 148.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.723e-05/2.069, allocations: 18.28 kB / 1.184 GB, free: 148.3 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 () * 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.000112/2.069, allocations: 124.9 kB / 1.184 GB, free: 148.1 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.553e-05/2.069, allocations: 48.25 kB / 1.184 GB, free: 148.1 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003949/2.069, allocations: 174.5 kB / 1.184 GB, free: 148 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/2.069, allocations: 0.9688 kB / 1.184 GB, free: 148 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/2.069, allocations: 1.094 kB / 1.184 GB, free: 148 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/2.069, allocations: 0 / 1.184 GB, free: 148 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004489/2.07, allocations: 347.2 kB / 1.185 GB, free: 147.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/2.07, allocations: 7.891 kB / 1.185 GB, free: 147.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002267/2.07, allocations: 48.72 kB / 1.185 GB, free: 147.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.279e-06/2.07, allocations: 8.859 kB / 1.185 GB, free: 147.8 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/2.07, allocations: 1.094 kB / 1.185 GB, free: 147.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/2.07, allocations: 1.188 kB / 1.185 GB, free: 147.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/2.07, allocations: 0 / 1.185 GB, free: 147.8 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004432/2.07, allocations: 304.3 kB / 1.185 GB, free: 147.6 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001451/2.071, allocations: 142.4 kB / 1.185 GB, free: 147.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.735e-05/2.071, allocations: 1.375 kB / 1.185 GB, free: 147.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003334/2.071, allocations: 28.16 kB / 1.185 GB, free: 147.5 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.725e-05/2.071, allocations: 7.297 kB / 1.185 GB, free: 147.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/2.071, allocations: 12.3 kB / 1.185 GB, free: 147.5 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004255/2.072, allocations: 368 kB / 1.186 GB, free: 147.3 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.2e-07/2.072, allocations: 0 / 1.186 GB, free: 147.3 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.00109/2.073, allocations: 260.3 kB / 1.186 GB, free: 147.2 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 () * 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.0009573/2.074, allocations: 406.5 kB / 1.186 GB, free: 147.1 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007018/2.074, allocations: 423.2 kB / 1.187 GB, free: 146.8 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/2.074, allocations: 3.844 kB / 1.187 GB, free: 146.8 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.871e-05/2.075, allocations: 44.36 kB / 1.187 GB, free: 146.8 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/2.076, allocations: 206.4 kB / 1.187 GB, free: 146.8 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003034/2.079, allocations: 0.883 MB / 1.188 GB, free: 146.5 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003988/2.079, allocations: 0.8598 MB / 1.189 GB, free: 145.8 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0006865/2.08, allocations: 176.2 kB / 1.189 GB, free: 145.7 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.584e-05/2.08, allocations: 29.25 kB / 1.189 GB, free: 145.7 MB / 0.6198 GB Notification: Performance of SimCode: time 3.11e-07/2.08, allocations: 0 / 1.189 GB, free: 145.7 MB / 0.6198 GB Notification: Performance of Templates: time 0.01849/2.098, allocations: 9.563 MB / 1.198 GB, free: 145 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)