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.2226/0.225, allocations: 80.83 MB / 0.6706 GB, free: 4.602 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.ValveParameterization): time 0.5261/0.7511, allocations: 25.22 MB / 0.6953 GB, free: 6.449 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0138/0.765, allocations: 9.885 MB / 0.7049 GB, free: 6.168 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001298/0.7663, allocations: 24.84 kB / 0.7049 GB, free: 6.168 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.00122/0.7676, allocations: 371.9 kB / 0.7053 GB, free: 6.035 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002527/0.7701, allocations: 0.8042 MB / 0.7061 GB, free: 5.797 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002675/0.7728, allocations: 0.7567 MB / 0.7068 GB, free: 5.73 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002637/0.7755, allocations: 1.661 MB / 0.7084 GB, free: 5.395 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009208/0.7764, allocations: 0.577 MB / 0.709 GB, free: 5.32 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002351/0.7788, allocations: 0.8255 MB / 0.7098 GB, free: 5.145 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001309/0.7801, allocations: 0.5427 MB / 0.7103 GB, free: 5.023 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001745/0.7803, allocations: 50.88 kB / 0.7104 GB, free: 5.023 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001514/0.7818, allocations: 0.4914 MB / 0.7109 GB, free: 5.008 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002672/0.7821, allocations: 158.6 kB / 0.711 GB, free: 4.973 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0005117/0.7826, allocations: 371.3 kB / 0.7114 GB, free: 4.859 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001568/0.7842, allocations: 0.9591 MB / 0.7123 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.7842, allocations: 0 / 0.7123 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.474e-06/0.7842, allocations: 4 kB / 0.7123 GB, free: 4.656 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.362e-05/0.7843, allocations: 0 / 0.7123 GB, free: 4.656 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: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.001776/0.786, allocations: 1.027 MB / 0.7133 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.7861, allocations: 13.72 kB / 0.7133 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003357/0.7865, allocations: 86.77 kB / 0.7134 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009065/0.7874, allocations: 498.3 kB / 0.7139 GB, free: 3.676 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001162/0.7875, allocations: 104.4 kB / 0.714 GB, free: 3.602 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.277e-05/0.7876, allocations: 48.06 kB / 0.714 GB, free: 3.602 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001792/0.7894, allocations: 0.6252 MB / 0.7146 GB, free: 3.449 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.7894, allocations: 1.062 kB / 0.7146 GB, free: 3.449 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.599e-05/0.7895, allocations: 19.75 kB / 0.7147 GB, free: 3.449 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.124e-05/0.7895, allocations: 17.55 kB / 0.7147 GB, free: 3.445 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001325/0.7908, allocations: 405.1 kB / 0.7151 GB, free: 3.426 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003396/0.7942, allocations: 2.822 MB / 0.7178 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009386/0.7952, allocations: 238.9 kB / 0.718 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001821/0.7954, allocations: 78.17 kB / 0.7181 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.194e-05/0.7954, allocations: 2.625 kB / 0.7181 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.7955, allocations: 34.5 kB / 0.7182 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=13): time 2.184e-06/0.7955, allocations: 0 / 0.7182 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13): time 0.002135/0.7976, allocations: 442.4 kB / 0.7186 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.372e-05/0.7977, allocations: 157.7 kB / 0.7187 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008608/0.7986, allocations: 0.5861 MB / 0.7193 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.337e-05/0.7986, allocations: 31.95 kB / 0.7193 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003309/0.799, allocations: 340.2 kB / 0.7197 GB, free: 276 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.304e-05/0.799, allocations: 47.11 kB / 0.7197 GB, free: 240 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002357/0.7993, allocations: 93.8 kB / 0.7198 GB, free: 184 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000261/0.7995, allocations: 369.8 kB / 0.7201 GB, free: 15.84 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005271/0.8001, allocations: 132.8 kB / 0.7203 GB, free: 15.8 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006534/0.8007, allocations: 261.7 kB / 0.7205 GB, free: 15.61 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009012/0.8016, allocations: 349.3 kB / 0.7209 GB, free: 15.39 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.8017, allocations: 1.156 kB / 0.7209 GB, free: 15.39 MB / 0.545 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001313/0.803, allocations: 448.6 kB / 0.7213 GB, free: 15.23 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.704e-05/0.803, allocations: 6.156 kB / 0.7213 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/0.803, allocations: 5.75 kB / 0.7213 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.004e-05/0.8031, allocations: 4.125 kB / 0.7213 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004308/0.8074, allocations: 0.5695 MB / 0.7219 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009054/0.8165, allocations: 4.949 MB / 0.7267 GB, free: 10.72 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/0.8177, allocations: 75.73 kB / 0.7268 GB, free: 10.69 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.368e-05/0.8177, allocations: 16.5 kB / 0.7268 GB, free: 10.68 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007338/0.8185, allocations: 233.9 kB / 0.727 GB, free: 10.54 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000493/0.819, allocations: 233.5 kB / 0.7272 GB, free: 10.34 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007106/0.8197, allocations: 273.3 kB / 0.7275 GB, free: 10.14 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.799e-06/0.8197, allocations: 5.156 kB / 0.7275 GB, free: 10.14 MB / 0.545 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001143/0.8209, allocations: 386.2 kB / 0.7279 GB, free: 9.973 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.8209, allocations: 7.375 kB / 0.7279 GB, free: 9.973 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.8209, allocations: 7.969 kB / 0.7279 GB, free: 9.969 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.8209, allocations: 9.906 kB / 0.7279 GB, free: 9.965 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005376/0.8215, allocations: 93.19 kB / 0.728 GB, free: 9.961 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.54e-05/0.8215, allocations: 8.719 kB / 0.728 GB, free: 9.957 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006154/0.8221, allocations: 43.64 kB / 0.728 GB, free: 9.938 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-05/0.8222, allocations: 15.66 kB / 0.728 GB, free: 9.934 MB / 0.545 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.0003477/0.8226, allocations: 204.4 kB / 0.7282 GB, free: 9.734 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002079/0.8228, allocations: 62.12 kB / 0.7283 GB, free: 9.699 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001698/0.8229, allocations: 50.16 kB / 0.7283 GB, free: 9.668 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.823, allocations: 1.281 kB / 0.7283 GB, free: 9.668 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.823, allocations: 1.344 kB / 0.7283 GB, free: 9.668 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.823, allocations: 5.188 kB / 0.7283 GB, free: 9.664 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001411/0.8244, allocations: 0.6925 MB / 0.729 GB, free: 9.152 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.8244, allocations: 1.156 kB / 0.729 GB, free: 9.152 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00408/0.8285, allocations: 491 kB / 0.7295 GB, free: 9.137 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.8285, allocations: 7.844 kB / 0.7295 GB, free: 9.133 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.563e-05/0.8286, allocations: 1.031 kB / 0.7295 GB, free: 9.133 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009053/0.8376, allocations: 4.838 MB / 0.7342 GB, free: 4.688 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.8377, allocations: 5.312 kB / 0.7342 GB, free: 4.684 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001351/0.839, allocations: 371.8 kB / 0.7346 GB, free: 4.461 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002821/0.8393, allocations: 128.5 kB / 0.7347 GB, free: 4.332 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/0.8395, allocations: 14.31 kB / 0.7347 GB, free: 4.324 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006474/0.8401, allocations: 33.89 kB / 0.7347 GB, free: 4.324 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/0.8403, allocations: 17.05 kB / 0.7348 GB, free: 4.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.214e-05/0.8403, allocations: 12.81 kB / 0.7348 GB, free: 4.316 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007929/0.8411, allocations: 409.3 kB / 0.7352 GB, free: 4.133 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.11e-07/0.8411, allocations: 0 / 0.7352 GB, free: 4.133 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001406/0.8425, allocations: 299.7 kB / 0.7355 GB, free: 4.082 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 (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.0004758/0.843, allocations: 173 kB / 0.7356 GB, free: 3.969 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006365/0.8494, allocations: 0.9388 MB / 0.7365 GB, free: 3.836 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.8494, allocations: 0.9688 kB / 0.7365 GB, free: 3.836 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.008633/0.8581, allocations: 0.9993 MB / 0.7375 GB, free: 3.746 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002323/0.8604, allocations: 279.9 kB / 0.7378 GB, free: 3.598 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004907/0.8653, allocations: 1.228 MB / 0.739 GB, free: 2.879 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006193/0.866, allocations: 0.8769 MB / 0.7398 GB, free: 2.094 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007089/0.8667, allocations: 106.2 kB / 0.7399 GB, free: 2.047 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001499/0.8669, allocations: 41.75 kB / 0.74 GB, free: 2.035 MB / 0.545 GB Notification: Performance of SimCode: time 1.142e-06/0.8669, allocations: 0 / 0.74 GB, free: 2.035 MB / 0.545 GB Notification: Performance of Templates: time 0.02704/0.8939, allocations: 10.78 MB / 0.7505 GB, free: 12.74 MB / 0.5606 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)