Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") [/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.2385/0.2407, allocations: 80.83 MB / 0.6706 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.02107/0.2619, allocations: 15.51 MB / 0.6858 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01188/0.2738, allocations: 6.303 MB / 0.6919 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008856/0.2747, allocations: 15.88 kB / 0.6919 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001427/0.2762, allocations: 294.2 kB / 0.6922 GB, free: 11.79 MB / 0.5294 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.001902/0.2781, allocations: 0.5362 MB / 0.6927 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002178/0.2803, allocations: 0.6197 MB / 0.6934 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001727/0.2821, allocations: 1.064 MB / 0.6944 GB, free: 9.566 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005714/0.2826, allocations: 346.1 kB / 0.6947 GB, free: 9.219 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000871/0.2835, allocations: 474.1 kB / 0.6952 GB, free: 8.754 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004668/0.284, allocations: 350.5 kB / 0.6955 GB, free: 8.41 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.368e-05/0.2841, allocations: 32 kB / 0.6955 GB, free: 8.379 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001074/0.2851, allocations: 0.5265 MB / 0.6961 GB, free: 7.852 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001395/0.2853, allocations: 111.6 kB / 0.6962 GB, free: 7.742 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003107/0.2856, allocations: 258.6 kB / 0.6964 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001313/0.2869, allocations: 0.771 MB / 0.6972 GB, free: 6.715 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.287, allocations: 4 kB / 0.6972 GB, free: 6.711 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.553e-06/0.287, allocations: 0 / 0.6972 GB, free: 6.711 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.071e-05/0.287, allocations: 4 kB / 0.6972 GB, free: 6.707 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.00153/0.2885, allocations: 0.8372 MB / 0.698 GB, free: 5.82 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.2886, allocations: 16.02 kB / 0.698 GB, free: 5.805 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002763/0.2889, allocations: 64.22 kB / 0.6981 GB, free: 5.742 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007839/0.2897, allocations: 420.6 kB / 0.6985 GB, free: 5.289 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.691e-05/0.2897, allocations: 28.66 kB / 0.6985 GB, free: 5.262 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.119e-05/0.2898, allocations: 36 kB / 0.6985 GB, free: 5.227 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001543/0.2913, allocations: 0.5126 MB / 0.699 GB, free: 4.668 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.2914, allocations: 3.938 kB / 0.699 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.975e-05/0.2914, allocations: 15.98 kB / 0.699 GB, free: 4.648 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.385e-05/0.2914, allocations: 8 kB / 0.699 GB, free: 4.641 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001288/0.2927, allocations: 363.5 kB / 0.6994 GB, free: 4.285 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002913/0.2956, allocations: 2.026 MB / 0.7014 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001127/0.2968, allocations: 275.6 kB / 0.7016 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001302/0.2969, allocations: 54.67 kB / 0.7017 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.259e-05/0.297, allocations: 4 kB / 0.7017 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.297, allocations: 34.56 kB / 0.7017 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 3.477e-06/0.297, allocations: 3.984 kB / 0.7017 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.002473/0.2995, allocations: 492.7 kB / 0.7022 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001237/0.2996, allocations: 158.2 kB / 0.7024 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000647/0.3003, allocations: 0.5105 MB / 0.7028 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.764e-05/0.3003, allocations: 29.7 kB / 0.7029 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002153/0.3006, allocations: 279.7 kB / 0.7031 GB, free: 220 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.439e-05/0.3006, allocations: 27.56 kB / 0.7032 GB, free: 192 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.3007, allocations: 65.59 kB / 0.7032 GB, free: 120 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003538/0.3011, allocations: 358.8 kB / 0.7036 GB, free: 15.76 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004336/0.3015, allocations: 128.8 kB / 0.7037 GB, free: 15.63 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005593/0.3021, allocations: 277.8 kB / 0.704 GB, free: 15.29 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008897/0.303, allocations: 323.5 kB / 0.7043 GB, free: 14.94 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.303, allocations: 7.938 kB / 0.7043 GB, free: 14.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001092/0.3041, allocations: 401.8 kB / 0.7047 GB, free: 14.53 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/0.3041, allocations: 7.938 kB / 0.7047 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.405e-06/0.3042, allocations: 4.375 kB / 0.7047 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.3042, allocations: 8 kB / 0.7047 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004578/0.3047, allocations: 87.86 kB / 0.7048 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.3047, allocations: 4 kB / 0.7048 GB, free: 14.42 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000493/0.3052, allocations: 71.48 kB / 0.7048 GB, free: 14.35 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.718e-05/0.3052, allocations: 16 kB / 0.7049 GB, free: 14.34 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003115/0.3055, allocations: 196.1 kB / 0.705 GB, free: 14.14 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003146/0.3059, allocations: 224.1 kB / 0.7053 GB, free: 13.85 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003543/0.3062, allocations: 231.8 kB / 0.7055 GB, free: 13.58 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.482e-06/0.3062, allocations: 0 / 0.7055 GB, free: 13.58 MB / 0.545 GB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.0005744/0.3068, allocations: 292.7 kB / 0.7058 GB, free: 13.29 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.3068, allocations: 11.94 kB / 0.7058 GB, free: 13.28 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3068, allocations: 3.984 kB / 0.7058 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.3069, allocations: 11.94 kB / 0.7058 GB, free: 13.26 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002453/0.3071, allocations: 67.83 kB / 0.7058 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.3071, allocations: 4.438 kB / 0.7058 GB, free: 13.19 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003641/0.3075, allocations: 39.83 kB / 0.7059 GB, free: 13.15 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.051e-05/0.3075, allocations: 15.98 kB / 0.7059 GB, free: 13.14 MB / 0.545 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 (31): * Single equations (assignments): 31 * 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.0001654/0.3077, allocations: 192.9 kB / 0.7061 GB, free: 12.94 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/0.3078, allocations: 47.38 kB / 0.7061 GB, free: 12.89 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/0.3079, allocations: 47.91 kB / 0.7062 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.308, allocations: 0 / 0.7062 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.407e-06/0.308, allocations: 4 kB / 0.7062 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.308, allocations: 4 kB / 0.7062 GB, free: 12.83 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007978/0.3088, allocations: 0.585 MB / 0.7068 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3088, allocations: 4 kB / 0.7068 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002649/0.3091, allocations: 39.95 kB / 0.7068 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.3091, allocations: 7.984 kB / 0.7068 GB, free: 12.13 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.913e-05/0.3091, allocations: 8 kB / 0.7068 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.492e-06/0.3091, allocations: 15.94 kB / 0.7068 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3091, allocations: 0 / 0.7068 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008709/0.31, allocations: 364.4 kB / 0.7072 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/0.3101, allocations: 116.6 kB / 0.7073 GB, free: 11.6 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.757e-05/0.3102, allocations: 8 kB / 0.7073 GB, free: 11.59 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003935/0.3106, allocations: 39.95 kB / 0.7073 GB, free: 11.55 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.718e-05/0.3107, allocations: 7.984 kB / 0.7073 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.3107, allocations: 3.984 kB / 0.7073 GB, free: 11.54 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005114/0.3112, allocations: 366.8 kB / 0.7077 GB, free: 11.18 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3113, allocations: 0 / 0.7077 GB, free: 11.18 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008981/0.3122, allocations: 199.7 kB / 0.7079 GB, free: 10.99 MB / 0.545 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 (9): * Single equations (assignments): 9 * 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 Backend phase and start with SimCode phase: time 0.001216/0.3134, allocations: 423.9 kB / 0.7083 GB, free: 10.71 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001327/0.3147, allocations: 392.8 kB / 0.7087 GB, free: 10.33 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.3147, allocations: 0 / 0.7087 GB, free: 10.33 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00041/0.3152, allocations: 91.92 kB / 0.7088 GB, free: 10.24 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/0.3164, allocations: 226.2 kB / 0.709 GB, free: 10.02 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00515/0.3215, allocations: 1.294 MB / 0.7102 GB, free: 8.684 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005051/0.322, allocations: 0.823 MB / 0.711 GB, free: 7.832 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003991/0.3225, allocations: 92.22 kB / 0.7111 GB, free: 7.742 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001204/0.3226, allocations: 43.42 kB / 0.7112 GB, free: 7.703 MB / 0.545 GB Notification: Performance of SimCode: time 6.22e-07/0.3226, allocations: 0 / 0.7112 GB, free: 7.703 MB / 0.545 GB Notification: Performance of Templates: time 0.01731/0.3399, allocations: 9.094 MB / 0.72 GB, free: 14.71 MB / 0.5606 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)