Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.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.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7697/0.7697, 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.001056/0.001056, allocations: 168.3 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.507/1.507, allocations: 170.6 MB / 374.2 MB, free: 15.68 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.001764/0.001764, allocations: 124.1 kB / 444.8 MB, free: 9.195 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.4589/0.4589, allocations: 73.39 MB / 0.6666 GB, free: 46.96 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.754/1.213, allocations: 354 MB / 1.012 GB, free: 52.38 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002516/1.213, allocations: 96.59 kB / 1.012 GB, free: 52.33 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.9661/2.179, allocations: 273.4 MB / 1.279 GB, free: 89.45 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.685e-06/2.179, allocations: 0 / 1.279 GB, free: 89.45 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001596/2.18, allocations: 27.59 kB / 1.279 GB, free: 89.43 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.002454/2.182, allocations: 0.9391 MB / 1.28 GB, free: 88.44 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/2.182, allocations: 12.03 kB / 1.28 GB, free: 88.43 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001008/2.183, allocations: 177.7 kB / 1.281 GB, free: 88.26 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001141/2.184, allocations: 0.5255 MB / 1.281 GB, free: 87.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.459e-05/2.184, allocations: 12 kB / 1.281 GB, free: 87.69 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.36e-05/2.184, allocations: 35.61 kB / 1.281 GB, free: 87.66 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005628/2.185, allocations: 290.5 kB / 1.281 GB, free: 87.38 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006641/2.186, allocations: 456.6 kB / 1.282 GB, free: 86.89 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/2.186, allocations: 7.938 kB / 1.282 GB, free: 86.88 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.605e-05/2.186, allocations: 0 / 1.282 GB, free: 86.88 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.569e-05/2.186, allocations: 12 kB / 1.282 GB, free: 86.87 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003218/2.189, allocations: 2.524 MB / 1.284 GB, free: 84.24 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003857/2.189, allocations: 211.8 kB / 1.284 GB, free: 84 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001197/2.19, allocations: 78.56 kB / 1.285 GB, free: 83.92 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002453/2.19, allocations: 109.1 kB / 1.285 GB, free: 83.79 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/2.19, allocations: 42.55 kB / 1.285 GB, free: 83.74 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.924e-06/2.19, allocations: 4 kB / 1.285 GB, free: 83.74 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.002807/2.193, allocations: 0.6371 MB / 1.285 GB, free: 83.09 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/2.193, allocations: 158.2 kB / 1.285 GB, free: 82.9 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004636/2.193, allocations: 446.4 kB / 1.286 GB, free: 82.46 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.101e-05/2.193, allocations: 29.7 kB / 1.286 GB, free: 82.42 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001762/2.194, allocations: 355.3 kB / 1.286 GB, free: 82.07 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.183e-05/2.194, allocations: 59.14 kB / 1.286 GB, free: 82.01 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-05/2.194, allocations: 0 / 1.286 GB, free: 82.01 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.81e-05/2.194, allocations: 366.8 kB / 1.287 GB, free: 81.64 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002153/2.194, allocations: 148.9 kB / 1.287 GB, free: 81.5 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002645/2.194, allocations: 299.4 kB / 1.287 GB, free: 81.14 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002964/2.194, allocations: 177.3 kB / 1.287 GB, free: 80.96 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/2.195, allocations: 3.953 kB / 1.287 GB, free: 80.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007466/2.195, allocations: 466.8 kB / 1.288 GB, free: 80.5 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002467/2.196, allocations: 1.136 MB / 1.289 GB, free: 79.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/2.196, allocations: 0 / 1.289 GB, free: 79.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.695e-05/2.196, allocations: 8 kB / 1.289 GB, free: 79.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004492/2.2, allocations: 0.8467 MB / 1.29 GB, free: 78.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001637/2.202, allocations: 2.004 MB / 1.292 GB, free: 76.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001285/2.203, allocations: 191.5 kB / 1.292 GB, free: 76.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.952e-05/2.203, allocations: 19.94 kB / 1.292 GB, free: 76.14 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/2.203, allocations: 7.938 kB / 1.292 GB, free: 76.13 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003686/2.203, allocations: 247.9 kB / 1.292 GB, free: 75.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/2.204, allocations: 0 / 1.292 GB, free: 75.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.065e-06/2.204, allocations: 8 kB / 1.292 GB, free: 75.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004157/2.204, allocations: 104.2 kB / 1.292 GB, free: 75.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/2.204, allocations: 12 kB / 1.292 GB, free: 75.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006105/2.205, allocations: 67.8 kB / 1.292 GB, free: 75.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.073e-05/2.205, allocations: 23.92 kB / 1.292 GB, free: 75.68 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 (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000183/2.205, allocations: 121.7 kB / 1.292 GB, free: 75.55 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001742/2.205, allocations: 59.2 kB / 1.292 GB, free: 75.5 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006513/2.206, allocations: 290.3 kB / 1.293 GB, free: 75.21 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/2.206, allocations: 0 / 1.293 GB, free: 75.21 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/2.206, allocations: 0 / 1.293 GB, free: 75.21 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/2.206, allocations: 4 kB / 1.293 GB, free: 75.2 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009425/2.207, allocations: 0.6816 MB / 1.293 GB, free: 74.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/2.207, allocations: 0 / 1.293 GB, free: 74.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00383/2.21, allocations: 0.7648 MB / 1.294 GB, free: 73.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.285e-05/2.211, allocations: 4 kB / 1.294 GB, free: 73.71 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.215e-05/2.211, allocations: 7.922 kB / 1.294 GB, free: 73.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00387/2.214, allocations: 4.22 MB / 1.298 GB, free: 69.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/2.214, allocations: 0 / 1.298 GB, free: 69.14 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006189/2.215, allocations: 405.6 kB / 1.299 GB, free: 68.71 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001984/2.215, allocations: 136.3 kB / 1.299 GB, free: 68.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/2.215, allocations: 0 / 1.299 GB, free: 68.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009987/2.216, allocations: 167.7 kB / 1.299 GB, free: 68.39 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.574e-05/2.216, allocations: 7.984 kB / 1.299 GB, free: 68.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.917e-05/2.217, allocations: 16.03 kB / 1.299 GB, free: 68.37 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003527/2.217, allocations: 334.9 kB / 1.299 GB, free: 68.05 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/2.217, allocations: 4 kB / 1.299 GB, free: 68.04 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001217/2.218, allocations: 355.6 kB / 1.3 GB, free: 67.7 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 (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006795/2.219, allocations: 347.2 kB / 1.3 GB, free: 67.37 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.004312/2.223, allocations: 1.081 MB / 1.301 GB, free: 66.29 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/2.223, allocations: 0 / 1.301 GB, free: 66.29 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.006194/2.229, allocations: 1.178 MB / 1.302 GB, free: 65.11 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00162/2.231, allocations: 280.2 kB / 1.302 GB, free: 64.85 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01554/2.247, allocations: 3.385 MB / 1.306 GB, free: 61.43 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004344/2.247, allocations: 0.9064 MB / 1.307 GB, free: 60.49 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001005/2.248, allocations: 136.5 kB / 1.307 GB, free: 60.36 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002166/2.248, allocations: 47.41 kB / 1.307 GB, free: 60.31 MB / 0.6198 GB Notification: Performance of SimCode: time 1.573e-06/2.248, allocations: 0 / 1.307 GB, free: 60.31 MB / 0.6198 GB Notification: Performance of Templates: time 0.02148/2.27, allocations: 13.22 MB / 1.32 GB, free: 47.16 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)