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.2058/0.208, allocations: 80.83 MB / 0.6706 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.ValveParameterization): time 0.03222/0.2403, allocations: 25.23 MB / 0.6953 GB, free: 8.676 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01637/0.2567, allocations: 9.879 MB / 0.7049 GB, free: 14.77 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001453/0.2582, allocations: 23.81 kB / 0.7049 GB, free: 14.75 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001416/0.2597, allocations: 361.6 kB / 0.7053 GB, free: 14.39 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002633/0.2623, allocations: 0.7798 MB / 0.706 GB, free: 13.61 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002405/0.2648, allocations: 0.748 MB / 0.7068 GB, free: 12.87 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002607/0.2674, allocations: 1.665 MB / 0.7084 GB, free: 11.2 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009019/0.2683, allocations: 0.5708 MB / 0.709 GB, free: 10.61 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001913/0.2702, allocations: 0.821 MB / 0.7098 GB, free: 9.781 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008063/0.271, allocations: 0.5367 MB / 0.7103 GB, free: 9.242 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.451e-05/0.2711, allocations: 56 kB / 0.7103 GB, free: 9.188 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001098/0.2722, allocations: 0.4993 MB / 0.7108 GB, free: 8.688 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001753/0.2724, allocations: 151.4 kB / 0.711 GB, free: 8.539 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003882/0.2728, allocations: 378.1 kB / 0.7113 GB, free: 8.168 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001214/0.274, allocations: 0.9539 MB / 0.7123 GB, free: 7.211 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2741, allocations: 0 / 0.7123 GB, free: 7.211 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2741, allocations: 0 / 0.7123 GB, free: 7.211 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.558e-06/0.2741, allocations: 0 / 0.7123 GB, free: 7.211 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.001651/0.2757, allocations: 1.024 MB / 0.7133 GB, free: 6.137 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.2758, allocations: 8.031 kB / 0.7133 GB, free: 6.129 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000295/0.2761, allocations: 88 kB / 0.7134 GB, free: 6.043 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008302/0.2769, allocations: 0.4955 MB / 0.7138 GB, free: 5.508 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001246/0.2771, allocations: 96.39 kB / 0.7139 GB, free: 5.402 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.873e-05/0.2771, allocations: 52 kB / 0.714 GB, free: 5.352 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00159/0.2787, allocations: 0.6236 MB / 0.7146 GB, free: 4.68 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.2788, allocations: 11.88 kB / 0.7146 GB, free: 4.668 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.271e-05/0.2788, allocations: 20 kB / 0.7146 GB, free: 4.648 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.898e-05/0.2789, allocations: 19.94 kB / 0.7146 GB, free: 4.629 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001215/0.2801, allocations: 398.1 kB / 0.715 GB, free: 4.242 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003646/0.2837, allocations: 2.808 MB / 0.7178 GB, free: 1.219 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009263/0.2847, allocations: 243.6 kB / 0.718 GB, free: 0.9531 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001683/0.2849, allocations: 70.55 kB / 0.7181 GB, free: 0.875 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.204e-05/0.2849, allocations: 7.984 kB / 0.7181 GB, free: 0.8672 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.397e-05/0.285, allocations: 46.48 kB / 0.7181 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 2.364e-06/0.285, allocations: 0 / 0.7181 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.001971/0.2869, allocations: 429 kB / 0.7185 GB, free: 396 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.25e-05/0.287, allocations: 162.3 kB / 0.7187 GB, free: 196 kB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00071/0.2878, allocations: 0.5899 MB / 0.7193 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.534e-05/0.2878, allocations: 33.7 kB / 0.7193 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003146/0.2882, allocations: 331.7 kB / 0.7196 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.674e-05/0.2882, allocations: 55.28 kB / 0.7197 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001548/0.2884, allocations: 89.95 kB / 0.7197 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001901/0.2886, allocations: 366.7 kB / 0.7201 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003878/0.289, allocations: 142.2 kB / 0.7202 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004575/0.2894, allocations: 261.7 kB / 0.7205 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007592/0.2902, allocations: 337.4 kB / 0.7208 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.2902, allocations: 8 kB / 0.7208 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001027/0.2913, allocations: 456.7 kB / 0.7212 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.2913, allocations: 4 kB / 0.7212 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/0.2913, allocations: 4 kB / 0.7212 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.557e-05/0.2913, allocations: 4 kB / 0.7213 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003885/0.2952, allocations: 0.5659 MB / 0.7218 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008006/0.3033, allocations: 4.95 MB / 0.7266 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007895/0.3041, allocations: 79.48 kB / 0.7267 GB, free: 7.398 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.001e-05/0.3041, allocations: 12 kB / 0.7267 GB, free: 7.387 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005061/0.3047, allocations: 231.8 kB / 0.7269 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003421/0.305, allocations: 234.3 kB / 0.7272 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004821/0.3055, allocations: 280.7 kB / 0.7274 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.524e-06/0.3055, allocations: 0 / 0.7274 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0007055/0.3062, allocations: 381.3 kB / 0.7278 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.3063, allocations: 7.938 kB / 0.7278 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.3063, allocations: 4 kB / 0.7278 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.577e-06/0.3063, allocations: 4 kB / 0.7278 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004036/0.3067, allocations: 108.2 kB / 0.7279 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.3067, allocations: 8 kB / 0.7279 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003626/0.3071, allocations: 43.66 kB / 0.728 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.429e-05/0.3071, allocations: 16 kB / 0.728 GB, free: 5.98 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.00032/0.3074, allocations: 200.2 kB / 0.7282 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/0.3076, allocations: 71.12 kB / 0.7282 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.724e-05/0.3077, allocations: 48.92 kB / 0.7283 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.3077, allocations: 3.938 kB / 0.7283 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3077, allocations: 4 kB / 0.7283 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.3077, allocations: 11.97 kB / 0.7283 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009667/0.3087, allocations: 0.6865 MB / 0.729 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/0.3087, allocations: 0 / 0.729 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003309/0.312, allocations: 491.3 kB / 0.7294 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.3121, allocations: 4 kB / 0.7295 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.197e-05/0.3121, allocations: 4 kB / 0.7295 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006876/0.319, allocations: 4.83 MB / 0.7342 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.945e-06/0.319, allocations: 12 kB / 0.7342 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00098/0.32, allocations: 372.5 kB / 0.7345 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001933/0.3202, allocations: 128.4 kB / 0.7347 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.556e-05/0.3203, allocations: 3.938 kB / 0.7347 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004993/0.3208, allocations: 43.95 kB / 0.7347 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.5e-05/0.3209, allocations: 7.984 kB / 0.7347 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.097e-05/0.3209, allocations: 15.98 kB / 0.7347 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005863/0.3215, allocations: 403.1 kB / 0.7351 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3215, allocations: 0 / 0.7351 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001273/0.3228, allocations: 307.2 kB / 0.7354 GB, free: 13.85 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.0004842/0.3233, allocations: 176 kB / 0.7356 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.005028/0.3283, allocations: 0.9447 MB / 0.7365 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.3283, allocations: 0 / 0.7365 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00664/0.335, allocations: 0.9916 MB / 0.7375 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001452/0.3365, allocations: 281.8 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.003424/0.3399, allocations: 1.216 MB / 0.7389 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004921/0.3404, allocations: 0.8782 MB / 0.7398 GB, free: 9.312 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003863/0.3408, allocations: 100.7 kB / 0.7399 GB, free: 9.215 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.718e-05/0.3409, allocations: 43.42 kB / 0.7399 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of SimCode: time 9.72e-07/0.3409, allocations: 0 / 0.7399 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of Templates: time 0.4447/0.7856, allocations: 10.78 MB / 0.7504 GB, free: 75 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)