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/Modelica_StateGraph2 2.0.2/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/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") [/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.1869/0.1888, allocations: 80.84 MB / 0.5899 GB, free: 6.984 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.06987/0.2587, allocations: 77.36 MB / 0.6654 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02478/0.2835, allocations: 15.55 MB / 0.6806 GB, free: 9.77 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003933/0.2875, allocations: 71.5 kB / 0.6807 GB, free: 9.699 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002986/0.2906, allocations: 0.7422 MB / 0.6814 GB, free: 8.953 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.007988/0.2986, allocations: 2.189 MB / 0.6835 GB, free: 6.754 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004412/0.303, allocations: 1.476 MB / 0.685 GB, free: 5.293 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.006875/0.3099, allocations: 4.617 MB / 0.6895 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3407/0.6506, allocations: 1.543 MB / 0.691 GB, free: 26.42 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00631/0.657, allocations: 1.808 MB / 0.6928 GB, free: 26.42 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003685/0.6607, allocations: 1.47 MB / 0.6942 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0007638/0.6615, allocations: 163.7 kB / 0.6943 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003456/0.665, allocations: 1.202 MB / 0.6955 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0004716/0.6655, allocations: 444.1 kB / 0.6959 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001993/0.6675, allocations: 0.9627 MB / 0.6969 GB, free: 25.98 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.005473/0.673, allocations: 2.795 MB / 0.6996 GB, free: 25.7 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.696e-06/0.673, allocations: 0 / 0.6996 GB, free: 25.7 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.675e-06/0.673, allocations: 0 / 0.6996 GB, free: 25.7 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.254e-05/0.6731, allocations: 1.781 kB / 0.6996 GB, free: 25.7 MB / 0.5294 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.00448/0.6776, allocations: 2.126 MB / 0.7017 GB, free: 24.68 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.6777, allocations: 9.031 kB / 0.7017 GB, free: 24.68 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007177/0.6784, allocations: 213 kB / 0.7019 GB, free: 24.59 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002457/0.6808, allocations: 1.333 MB / 0.7032 GB, free: 24.16 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.786e-05/0.6809, allocations: 94 kB / 0.7033 GB, free: 24.16 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001629/0.6811, allocations: 114.4 kB / 0.7034 GB, free: 24.16 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003807/0.6849, allocations: 1.539 MB / 0.7049 GB, free: 23.87 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.464e-05/0.685, allocations: 8.219 kB / 0.7049 GB, free: 23.87 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.992e-05/0.6851, allocations: 45.66 kB / 0.705 GB, free: 23.87 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.851e-05/0.6851, allocations: 42.23 kB / 0.705 GB, free: 23.87 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003405/0.6885, allocations: 1.144 MB / 0.7061 GB, free: 23.85 MB / 0.5294 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.008072/0.6966, allocations: 6.69 MB / 0.7127 GB, free: 19.9 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002582/0.6992, allocations: 0.6584 MB / 0.7133 GB, free: 19.86 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003682/0.6996, allocations: 216.5 kB / 0.7135 GB, free: 19.86 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001923/0.6998, allocations: 178.9 kB / 0.7137 GB, free: 19.67 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.6999, allocations: 37.92 kB / 0.7137 GB, free: 19.63 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=39): time 2.665e-06/0.6999, allocations: 3.094 kB / 0.7137 GB, free: 19.63 MB / 0.5294 GB Notification: Performance of matching and sorting (n=43): time 0.009375/0.7092, allocations: 2.538 MB / 0.7162 GB, free: 19 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/0.7093, allocations: 133.1 kB / 0.7163 GB, free: 18.85 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001993/0.7113, allocations: 1.431 MB / 0.7177 GB, free: 18.67 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001035/0.7114, allocations: 39.48 kB / 0.7178 GB, free: 18.64 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004808/0.7119, allocations: 0.7667 MB / 0.7185 GB, free: 18.36 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001517/0.7121, allocations: 154.3 kB / 0.7186 GB, free: 18.26 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003103/0.7124, allocations: 200.1 kB / 0.7188 GB, free: 18.23 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 6.827e-05/0.7125, allocations: 338.8 kB / 0.7192 GB, free: 17.93 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009365/0.7134, allocations: 387.4 kB / 0.7195 GB, free: 17.92 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00111/0.7145, allocations: 0.6886 MB / 0.7202 GB, free: 17.55 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001892/0.7165, allocations: 0.9979 MB / 0.7212 GB, free: 17.24 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.523e-06/0.7165, allocations: 1.562 kB / 0.7212 GB, free: 17.24 MB / 0.5294 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002722/0.7192, allocations: 1.213 MB / 0.7224 GB, free: 17.11 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.7192, allocations: 8.125 kB / 0.7224 GB, free: 17.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.7193, allocations: 12.09 kB / 0.7224 GB, free: 17.11 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.709e-05/0.7193, allocations: 12.31 kB / 0.7224 GB, free: 17.11 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/0.7204, allocations: 260.9 kB / 0.7226 GB, free: 17.11 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.356e-05/0.7204, allocations: 16.12 kB / 0.7227 GB, free: 17.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001708/0.7221, allocations: 160.2 kB / 0.7228 GB, free: 17.09 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-05/0.7222, allocations: 49.17 kB / 0.7229 GB, free: 17.09 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001029/0.7233, allocations: 0.5442 MB / 0.7234 GB, free: 17 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000597/0.7239, allocations: 0.5712 MB / 0.7239 GB, free: 16.64 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009149/0.7248, allocations: 0.777 MB / 0.7247 GB, free: 16.32 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.031e-06/0.7248, allocations: 1.781 kB / 0.7247 GB, free: 16.32 MB / 0.5294 GB Notification: Performance of matching and sorting (n=112) (initialization_lambda0): time 0.001769/0.7266, allocations: 0.9774 MB / 0.7257 GB, free: 16.19 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/0.7266, allocations: 10.78 kB / 0.7257 GB, free: 16.19 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/0.7266, allocations: 8.344 kB / 0.7257 GB, free: 16.19 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.7267, allocations: 12.44 kB / 0.7257 GB, free: 16.19 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007444/0.7274, allocations: 206.6 kB / 0.7259 GB, free: 16.19 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.335e-05/0.7274, allocations: 15.69 kB / 0.7259 GB, free: 16.19 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001664/0.7291, allocations: 103.1 kB / 0.726 GB, free: 16.17 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-05/0.7292, allocations: 44.09 kB / 0.726 GB, free: 16.17 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004151/0.7296, allocations: 235.4 kB / 0.7263 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002822/0.7299, allocations: 150.6 kB / 0.7264 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002433/0.7323, allocations: 0.9098 MB / 0.7273 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/0.7324, allocations: 8.469 kB / 0.7273 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.7324, allocations: 0 / 0.7273 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001764/0.7341, allocations: 1.058 MB / 0.7283 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00444/0.7386, allocations: 2.135 MB / 0.7304 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.7386, allocations: 0 / 0.7304 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007011/0.7393, allocations: 141.1 kB / 0.7306 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001999/0.7395, allocations: 79.11 kB / 0.7306 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.988e-05/0.7396, allocations: 12.53 kB / 0.7306 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006056/0.7402, allocations: 1.168 MB / 0.7318 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.7402, allocations: 0 / 0.7318 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002867/0.7431, allocations: 1.374 MB / 0.7331 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006716/0.7438, allocations: 299.2 kB / 0.7334 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002123/0.744, allocations: 12.16 kB / 0.7334 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00102/0.745, allocations: 116 kB / 0.7335 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.086e-05/0.7451, allocations: 30.66 kB / 0.7336 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-05/0.7452, allocations: 25.75 kB / 0.7336 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001189/0.7464, allocations: 0.9601 MB / 0.7345 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.81e-07/0.7464, allocations: 0 / 0.7345 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001958/0.7483, allocations: 0.6435 MB / 0.7352 GB, free: 13.29 MB / 0.5294 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000737/0.7491, allocations: 350.5 kB / 0.7355 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002833/0.7519, allocations: 1.315 MB / 0.7368 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.752, allocations: 0 / 0.7368 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009066/0.7529, allocations: 382.1 kB / 0.7371 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003707/0.7566, allocations: 0.9142 MB / 0.738 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01105/0.7677, allocations: 4.14 MB / 0.7421 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005507/0.7682, allocations: 1.248 MB / 0.7433 GB, free: 9.805 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001581/0.7698, allocations: 328.4 kB / 0.7436 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002957/0.7701, allocations: 118.2 kB / 0.7437 GB, free: 9.645 MB / 0.5294 GB Notification: Performance of SimCode: time 4.41e-07/0.7701, allocations: 0 / 0.7437 GB, free: 9.645 MB / 0.5294 GB Notification: Performance of Templates: time 0.05025/0.8204, allocations: 31.75 MB / 0.7747 GB, free: 13.83 MB / 0.5606 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)