Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.ValveParameterization.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.ValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.ValveParameterization") translateModel(Buildings.Fluid.Actuators.Valves.Examples.ValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.ValveParameterization") [/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.1592/0.1611, allocations: 80.84 MB / 0.6706 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.ValveParameterization): time 0.02515/0.1863, allocations: 25.23 MB / 0.6953 GB, free: 8.676 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01371/0.2001, allocations: 9.875 MB / 0.7049 GB, free: 14.77 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001019/0.2012, allocations: 27.81 kB / 0.7049 GB, free: 14.75 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001063/0.2023, allocations: 353.6 kB / 0.7053 GB, free: 14.4 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002112/0.2044, allocations: 0.7804 MB / 0.706 GB, free: 13.62 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001921/0.2063, allocations: 0.7517 MB / 0.7068 GB, free: 12.87 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001962/0.2083, allocations: 1.666 MB / 0.7084 GB, free: 11.2 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007525/0.2091, allocations: 0.5669 MB / 0.709 GB, free: 10.61 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001477/0.2106, allocations: 0.8288 MB / 0.7098 GB, free: 9.781 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007421/0.2113, allocations: 0.5407 MB / 0.7103 GB, free: 9.238 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.995e-05/0.2114, allocations: 52 kB / 0.7103 GB, free: 9.188 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009583/0.2124, allocations: 0.4954 MB / 0.7108 GB, free: 8.691 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001494/0.2125, allocations: 159.4 kB / 0.711 GB, free: 8.535 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003381/0.2129, allocations: 378.1 kB / 0.7113 GB, free: 8.164 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001046/0.2139, allocations: 0.95 MB / 0.7123 GB, free: 7.211 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.214, allocations: 3.938 kB / 0.7123 GB, free: 7.207 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.593e-06/0.214, allocations: 0 / 0.7123 GB, free: 7.207 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.849e-06/0.214, allocations: 0 / 0.7123 GB, free: 7.207 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: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.001481/0.2155, allocations: 1.024 MB / 0.7133 GB, free: 6.133 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.2155, allocations: 12.03 kB / 0.7133 GB, free: 6.121 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002685/0.2158, allocations: 91.98 kB / 0.7134 GB, free: 6.031 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007641/0.2166, allocations: 499.4 kB / 0.7139 GB, free: 5.504 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001115/0.2167, allocations: 92.41 kB / 0.7139 GB, free: 5.402 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.876e-05/0.2168, allocations: 56 kB / 0.714 GB, free: 5.348 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001495/0.2183, allocations: 0.6275 MB / 0.7146 GB, free: 4.672 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.2183, allocations: 3.938 kB / 0.7146 GB, free: 4.668 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.668e-05/0.2183, allocations: 24 kB / 0.7146 GB, free: 4.645 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.868e-05/0.2184, allocations: 19.98 kB / 0.7147 GB, free: 4.625 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001162/0.2195, allocations: 398.1 kB / 0.715 GB, free: 4.238 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003106/0.2227, allocations: 2.808 MB / 0.7178 GB, free: 1.215 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000847/0.2235, allocations: 235.6 kB / 0.718 GB, free: 0.957 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001637/0.2237, allocations: 74.53 kB / 0.7181 GB, free: 0.875 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.67e-05/0.2237, allocations: 15.92 kB / 0.7181 GB, free: 0.8594 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.2238, allocations: 38.56 kB / 0.7181 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.2238, allocations: 0 / 0.7181 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.001826/0.2256, allocations: 428.9 kB / 0.7185 GB, free: 396 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.286e-05/0.2257, allocations: 162.3 kB / 0.7187 GB, free: 196 kB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000632/0.2263, allocations: 0.5899 MB / 0.7193 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.593e-05/0.2264, allocations: 29.7 kB / 0.7193 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002313/0.2266, allocations: 343.6 kB / 0.7196 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.059e-05/0.2267, allocations: 55.28 kB / 0.7197 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001286/0.2268, allocations: 81.97 kB / 0.7197 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.2269, allocations: 370.7 kB / 0.7201 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003702/0.2273, allocations: 138.3 kB / 0.7202 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004567/0.2278, allocations: 261.8 kB / 0.7205 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007381/0.2285, allocations: 345.4 kB / 0.7208 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.2285, allocations: 4 kB / 0.7208 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009757/0.2295, allocations: 456.7 kB / 0.7213 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.2296, allocations: 8 kB / 0.7213 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.2296, allocations: 4 kB / 0.7213 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.2296, allocations: 4 kB / 0.7213 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003771/0.2334, allocations: 0.558 MB / 0.7218 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007265/0.2407, allocations: 4.947 MB / 0.7266 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000785/0.2415, allocations: 75.48 kB / 0.7267 GB, free: 7.406 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.716e-05/0.2415, allocations: 16 kB / 0.7267 GB, free: 7.391 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004924/0.242, allocations: 239.8 kB / 0.727 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003693/0.2424, allocations: 234.2 kB / 0.7272 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004932/0.2429, allocations: 276.6 kB / 0.7274 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.475e-06/0.2429, allocations: 4 kB / 0.7274 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0006934/0.2436, allocations: 377.3 kB / 0.7278 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.2436, allocations: 11.94 kB / 0.7278 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.2437, allocations: 4 kB / 0.7278 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.2437, allocations: 7.984 kB / 0.7278 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003701/0.244, allocations: 104.2 kB / 0.7279 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.2441, allocations: 8 kB / 0.7279 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003489/0.2444, allocations: 39.67 kB / 0.728 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.327e-05/0.2444, allocations: 19.98 kB / 0.728 GB, free: 5.977 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (45): * Single equations (assignments): 42 * 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.000187/0.2446, allocations: 204.1 kB / 0.7282 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001478/0.2448, allocations: 67.19 kB / 0.7283 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.154e-05/0.2449, allocations: 48.92 kB / 0.7283 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.187e-06/0.2449, allocations: 4 kB / 0.7283 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.2449, allocations: 4 kB / 0.7283 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.2449, allocations: 0 / 0.7283 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009121/0.2458, allocations: 0.6943 MB / 0.729 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.2458, allocations: 0 / 0.729 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003104/0.249, allocations: 487.4 kB / 0.7295 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.249, allocations: 0 / 0.7295 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.507e-05/0.249, allocations: 7.984 kB / 0.7295 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006381/0.2554, allocations: 4.841 MB / 0.7342 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/0.2554, allocations: 3.938 kB / 0.7342 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009598/0.2564, allocations: 372.6 kB / 0.7345 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002031/0.2566, allocations: 124.4 kB / 0.7347 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.494e-05/0.2567, allocations: 7.938 kB / 0.7347 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004506/0.2571, allocations: 43.94 kB / 0.7347 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.954e-05/0.2572, allocations: 11.98 kB / 0.7347 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-05/0.2573, allocations: 11.98 kB / 0.7347 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000558/0.2578, allocations: 411 kB / 0.7351 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.51e-07/0.2579, allocations: 0 / 0.7351 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001128/0.259, allocations: 307.2 kB / 0.7354 GB, free: 13.84 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 (13): * Single equations (assignments): 10 * 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.0004369/0.2594, allocations: 173.6 kB / 0.7356 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00481/0.2643, allocations: 0.9408 MB / 0.7365 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.2643, allocations: 0 / 0.7365 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006457/0.2707, allocations: 0.9955 MB / 0.7375 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001654/0.2724, allocations: 276.1 kB / 0.7377 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00316/0.2756, allocations: 1.212 MB / 0.7389 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005242/0.2761, allocations: 0.8782 MB / 0.7398 GB, free: 9.316 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004502/0.2766, allocations: 104.6 kB / 0.7399 GB, free: 9.215 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.175e-05/0.2767, allocations: 43.44 kB / 0.7399 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of SimCode: time 9.42e-07/0.2767, allocations: 0 / 0.7399 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of Templates: time 0.3994/0.6761, allocations: 11.01 MB / 0.7507 GB, free: 75.26 MB / 0.5762 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.ValveParameterization.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.ValveParameterization.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.ValveParameterization.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.ValveParameterization.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.ValveParameterization.sim & ./Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.ValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.ValveParameterization.pipe 2>&1)