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.1965/0.1985, allocations: 80.84 MB / 0.6706 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.0253/0.2239, allocations: 22.53 MB / 0.6926 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01428/0.2382, allocations: 8.365 MB / 0.7008 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001192/0.2395, allocations: 27.75 kB / 0.7008 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001118/0.2407, allocations: 353.7 kB / 0.7012 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002593/0.2433, allocations: 0.9201 MB / 0.7021 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00206/0.2453, allocations: 0.7592 MB / 0.7028 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001925/0.2473, allocations: 1.687 MB / 0.7045 GB, free: 15.24 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007409/0.248, allocations: 0.5412 MB / 0.705 GB, free: 14.68 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001163/0.2492, allocations: 0.7355 MB / 0.7057 GB, free: 13.95 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000682/0.2499, allocations: 0.564 MB / 0.7063 GB, free: 13.38 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.144e-05/0.25, allocations: 52 kB / 0.7063 GB, free: 13.33 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001251/0.2512, allocations: 0.7255 MB / 0.707 GB, free: 12.6 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001693/0.2514, allocations: 163.3 kB / 0.7072 GB, free: 12.44 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003545/0.2518, allocations: 382 kB / 0.7075 GB, free: 12.07 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001267/0.2531, allocations: 1.079 MB / 0.7086 GB, free: 10.98 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.2531, allocations: 0 / 0.7086 GB, free: 10.98 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.435e-06/0.2531, allocations: 4 kB / 0.7086 GB, free: 10.98 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.01e-05/0.2531, allocations: 0 / 0.7086 GB, free: 10.98 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.001759/0.2549, allocations: 1.074 MB / 0.7096 GB, free: 9.855 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.2549, allocations: 12.03 kB / 0.7096 GB, free: 9.844 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00104/0.256, allocations: 175.9 kB / 0.7098 GB, free: 9.672 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008904/0.2569, allocations: 0.5221 MB / 0.7103 GB, free: 9.109 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.558e-05/0.2569, allocations: 37 kB / 0.7104 GB, free: 9.07 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.696e-05/0.257, allocations: 48 kB / 0.7104 GB, free: 9.023 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003741/0.2607, allocations: 1.018 MB / 0.7114 GB, free: 7.965 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.2608, allocations: 3.938 kB / 0.7114 GB, free: 7.961 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.938e-05/0.2608, allocations: 20 kB / 0.7114 GB, free: 7.941 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.789e-05/0.2609, allocations: 15.98 kB / 0.7114 GB, free: 7.926 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003598/0.2645, allocations: 0.8609 MB / 0.7123 GB, free: 7.062 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003571/0.2681, allocations: 2.622 MB / 0.7148 GB, free: 4.289 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003305/0.2714, allocations: 0.71 MB / 0.7155 GB, free: 3.551 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003337/0.2717, allocations: 114.5 kB / 0.7156 GB, free: 3.43 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002918/0.272, allocations: 113 kB / 0.7158 GB, free: 3.301 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.502e-05/0.2721, allocations: 42.56 kB / 0.7158 GB, free: 3.25 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 2.104e-06/0.2721, allocations: 0 / 0.7158 GB, free: 3.25 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.006505/0.2786, allocations: 1.267 MB / 0.717 GB, free: 1.977 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.8e-05/0.2787, allocations: 162.2 kB / 0.7172 GB, free: 1.781 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007769/0.2795, allocations: 0.6488 MB / 0.7178 GB, free: 1.121 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.016e-05/0.2795, allocations: 37.64 kB / 0.7179 GB, free: 1.078 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002845/0.2798, allocations: 359.9 kB / 0.7182 GB, free: 0.7227 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.16e-05/0.2799, allocations: 55.2 kB / 0.7182 GB, free: 0.668 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000204/0.2801, allocations: 106.1 kB / 0.7184 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001861/0.2803, allocations: 374.7 kB / 0.7187 GB, free: 188 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001127/0.2814, allocations: 322.3 kB / 0.719 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001196/0.2826, allocations: 464.4 kB / 0.7195 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002134/0.2848, allocations: 0.6603 MB / 0.7201 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.2848, allocations: 4 kB / 0.7201 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002459/0.2873, allocations: 0.82 MB / 0.7209 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.769e-05/0.2873, allocations: 9.875 kB / 0.7209 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/0.2873, allocations: 4.375 kB / 0.7209 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.904e-05/0.2874, allocations: 11.94 kB / 0.7209 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00421/0.2916, allocations: 0.6319 MB / 0.7215 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007455/0.2991, allocations: 4.963 MB / 0.7264 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001109/0.3002, allocations: 143.3 kB / 0.7265 GB, free: 7.645 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-05/0.3003, allocations: 36.03 kB / 0.7266 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005362/0.3008, allocations: 248.9 kB / 0.7268 GB, free: 7.363 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003767/0.3012, allocations: 268.3 kB / 0.7271 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005634/0.3018, allocations: 340.1 kB / 0.7274 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.344e-06/0.3018, allocations: 0 / 0.7274 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of matching and sorting (n=50) (initialization_lambda0): time 0.0007853/0.3026, allocations: 437.3 kB / 0.7278 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.3026, allocations: 11.94 kB / 0.7278 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.3026, allocations: 4 kB / 0.7278 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.937e-06/0.3026, allocations: 11.98 kB / 0.7278 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004395/0.3031, allocations: 107.8 kB / 0.7279 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.894e-06/0.3031, allocations: 8 kB / 0.7279 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004546/0.3035, allocations: 67.8 kB / 0.728 GB, free: 6.008 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.794e-05/0.3036, allocations: 16 kB / 0.728 GB, free: 5.992 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.000214/0.3038, allocations: 204.1 kB / 0.7282 GB, free: 5.785 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001647/0.304, allocations: 67.16 kB / 0.7283 GB, free: 5.719 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002229/0.3062, allocations: 0.6043 MB / 0.7289 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.3062, allocations: 0 / 0.7289 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/0.3062, allocations: 7.938 kB / 0.7289 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/0.3062, allocations: 3.984 kB / 0.7289 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001039/0.3073, allocations: 0.741 MB / 0.7296 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.3073, allocations: 0 / 0.7296 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003668/0.311, allocations: 0.5656 MB / 0.7302 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.311, allocations: 0 / 0.7302 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.913e-05/0.311, allocations: 11.98 kB / 0.7302 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006532/0.3176, allocations: 4.841 MB / 0.7349 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.3176, allocations: 0 / 0.7349 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00234/0.3199, allocations: 0.7029 MB / 0.7356 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002456/0.3202, allocations: 132.3 kB / 0.7357 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.574e-05/0.3203, allocations: 8 kB / 0.7357 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008097/0.3211, allocations: 99.88 kB / 0.7358 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.916e-05/0.3212, allocations: 11.92 kB / 0.7358 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.384e-05/0.3213, allocations: 15.98 kB / 0.7358 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005962/0.3219, allocations: 455 kB / 0.7363 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3219, allocations: 0 / 0.7363 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001263/0.3231, allocations: 343.5 kB / 0.7366 GB, free: 12.67 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.0005277/0.3237, allocations: 197.4 kB / 0.7368 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006333/0.33, allocations: 1.328 MB / 0.7381 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.33, allocations: 0 / 0.7381 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.007086/0.3371, allocations: 1.163 MB / 0.7392 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001698/0.3389, allocations: 319.1 kB / 0.7395 GB, free: 9.684 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01233/0.3512, allocations: 2.547 MB / 0.742 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005038/0.3517, allocations: 0.8902 MB / 0.7429 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006553/0.3524, allocations: 129.1 kB / 0.743 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002272/0.3526, allocations: 63.33 kB / 0.7431 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of SimCode: time 1.292e-06/0.3526, allocations: 0 / 0.7431 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of Templates: time 0.4721/0.8247, allocations: 15.07 MB / 0.7578 GB, free: 74.03 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)