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/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.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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8021/0.8021, allocations: 132.4 MB / 139.9 MB, free: 15.42 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.001052/0.001052, allocations: 166.4 kB / 171.8 MB, free: 2.051 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.491/1.491, allocations: 170.6 MB / 374.2 MB, free: 15.76 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.001592/0.001592, allocations: 105.3 kB / 444.8 MB, free: 9.301 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.4403/0.4403, allocations: 73.39 MB / 0.6666 GB, free: 46.96 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.797/1.237, allocations: 353.7 MB / 1.012 GB, free: 52.56 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002875/1.238, allocations: 97.12 kB / 1.012 GB, free: 52.51 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.7001/1.938, allocations: 161.4 MB / 1.17 GB, free: 160.2 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.443e-06/1.938, allocations: 3.188 kB / 1.17 GB, free: 160.2 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.221e-05/1.938, allocations: 13.78 kB / 1.17 GB, free: 160.2 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001289/1.939, allocations: 0.7582 MB / 1.17 GB, free: 159.6 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/1.939, allocations: 12.78 kB / 1.17 GB, free: 159.6 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002688/1.94, allocations: 67.7 kB / 1.171 GB, free: 159.6 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006529/1.94, allocations: 416.4 kB / 1.171 GB, free: 159.3 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/1.94, allocations: 9.844 kB / 1.171 GB, free: 159.3 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.582e-05/1.94, allocations: 23.45 kB / 1.171 GB, free: 159.3 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002992/1.941, allocations: 160.5 kB / 1.171 GB, free: 159.2 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004027/1.941, allocations: 310 kB / 1.171 GB, free: 159.1 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/1.941, allocations: 2.844 kB / 1.171 GB, free: 159.1 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.852e-05/1.941, allocations: 0 / 1.171 GB, free: 159.1 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.445e-05/1.941, allocations: 17.17 kB / 1.171 GB, free: 159 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001871/1.943, allocations: 1.955 MB / 1.173 GB, free: 157.5 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002075/1.943, allocations: 116.1 kB / 1.173 GB, free: 157.4 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.637e-05/1.943, allocations: 46.45 kB / 1.173 GB, free: 157.3 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.024e-05/1.943, allocations: 3.375 kB / 1.173 GB, free: 157.3 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/1.943, allocations: 34.5 kB / 1.173 GB, free: 157.3 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.223e-06/1.943, allocations: 0 / 1.173 GB, free: 157.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.001001/1.944, allocations: 250.8 kB / 1.174 GB, free: 157.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.986e-05/1.944, allocations: 156.2 kB / 1.174 GB, free: 157 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004523/1.945, allocations: 362.3 kB / 1.174 GB, free: 156.8 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.507e-05/1.945, allocations: 28.64 kB / 1.174 GB, free: 156.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002194/1.945, allocations: 272.4 kB / 1.175 GB, free: 156.6 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.118e-05/1.945, allocations: 34.27 kB / 1.175 GB, free: 156.5 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.544e-05/1.945, allocations: 0 / 1.175 GB, free: 156.5 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001593/1.945, allocations: 350.6 kB / 1.175 GB, free: 156.2 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/1.945, allocations: 56.22 kB / 1.175 GB, free: 156.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002611/1.946, allocations: 225.1 kB / 1.175 GB, free: 156 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001629/1.946, allocations: 88.06 kB / 1.175 GB, free: 155.9 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/1.946, allocations: 0 / 1.175 GB, free: 155.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004286/1.946, allocations: 262.5 kB / 1.175 GB, free: 155.8 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004483/1.947, allocations: 1.169 MB / 1.177 GB, free: 154.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/1.947, allocations: 2.969 kB / 1.177 GB, free: 154.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.715e-05/1.947, allocations: 6.688 kB / 1.177 GB, free: 154.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003964/1.947, allocations: 90.8 kB / 1.177 GB, free: 154.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.546e-05/1.947, allocations: 10.7 kB / 1.177 GB, free: 154.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005381/1.948, allocations: 82.47 kB / 1.177 GB, free: 154.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.856e-05/1.948, allocations: 14.34 kB / 1.177 GB, free: 154.6 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.536e-06/1.948, allocations: 3.281 kB / 1.177 GB, free: 154.6 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003218/1.948, allocations: 168.6 kB / 1.177 GB, free: 154.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/1.948, allocations: 3.625 kB / 1.177 GB, free: 154.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/1.948, allocations: 5.062 kB / 1.177 GB, free: 154.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002697/1.949, allocations: 65.22 kB / 1.177 GB, free: 154.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/1.949, allocations: 5.031 kB / 1.177 GB, free: 154.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003143/1.949, allocations: 39.22 kB / 1.177 GB, free: 154.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.493e-05/1.949, allocations: 17.05 kB / 1.177 GB, free: 154.5 MB / 0.6198 GB 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * 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.0001145/1.949, allocations: 110.4 kB / 1.177 GB, free: 154.4 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/1.949, allocations: 40.88 kB / 1.177 GB, free: 154.4 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003071/1.95, allocations: 139.5 kB / 1.177 GB, free: 154.3 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/1.95, allocations: 2.375 kB / 1.177 GB, free: 154.3 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/1.95, allocations: 1.188 kB / 1.177 GB, free: 154.3 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/1.95, allocations: 0 / 1.177 GB, free: 154.3 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006348/1.95, allocations: 0.548 MB / 1.178 GB, free: 153.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/1.95, allocations: 8.312 kB / 1.178 GB, free: 153.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002754/1.951, allocations: 47.98 kB / 1.178 GB, free: 153.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/1.951, allocations: 1.094 kB / 1.178 GB, free: 153.8 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/1.951, allocations: 6.078 kB / 1.178 GB, free: 153.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/1.951, allocations: 3.656 kB / 1.178 GB, free: 153.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/1.951, allocations: 8.891 kB / 1.178 GB, free: 153.8 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002857/1.951, allocations: 268.2 kB / 1.178 GB, free: 153.6 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001312/1.951, allocations: 124.7 kB / 1.178 GB, free: 153.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.004e-05/1.951, allocations: 1.156 kB / 1.178 GB, free: 153.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004136/1.951, allocations: 54.56 kB / 1.178 GB, free: 153.5 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.629e-05/1.952, allocations: 8.094 kB / 1.178 GB, free: 153.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/1.952, allocations: 2 kB / 1.178 GB, free: 153.5 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003078/1.952, allocations: 279.6 kB / 1.179 GB, free: 153.3 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.81e-07/1.952, allocations: 1.031 kB / 1.179 GB, free: 153.3 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0009013/1.953, allocations: 232.4 kB / 1.179 GB, free: 153.3 MB / 0.6198 GB 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 () * 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.0008421/1.954, allocations: 356.5 kB / 1.179 GB, free: 153.1 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005277/1.954, allocations: 365.8 kB / 1.18 GB, free: 152.9 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/1.954, allocations: 0 / 1.18 GB, free: 152.9 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.356e-05/1.954, allocations: 45.98 kB / 1.18 GB, free: 152.9 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/1.955, allocations: 193.7 kB / 1.18 GB, free: 152.9 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004054/1.959, allocations: 1.023 MB / 1.181 GB, free: 152.6 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/1.96, allocations: 0.8353 MB / 1.182 GB, free: 151.9 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0005027/1.96, allocations: 110.7 kB / 1.182 GB, free: 151.9 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.025e-05/1.96, allocations: 28.84 kB / 1.182 GB, free: 151.9 MB / 0.6198 GB Notification: Performance of SimCode: time 2.7e-07/1.96, allocations: 3.938 kB / 1.182 GB, free: 151.9 MB / 0.6198 GB Notification: Performance of Templates: time 0.01661/1.977, allocations: 8.24 MB / 1.19 GB, free: 151.2 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (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)