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/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.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") [/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.1999/0.2019, allocations: 80.84 MB / 0.6706 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.02675/0.2287, allocations: 22.53 MB / 0.6926 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01428/0.243, allocations: 8.365 MB / 0.7008 GB, free: 2.836 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001678/0.2448, allocations: 27.75 kB / 0.7008 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001394/0.2463, allocations: 353.7 kB / 0.7012 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003426/0.2497, allocations: 0.921 MB / 0.7021 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002376/0.2521, allocations: 0.7574 MB / 0.7028 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002965/0.2551, allocations: 1.691 MB / 0.7045 GB, free: 15.09 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00101/0.2561, allocations: 0.5374 MB / 0.705 GB, free: 14.54 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001746/0.2579, allocations: 0.7276 MB / 0.7057 GB, free: 13.8 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008566/0.2587, allocations: 0.5679 MB / 0.7062 GB, free: 13.23 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.121e-05/0.2588, allocations: 52 kB / 0.7063 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001729/0.2606, allocations: 0.7295 MB / 0.707 GB, free: 12.45 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001997/0.2608, allocations: 159.4 kB / 0.7072 GB, free: 12.3 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004757/0.2613, allocations: 382 kB / 0.7075 GB, free: 11.92 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001691/0.263, allocations: 1.079 MB / 0.7086 GB, free: 10.84 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.263, allocations: 0 / 0.7086 GB, free: 10.84 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.715e-06/0.263, allocations: 4 kB / 0.7086 GB, free: 10.84 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.238e-05/0.263, allocations: 0 / 0.7086 GB, free: 10.84 MB / 0.545 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.001894/0.2649, allocations: 1.067 MB / 0.7096 GB, free: 9.719 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/0.265, allocations: 12.03 kB / 0.7096 GB, free: 9.707 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001073/0.2661, allocations: 179.9 kB / 0.7098 GB, free: 9.531 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000926/0.267, allocations: 0.5183 MB / 0.7103 GB, free: 8.973 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.597e-05/0.2671, allocations: 37 kB / 0.7103 GB, free: 8.934 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.414e-05/0.2672, allocations: 51.94 kB / 0.7104 GB, free: 8.883 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003852/0.271, allocations: 1.022 MB / 0.7114 GB, free: 7.82 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.429e-05/0.2711, allocations: 0 / 0.7114 GB, free: 7.82 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.807e-05/0.2712, allocations: 20 kB / 0.7114 GB, free: 7.801 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.543e-05/0.2712, allocations: 12 kB / 0.7114 GB, free: 7.789 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003789/0.275, allocations: 0.8687 MB / 0.7123 GB, free: 6.918 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004629/0.2796, allocations: 2.626 MB / 0.7148 GB, free: 4.141 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003478/0.2832, allocations: 0.7057 MB / 0.7155 GB, free: 3.41 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003397/0.2835, allocations: 114.5 kB / 0.7156 GB, free: 3.289 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002847/0.2838, allocations: 113.1 kB / 0.7157 GB, free: 3.16 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.807e-05/0.2839, allocations: 38.5 kB / 0.7158 GB, free: 3.113 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 3.186e-06/0.2839, allocations: 0 / 0.7158 GB, free: 3.113 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.006825/0.2907, allocations: 1.273 MB / 0.717 GB, free: 1.832 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/0.2909, allocations: 154.2 kB / 0.7172 GB, free: 1.645 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001033/0.2919, allocations: 0.6566 MB / 0.7178 GB, free: 0.9766 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001295/0.292, allocations: 29.81 kB / 0.7178 GB, free: 0.9414 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003529/0.2924, allocations: 359.8 kB / 0.7182 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.469e-05/0.2925, allocations: 59.2 kB / 0.7182 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002243/0.2927, allocations: 110 kB / 0.7183 GB, free: 424 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000178/0.2929, allocations: 370.8 kB / 0.7187 GB, free: 44 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001125/0.2941, allocations: 322.3 kB / 0.719 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001251/0.2953, allocations: 460.3 kB / 0.7194 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002166/0.2975, allocations: 0.6603 MB / 0.7201 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.2975, allocations: 0 / 0.7201 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002649/0.3002, allocations: 0.8239 MB / 0.7209 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/0.3002, allocations: 8 kB / 0.7209 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.3002, allocations: 0 / 0.7209 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/0.3003, allocations: 8.375 kB / 0.7209 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004373/0.3046, allocations: 0.6474 MB / 0.7215 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007414/0.3121, allocations: 4.96 MB / 0.7264 GB, free: 7.645 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001351/0.3135, allocations: 147.3 kB / 0.7265 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.374e-05/0.3135, allocations: 32.03 kB / 0.7266 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005644/0.3141, allocations: 248.9 kB / 0.7268 GB, free: 7.223 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003854/0.3145, allocations: 268.2 kB / 0.7271 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000616/0.3151, allocations: 340.1 kB / 0.7274 GB, free: 6.508 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.635e-06/0.3152, allocations: 0 / 0.7274 GB, free: 6.508 MB / 0.5606 GB Notification: Performance of matching and sorting (n=50) (initialization_lambda0): time 0.000893/0.3161, allocations: 445.3 kB / 0.7278 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.3161, allocations: 8 kB / 0.7278 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.3161, allocations: 4 kB / 0.7278 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.893e-06/0.3161, allocations: 4 kB / 0.7278 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004449/0.3166, allocations: 107.9 kB / 0.7279 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.3166, allocations: 7.938 kB / 0.7279 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005437/0.3171, allocations: 71.77 kB / 0.728 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.731e-05/0.3172, allocations: 15.98 kB / 0.728 GB, free: 5.852 MB / 0.5606 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002528/0.3174, allocations: 200.2 kB / 0.7282 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001619/0.3176, allocations: 67.16 kB / 0.7283 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002259/0.3199, allocations: 0.6081 MB / 0.7289 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.3199, allocations: 4 kB / 0.7289 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.3199, allocations: 11.92 kB / 0.7289 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.3199, allocations: 0 / 0.7289 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009901/0.3209, allocations: 0.741 MB / 0.7296 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.3209, allocations: 0 / 0.7296 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003758/0.3247, allocations: 0.5578 MB / 0.7301 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-05/0.3247, allocations: 4 kB / 0.7301 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.255e-05/0.3248, allocations: 7.984 kB / 0.7302 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006425/0.3312, allocations: 4.849 MB / 0.7349 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.3312, allocations: 0 / 0.7349 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002423/0.3337, allocations: 0.6991 MB / 0.7356 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000226/0.3339, allocations: 132.3 kB / 0.7357 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.478e-05/0.334, allocations: 4 kB / 0.7357 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008473/0.3349, allocations: 103.9 kB / 0.7358 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.335, allocations: 15.86 kB / 0.7358 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.141e-05/0.335, allocations: 11.98 kB / 0.7358 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006084/0.3356, allocations: 455 kB / 0.7363 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3357, allocations: 0 / 0.7363 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00125/0.3369, allocations: 347.5 kB / 0.7366 GB, free: 12.53 MB / 0.5762 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 () * Number of clocked 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 (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006284/0.3375, allocations: 199.1 kB / 0.7368 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006598/0.3442, allocations: 1.328 MB / 0.7381 GB, free: 11 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.241e-06/0.3442, allocations: 0 / 0.7381 GB, free: 11 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.007237/0.3514, allocations: 1.163 MB / 0.7392 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001994/0.3535, allocations: 315.9 kB / 0.7395 GB, free: 9.535 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01246/0.366, allocations: 2.546 MB / 0.742 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005287/0.3666, allocations: 0.898 MB / 0.7429 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008381/0.3674, allocations: 129 kB / 0.743 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002232/0.3677, allocations: 59.39 kB / 0.7431 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of SimCode: time 1.132e-06/0.3677, allocations: 0 / 0.7431 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of Templates: time 0.5666/0.9343, allocations: 14.71 MB / 0.7574 GB, free: 74.22 MB / 0.5762 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)