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.1934/0.1955, allocations: 80.84 MB / 0.6706 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01935/0.2149, allocations: 15.51 MB / 0.6858 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01189/0.2268, allocations: 6.296 MB / 0.6919 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000828/0.2277, allocations: 19.88 kB / 0.6919 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001231/0.229, allocations: 302.2 kB / 0.6922 GB, free: 11.78 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.001409/0.2304, allocations: 0.562 MB / 0.6928 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001737/0.2322, allocations: 0.6203 MB / 0.6934 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001345/0.2336, allocations: 1.064 MB / 0.6944 GB, free: 9.539 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004713/0.234, allocations: 342.1 kB / 0.6947 GB, free: 9.195 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007359/0.2348, allocations: 482.1 kB / 0.6952 GB, free: 8.723 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004384/0.2352, allocations: 354.5 kB / 0.6955 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.703e-05/0.2353, allocations: 32 kB / 0.6956 GB, free: 8.344 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009255/0.2362, allocations: 0.5265 MB / 0.6961 GB, free: 7.816 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001394/0.2364, allocations: 111.6 kB / 0.6962 GB, free: 7.707 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000248/0.2366, allocations: 250.6 kB / 0.6964 GB, free: 7.461 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0009799/0.2376, allocations: 0.771 MB / 0.6972 GB, free: 6.688 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.2376, allocations: 11.94 kB / 0.6972 GB, free: 6.676 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.492e-06/0.2376, allocations: 0 / 0.6972 GB, free: 6.676 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.228e-06/0.2377, allocations: 0 / 0.6972 GB, free: 6.676 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.001318/0.239, allocations: 0.841 MB / 0.698 GB, free: 5.785 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.239, allocations: 8.031 kB / 0.698 GB, free: 5.777 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002674/0.2393, allocations: 72.28 kB / 0.6981 GB, free: 5.707 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006904/0.24, allocations: 420.6 kB / 0.6985 GB, free: 5.254 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.492e-05/0.24, allocations: 24.66 kB / 0.6985 GB, free: 5.23 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.662e-05/0.2401, allocations: 32 kB / 0.6986 GB, free: 5.199 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001551/0.2417, allocations: 0.5282 MB / 0.6991 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.2417, allocations: 0 / 0.6991 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.719e-05/0.2417, allocations: 12 kB / 0.6991 GB, free: 4.613 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.237e-05/0.2418, allocations: 8 kB / 0.6991 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001299/0.2431, allocations: 363.5 kB / 0.6994 GB, free: 4.25 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002302/0.2454, allocations: 2.03 MB / 0.7014 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001094/0.2465, allocations: 271.6 kB / 0.7017 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001267/0.2466, allocations: 54.67 kB / 0.7017 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.602e-05/0.2467, allocations: 4 kB / 0.7017 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.657e-05/0.2467, allocations: 30.56 kB / 0.7018 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.2467, allocations: 0 / 0.7018 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.002212/0.2489, allocations: 0.489 MB / 0.7022 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.249, allocations: 158.2 kB / 0.7024 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006265/0.2497, allocations: 0.5105 MB / 0.7029 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.417e-05/0.2497, allocations: 29.7 kB / 0.7029 GB, free: 468 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002098/0.2499, allocations: 267.6 kB / 0.7032 GB, free: 196 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.454e-05/0.25, allocations: 39.53 kB / 0.7032 GB, free: 156 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.2501, allocations: 69.59 kB / 0.7033 GB, free: 80 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001657/0.2503, allocations: 354.8 kB / 0.7036 GB, free: 15.72 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000423/0.2507, allocations: 124.8 kB / 0.7037 GB, free: 15.6 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005139/0.2512, allocations: 277.8 kB / 0.704 GB, free: 15.26 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008438/0.2521, allocations: 319.4 kB / 0.7043 GB, free: 14.91 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.2521, allocations: 11.94 kB / 0.7043 GB, free: 14.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.00103/0.2531, allocations: 405.8 kB / 0.7047 GB, free: 14.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.855e-05/0.2532, allocations: 7.938 kB / 0.7047 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.525e-06/0.2532, allocations: 4 kB / 0.7047 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.2532, allocations: 4 kB / 0.7047 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004312/0.2536, allocations: 84.25 kB / 0.7048 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.637e-05/0.2537, allocations: 11.94 kB / 0.7048 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004635/0.2541, allocations: 71.48 kB / 0.7049 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.623e-05/0.2542, allocations: 15.98 kB / 0.7049 GB, free: 14.3 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00029/0.2545, allocations: 196 kB / 0.7051 GB, free: 14.11 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002828/0.2548, allocations: 223.7 kB / 0.7053 GB, free: 13.82 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003527/0.2551, allocations: 228.6 kB / 0.7055 GB, free: 13.55 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.512e-06/0.2551, allocations: 0 / 0.7055 GB, free: 13.55 MB / 0.545 GB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.0005256/0.2557, allocations: 303.3 kB / 0.7058 GB, free: 13.25 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.664e-06/0.2557, allocations: 4 kB / 0.7058 GB, free: 13.24 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.2557, allocations: 4 kB / 0.7058 GB, free: 13.24 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.526e-06/0.2557, allocations: 11.94 kB / 0.7058 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002118/0.2559, allocations: 59.91 kB / 0.7059 GB, free: 13.17 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.2559, allocations: 4.469 kB / 0.7059 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003317/0.2563, allocations: 35.81 kB / 0.7059 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.757e-05/0.2563, allocations: 20.19 kB / 0.7059 GB, free: 13.11 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.0001287/0.2564, allocations: 192.9 kB / 0.7061 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/0.2566, allocations: 47.38 kB / 0.7062 GB, free: 12.87 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.475e-05/0.2567, allocations: 47.91 kB / 0.7062 GB, free: 12.81 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.2567, allocations: 0 / 0.7062 GB, free: 12.81 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.2567, allocations: 4 kB / 0.7062 GB, free: 12.81 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.2567, allocations: 4 kB / 0.7062 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006947/0.2574, allocations: 0.5967 MB / 0.7068 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.2574, allocations: 4 kB / 0.7068 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002708/0.2577, allocations: 43.89 kB / 0.7068 GB, free: 12.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.2577, allocations: 4 kB / 0.7068 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.2577, allocations: 4 kB / 0.7069 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.2577, allocations: 0 / 0.7069 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.2577, allocations: 4 kB / 0.7069 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008714/0.2586, allocations: 380.4 kB / 0.7072 GB, free: 11.69 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.2587, allocations: 116.6 kB / 0.7073 GB, free: 11.56 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.691e-05/0.2588, allocations: 8 kB / 0.7073 GB, free: 11.55 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000372/0.2592, allocations: 35.95 kB / 0.7074 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.893e-05/0.2592, allocations: 11.98 kB / 0.7074 GB, free: 11.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.687e-06/0.2593, allocations: 0 / 0.7074 GB, free: 11.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003849/0.2596, allocations: 366.8 kB / 0.7077 GB, free: 11.15 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.41e-07/0.2597, allocations: 0 / 0.7077 GB, free: 11.15 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006637/0.2603, allocations: 203.7 kB / 0.7079 GB, free: 10.95 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.00101/0.2613, allocations: 409.7 kB / 0.7083 GB, free: 10.68 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001131/0.2625, allocations: 396.2 kB / 0.7087 GB, free: 10.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2625, allocations: 0 / 0.7087 GB, free: 10.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003589/0.2629, allocations: 103.9 kB / 0.7088 GB, free: 10.2 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/0.2639, allocations: 221.3 kB / 0.709 GB, free: 9.98 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004671/0.2686, allocations: 1.29 MB / 0.7103 GB, free: 8.652 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004198/0.269, allocations: 0.823 MB / 0.7111 GB, free: 7.801 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003045/0.2694, allocations: 104.1 kB / 0.7112 GB, free: 7.699 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001185/0.2695, allocations: 39.42 kB / 0.7112 GB, free: 7.664 MB / 0.545 GB Notification: Performance of SimCode: time 2.41e-07/0.2695, allocations: 0 / 0.7112 GB, free: 7.664 MB / 0.545 GB Notification: Performance of Templates: time 0.0172/0.2867, allocations: 9.094 MB / 0.7201 GB, free: 14.68 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)