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.193/0.1952, allocations: 80.83 MB / 0.6706 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.02079/0.2161, allocations: 15.51 MB / 0.6858 GB, free: 2.426 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01202/0.2281, allocations: 6.292 MB / 0.6919 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001109/0.2293, allocations: 19.81 kB / 0.6919 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001643/0.231, allocations: 298.2 kB / 0.6922 GB, free: 11.8 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.002608/0.2337, allocations: 0.5361 MB / 0.6927 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002656/0.2364, allocations: 0.6123 MB / 0.6933 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001928/0.2383, allocations: 1.064 MB / 0.6944 GB, free: 9.594 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005452/0.2389, allocations: 342.1 kB / 0.6947 GB, free: 9.25 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008673/0.2397, allocations: 478.1 kB / 0.6952 GB, free: 8.781 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005148/0.2403, allocations: 362.4 kB / 0.6955 GB, free: 8.426 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.843e-05/0.2403, allocations: 36 kB / 0.6955 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001097/0.2414, allocations: 0.5227 MB / 0.6961 GB, free: 7.867 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001366/0.2416, allocations: 115.5 kB / 0.6962 GB, free: 7.754 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002808/0.2419, allocations: 250.7 kB / 0.6964 GB, free: 7.508 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001049/0.2429, allocations: 0.7672 MB / 0.6972 GB, free: 6.738 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.852e-06/0.243, allocations: 0 / 0.6972 GB, free: 6.738 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.713e-06/0.243, allocations: 0 / 0.6972 GB, free: 6.738 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.688e-06/0.243, allocations: 0 / 0.6972 GB, free: 6.738 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.001321/0.2443, allocations: 0.845 MB / 0.698 GB, free: 5.844 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.2444, allocations: 8.031 kB / 0.698 GB, free: 5.836 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002658/0.2446, allocations: 68.27 kB / 0.6981 GB, free: 5.77 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006833/0.2453, allocations: 432.6 kB / 0.6985 GB, free: 5.305 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.245e-05/0.2454, allocations: 28.66 kB / 0.6985 GB, free: 5.277 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.146e-05/0.2454, allocations: 28 kB / 0.6985 GB, free: 5.25 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001479/0.2469, allocations: 0.5165 MB / 0.699 GB, free: 4.688 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.2469, allocations: 0 / 0.699 GB, free: 4.688 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.75e-05/0.247, allocations: 15.98 kB / 0.699 GB, free: 4.672 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.344e-05/0.247, allocations: 11.98 kB / 0.699 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001293/0.2483, allocations: 371.5 kB / 0.6994 GB, free: 4.297 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002222/0.2505, allocations: 2.023 MB / 0.7014 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001087/0.2516, allocations: 275.7 kB / 0.7016 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001235/0.2518, allocations: 46.56 kB / 0.7017 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.393e-05/0.2518, allocations: 11.98 kB / 0.7017 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.2518, allocations: 38.5 kB / 0.7017 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.603e-06/0.2519, allocations: 0 / 0.7017 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.002289/0.2541, allocations: 480.8 kB / 0.7022 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001147/0.2543, allocations: 162.3 kB / 0.7023 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005738/0.2549, allocations: 0.5105 MB / 0.7028 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.54e-05/0.2549, allocations: 29.7 kB / 0.7029 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002018/0.2551, allocations: 271.6 kB / 0.7031 GB, free: 252 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.125e-05/0.2551, allocations: 35.55 kB / 0.7032 GB, free: 216 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.2553, allocations: 69.59 kB / 0.7032 GB, free: 140 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001711/0.2554, allocations: 354.8 kB / 0.7036 GB, free: 15.78 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004471/0.2559, allocations: 128.7 kB / 0.7037 GB, free: 15.65 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005592/0.2565, allocations: 277.9 kB / 0.704 GB, free: 15.32 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009087/0.2574, allocations: 323.4 kB / 0.7043 GB, free: 14.96 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/0.2574, allocations: 7.938 kB / 0.7043 GB, free: 14.95 MB / 0.545 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001093/0.2585, allocations: 402.1 kB / 0.7047 GB, free: 14.55 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.2585, allocations: 7.938 kB / 0.7047 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.2585, allocations: 8.328 kB / 0.7047 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.2586, allocations: 4 kB / 0.7047 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004294/0.259, allocations: 79.88 kB / 0.7048 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.593e-05/0.259, allocations: 15.92 kB / 0.7048 GB, free: 14.44 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004685/0.2595, allocations: 79.61 kB / 0.7048 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.382e-05/0.2595, allocations: 8 kB / 0.7049 GB, free: 14.36 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002904/0.2598, allocations: 196.1 kB / 0.705 GB, free: 14.16 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002662/0.2601, allocations: 227.6 kB / 0.7053 GB, free: 13.87 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003631/0.2605, allocations: 226.7 kB / 0.7055 GB, free: 13.6 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.663e-06/0.2605, allocations: 0 / 0.7055 GB, free: 13.6 MB / 0.545 GB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.0005373/0.261, allocations: 300.7 kB / 0.7058 GB, free: 13.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.885e-06/0.2611, allocations: 4 kB / 0.7058 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.2611, allocations: 4 kB / 0.7058 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.805e-06/0.2611, allocations: 12.38 kB / 0.7058 GB, free: 13.28 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002181/0.2613, allocations: 59.91 kB / 0.7058 GB, free: 13.22 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.2613, allocations: 7.984 kB / 0.7058 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003296/0.2617, allocations: 31.83 kB / 0.7059 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.032e-05/0.2617, allocations: 16 kB / 0.7059 GB, free: 13.17 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.000122/0.2618, allocations: 196.9 kB / 0.7061 GB, free: 12.97 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.2619, allocations: 55.3 kB / 0.7061 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.73e-05/0.262, allocations: 39.92 kB / 0.7062 GB, free: 12.87 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.262, allocations: 4 kB / 0.7062 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.2621, allocations: 4 kB / 0.7062 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.2621, allocations: 7.984 kB / 0.7062 GB, free: 12.85 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006995/0.2628, allocations: 0.5928 MB / 0.7068 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.2628, allocations: 4 kB / 0.7068 GB, free: 12.19 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002742/0.2631, allocations: 44.02 kB / 0.7068 GB, free: 12.15 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.2631, allocations: 4 kB / 0.7068 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.2631, allocations: 3.984 kB / 0.7068 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2631, allocations: 0 / 0.7068 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.2631, allocations: 4 kB / 0.7068 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009053/0.264, allocations: 372.4 kB / 0.7072 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.2641, allocations: 120.6 kB / 0.7073 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.858e-05/0.2642, allocations: 8 kB / 0.7073 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003873/0.2646, allocations: 35.95 kB / 0.7073 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.019e-05/0.2647, allocations: 11.98 kB / 0.7073 GB, free: 11.56 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/0.2647, allocations: 96 / 0.7073 GB, free: 11.56 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003843/0.2651, allocations: 370.8 kB / 0.7077 GB, free: 11.2 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2651, allocations: 0 / 0.7077 GB, free: 11.2 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000696/0.2658, allocations: 203.7 kB / 0.7079 GB, free: 11 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.001044/0.2668, allocations: 411.2 kB / 0.7083 GB, free: 10.73 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001159/0.268, allocations: 387.5 kB / 0.7087 GB, free: 10.36 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.268, allocations: 0 / 0.7087 GB, free: 10.36 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003993/0.2684, allocations: 108.8 kB / 0.7088 GB, free: 10.25 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/0.2695, allocations: 230 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.004947/0.2745, allocations: 1.282 MB / 0.7102 GB, free: 8.703 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003511/0.2749, allocations: 0.827 MB / 0.711 GB, free: 7.848 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003233/0.2752, allocations: 104.1 kB / 0.7111 GB, free: 7.746 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.2753, allocations: 43.42 kB / 0.7112 GB, free: 7.707 MB / 0.545 GB Notification: Performance of SimCode: time 2.41e-07/0.2753, allocations: 0 / 0.7112 GB, free: 7.707 MB / 0.545 GB Notification: Performance of Templates: time 0.01648/0.2918, allocations: 9.24 MB / 0.7202 GB, free: 14.58 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)