Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.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.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7486/0.7486, allocations: 132.4 MB / 139.7 MB, free: 15.55 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.001145/0.001145, allocations: 174.8 kB / 171.6 MB, free: 1.988 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.457/1.457, allocations: 170.5 MB / 373.9 MB, free: 15.82 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.001782/0.001782, allocations: 119 kB / 444.5 MB, free: 9.352 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.5401/0.5401, allocations: 73.39 MB / 0.666 GB, free: 62.4 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7995/1.34, allocations: 378.9 MB / 1.036 GB, free: 56.99 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003008/1.34, allocations: 91.5 kB / 1.036 GB, free: 56.95 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.517/3.857, allocations: 0.5759 GB / 1.612 GB, free: 66.2 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001818/3.858, allocations: 53.05 kB / 1.612 GB, free: 66.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: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.003388/3.861, allocations: 1.757 MB / 1.614 GB, free: 65.64 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/3.861, allocations: 11.47 kB / 1.614 GB, free: 65.64 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000652/3.862, allocations: 209.3 kB / 1.614 GB, free: 65.54 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003685/3.865, allocations: 1.78 MB / 1.616 GB, free: 65.21 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.037e-05/3.865, allocations: 36.16 kB / 1.616 GB, free: 65.21 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001586/3.866, allocations: 72.28 kB / 1.616 GB, free: 65.21 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001522/3.867, allocations: 0.6881 MB / 1.617 GB, free: 65.21 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001668/3.869, allocations: 1.018 MB / 1.618 GB, free: 64.93 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.328e-05/3.869, allocations: 14.12 kB / 1.618 GB, free: 64.92 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.458e-05/3.869, allocations: 3.188 kB / 1.618 GB, free: 64.92 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.998e-05/3.869, allocations: 32.62 kB / 1.618 GB, free: 64.92 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007208/3.876, allocations: 6.351 MB / 1.624 GB, free: 61.12 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003781/3.877, allocations: 263.3 kB / 1.624 GB, free: 61.11 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002734/3.877, allocations: 196.1 kB / 1.624 GB, free: 61.1 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002106/3.877, allocations: 179.7 kB / 1.624 GB, free: 60.91 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/3.877, allocations: 34.39 kB / 1.624 GB, free: 60.87 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=39): time 2.976e-06/3.877, allocations: 0 / 1.624 GB, free: 60.87 MB / 0.6198 GB Notification: Performance of matching and sorting (n=41): time 0.004693/3.882, allocations: 1.575 MB / 1.626 GB, free: 60.35 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.836e-05/3.882, allocations: 136 kB / 1.626 GB, free: 60.19 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001257/3.883, allocations: 0.9698 MB / 1.627 GB, free: 60.04 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.184e-05/3.883, allocations: 32.3 kB / 1.627 GB, free: 60 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003185/3.884, allocations: 0.5602 MB / 1.628 GB, free: 59.75 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/3.884, allocations: 144.8 kB / 1.628 GB, free: 59.66 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.758e-05/3.884, allocations: 3.656 kB / 1.628 GB, free: 59.66 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.389e-05/3.884, allocations: 337.7 kB / 1.628 GB, free: 59.36 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003766/3.884, allocations: 242.3 kB / 1.628 GB, free: 59.36 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005552/3.885, allocations: 0.5554 MB / 1.629 GB, free: 58.98 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005683/3.885, allocations: 339.2 kB / 1.629 GB, free: 58.97 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/3.885, allocations: 3.625 kB / 1.629 GB, free: 58.97 MB / 0.6198 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001378/3.887, allocations: 0.8571 MB / 1.63 GB, free: 58.86 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007032/3.888, allocations: 2.998 MB / 1.633 GB, free: 55.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.587e-05/3.888, allocations: 3.906 kB / 1.633 GB, free: 55.78 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.594e-05/3.888, allocations: 19.38 kB / 1.633 GB, free: 55.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/3.889, allocations: 278 kB / 1.633 GB, free: 55.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.553e-05/3.889, allocations: 11.22 kB / 1.633 GB, free: 55.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001641/3.891, allocations: 141.7 kB / 1.633 GB, free: 55.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.826e-05/3.891, allocations: 44.14 kB / 1.633 GB, free: 55.77 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/3.891, allocations: 4.906 kB / 1.633 GB, free: 55.77 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001094/3.892, allocations: 0.6231 MB / 1.634 GB, free: 55.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/3.892, allocations: 7.719 kB / 1.634 GB, free: 55.76 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/3.892, allocations: 15.03 kB / 1.634 GB, free: 55.76 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007201/3.893, allocations: 201.3 kB / 1.634 GB, free: 55.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.671e-05/3.893, allocations: 18.89 kB / 1.634 GB, free: 55.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001118/3.894, allocations: 86.58 kB / 1.634 GB, free: 55.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.209e-05/3.894, allocations: 38.95 kB / 1.634 GB, free: 55.75 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 108 * 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.0002385/3.894, allocations: 132.2 kB / 1.634 GB, free: 55.63 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002657/3.894, allocations: 123.6 kB / 1.635 GB, free: 55.57 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001562/3.896, allocations: 0.6401 MB / 1.635 GB, free: 55.49 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/3.896, allocations: 2.969 kB / 1.635 GB, free: 55.49 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/3.896, allocations: 0 / 1.635 GB, free: 55.49 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009639/3.897, allocations: 0.7941 MB / 1.636 GB, free: 55.03 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003268/3.9, allocations: 1.71 MB / 1.638 GB, free: 54.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/3.9, allocations: 3.562 kB / 1.638 GB, free: 54.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007884/3.901, allocations: 158.2 kB / 1.638 GB, free: 54.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002392/3.901, allocations: 68.48 kB / 1.638 GB, free: 54.67 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.001e-05/3.901, allocations: 16.44 kB / 1.638 GB, free: 54.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006698/3.902, allocations: 1.155 MB / 1.639 GB, free: 53.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/3.902, allocations: 7.703 kB / 1.639 GB, free: 53.63 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00144/3.903, allocations: 1.043 MB / 1.64 GB, free: 53.29 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006183/3.904, allocations: 278.3 kB / 1.64 GB, free: 53.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001836/3.904, allocations: 3.281 kB / 1.64 GB, free: 53.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/3.905, allocations: 121.8 kB / 1.64 GB, free: 53.12 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.756e-05/3.905, allocations: 30.41 kB / 1.64 GB, free: 53.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.214e-05/3.905, allocations: 21.09 kB / 1.641 GB, free: 53.12 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.001084/3.906, allocations: 0.7132 MB / 1.641 GB, free: 53.01 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002499/3.909, allocations: 0.6687 MB / 1.642 GB, free: 52.97 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (valLin.vol.dynBal.U,valEquPerLin.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 37 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001309/3.91, allocations: 0.6985 MB / 1.643 GB, free: 52.82 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001749/3.912, allocations: 0.991 MB / 1.644 GB, free: 52.8 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/3.912, allocations: 0 / 1.644 GB, free: 52.8 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004959/3.913, allocations: 246.5 kB / 1.644 GB, free: 52.8 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002912/3.915, allocations: 0.6273 MB / 1.644 GB, free: 52.79 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01101/3.927, allocations: 2.918 MB / 1.647 GB, free: 52.27 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001086/3.928, allocations: 1.4 MB / 1.649 GB, free: 51.54 MB / 0.6198 GB Notification: Performance of SimCode: time 1.032e-06/3.928, allocations: 0 / 1.649 GB, free: 51.54 MB / 0.6198 GB Notification: Performance of Templates: time 0.05978/3.987, allocations: 30.49 MB / 1.678 GB, free: 50.49 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)