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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.6836/0.6836, allocations: 132.3 MB / 144.9 MB, free: 10.54 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.0009663/0.0009665, allocations: 175 kB / 176.9 MB, free: 2.242 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.206/1.206, allocations: 170.5 MB / 379.3 MB, free: 11.88 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.001479/0.001479, allocations: 109.4 kB / 450 MB, free: 5.855 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.3961/0.3962, allocations: 73.39 MB / 0.6736 GB, free: 47.79 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6623/1.058, allocations: 379.6 MB / 1.044 GB, free: 20.86 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/1.059, allocations: 100.7 kB / 1.044 GB, free: 20.81 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 1.96/3.019, allocations: 0.576 GB / 1.62 GB, free: 62.76 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.074e-06/3.019, allocations: 0 / 1.62 GB, free: 62.76 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001736/3.019, allocations: 49.95 kB / 1.62 GB, free: 62.76 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.003654/3.023, allocations: 1.756 MB / 1.622 GB, free: 62.18 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/3.023, allocations: 9.594 kB / 1.622 GB, free: 62.18 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007061/3.024, allocations: 210.3 kB / 1.622 GB, free: 62.08 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00346/3.027, allocations: 1.764 MB / 1.624 GB, free: 61.75 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.278e-05/3.027, allocations: 92.64 kB / 1.624 GB, free: 61.75 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001643/3.027, allocations: 119.3 kB / 1.624 GB, free: 61.75 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003078/3.03, allocations: 1.402 MB / 1.626 GB, free: 61.46 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.426e-05/3.03, allocations: 5.25 kB / 1.626 GB, free: 61.46 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/3.031, allocations: 49.77 kB / 1.626 GB, free: 61.46 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.866e-05/3.031, allocations: 35.25 kB / 1.626 GB, free: 61.46 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002423/3.033, allocations: 0.9928 MB / 1.627 GB, free: 61.45 MB / 0.6198 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006685/3.04, allocations: 6.69 MB / 1.633 GB, free: 57.59 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001632/3.041, allocations: 0.5528 MB / 1.634 GB, free: 57.57 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002747/3.042, allocations: 208.7 kB / 1.634 GB, free: 57.56 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001732/3.042, allocations: 180.2 kB / 1.634 GB, free: 57.37 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/3.042, allocations: 37.45 kB / 1.634 GB, free: 57.33 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=39): time 2.635e-06/3.042, allocations: 0 / 1.634 GB, free: 57.33 MB / 0.6198 GB Notification: Performance of matching and sorting (n=43): time 0.005484/3.047, allocations: 1.908 MB / 1.636 GB, free: 56.8 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/3.047, allocations: 140 kB / 1.636 GB, free: 56.64 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001457/3.049, allocations: 1.246 MB / 1.637 GB, free: 56.48 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.086e-05/3.049, allocations: 42.02 kB / 1.638 GB, free: 56.45 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004305/3.049, allocations: 0.7619 MB / 1.638 GB, free: 56.21 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.867e-05/3.05, allocations: 151.5 kB / 1.638 GB, free: 56.12 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.851e-05/3.05, allocations: 16.16 kB / 1.638 GB, free: 56.12 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.453e-05/3.05, allocations: 343.6 kB / 1.639 GB, free: 55.81 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003772/3.05, allocations: 266.4 kB / 1.639 GB, free: 55.81 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005244/3.051, allocations: 0.5793 MB / 1.64 GB, free: 55.45 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004917/3.051, allocations: 352.8 kB / 1.64 GB, free: 55.44 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/3.051, allocations: 2.562 kB / 1.64 GB, free: 55.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001275/3.052, allocations: 0.9669 MB / 1.641 GB, free: 55.31 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005479/3.053, allocations: 3.045 MB / 1.644 GB, free: 52.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/3.053, allocations: 7.719 kB / 1.644 GB, free: 52.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.553e-05/3.053, allocations: 14.25 kB / 1.644 GB, free: 52.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00109/3.054, allocations: 276.4 kB / 1.644 GB, free: 52.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.934e-05/3.054, allocations: 15.59 kB / 1.644 GB, free: 52.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001473/3.056, allocations: 188.7 kB / 1.644 GB, free: 52.08 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.338e-05/3.056, allocations: 43 kB / 1.644 GB, free: 52.08 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.468e-06/3.056, allocations: 5.25 kB / 1.644 GB, free: 52.08 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001007/3.057, allocations: 0.7379 MB / 1.645 GB, free: 52.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/3.057, allocations: 8.656 kB / 1.645 GB, free: 52.06 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/3.057, allocations: 13.56 kB / 1.645 GB, free: 52.06 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006509/3.057, allocations: 213.1 kB / 1.645 GB, free: 52.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/3.057, allocations: 13.5 kB / 1.645 GB, free: 52.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009914/3.058, allocations: 119.2 kB / 1.645 GB, free: 52.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.825e-05/3.058, allocations: 41.77 kB / 1.645 GB, free: 52.05 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 (110): * Single equations (assignments): 110 * 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.0001887/3.059, allocations: 157.4 kB / 1.646 GB, free: 51.94 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001979/3.059, allocations: 154.2 kB / 1.646 GB, free: 51.86 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001106/3.06, allocations: 0.6463 MB / 1.646 GB, free: 51.79 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/3.06, allocations: 9 kB / 1.646 GB, free: 51.79 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/3.06, allocations: 3.188 kB / 1.646 GB, free: 51.79 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006861/3.061, allocations: 0.782 MB / 1.647 GB, free: 51.34 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002668/3.063, allocations: 1.856 MB / 1.649 GB, free: 50.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/3.063, allocations: 1.688 kB / 1.649 GB, free: 50.99 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007107/3.064, allocations: 172.8 kB / 1.649 GB, free: 50.99 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-06/3.064, allocations: 3.219 kB / 1.649 GB, free: 50.99 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.49e-05/3.064, allocations: 11.84 kB / 1.649 GB, free: 50.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/3.064, allocations: 9 kB / 1.649 GB, free: 50.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/3.064, allocations: 6.062 kB / 1.649 GB, free: 50.99 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001189/3.065, allocations: 1.058 MB / 1.65 GB, free: 50.65 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005034/3.066, allocations: 308.6 kB / 1.65 GB, free: 50.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001656/3.066, allocations: 11.66 kB / 1.65 GB, free: 50.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009425/3.067, allocations: 132 kB / 1.651 GB, free: 50.47 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.629e-05/3.067, allocations: 32.91 kB / 1.651 GB, free: 50.47 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.967e-05/3.067, allocations: 21.7 kB / 1.651 GB, free: 50.47 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001231/3.068, allocations: 0.9459 MB / 1.652 GB, free: 50.35 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.21e-07/3.068, allocations: 1.781 kB / 1.652 GB, free: 50.35 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002376/3.071, allocations: 0.7119 MB / 1.652 GB, free: 50.31 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (valLin.port_3.h_outflow,valEquPerLin.port_3.h_outflow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001135/3.072, allocations: 0.6941 MB / 1.653 GB, free: 50.15 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001719/3.074, allocations: 1.073 MB / 1.654 GB, free: 50.12 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/3.074, allocations: 6.844 kB / 1.654 GB, free: 50.12 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003617/3.074, allocations: 255.3 kB / 1.654 GB, free: 50.12 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003544/3.078, allocations: 0.8401 MB / 1.655 GB, free: 50.11 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00823/3.086, allocations: 2.872 MB / 1.658 GB, free: 49.54 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001882/3.088, allocations: 1.275 MB / 1.659 GB, free: 64.82 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.002019/3.09, allocations: 448.2 kB / 1.66 GB, free: 64.8 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002419/3.09, allocations: 98.09 kB / 1.66 GB, free: 64.8 MB / 0.6355 GB Notification: Performance of SimCode: time 1.312e-06/3.09, allocations: 0 / 1.66 GB, free: 64.8 MB / 0.6355 GB Notification: Performance of Templates: time 0.0563/3.146, allocations: 36.74 MB / 1.696 GB, free: 62.98 MB / 0.6355 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)