Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") [/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.223/0.2251, allocations: 80.84 MB / 0.6706 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.02247/0.2477, allocations: 19.01 MB / 0.6892 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01316/0.2609, allocations: 7.108 MB / 0.6961 GB, free: 7.797 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00147/0.2624, allocations: 23.81 kB / 0.6961 GB, free: 7.773 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.00124/0.2638, allocations: 290 kB / 0.6964 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002539/0.2663, allocations: 0.6636 MB / 0.6971 GB, free: 6.824 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002158/0.2685, allocations: 0.6878 MB / 0.6977 GB, free: 6.141 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001896/0.2704, allocations: 1.383 MB / 0.6991 GB, free: 4.754 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006902/0.2711, allocations: 453.4 kB / 0.6995 GB, free: 4.301 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001216/0.2723, allocations: 0.6071 MB / 0.7001 GB, free: 3.691 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006793/0.273, allocations: 489.9 kB / 0.7006 GB, free: 3.211 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.919e-05/0.2731, allocations: 48 kB / 0.7006 GB, free: 3.164 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00107/0.2742, allocations: 0.511 MB / 0.7011 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001579/0.2743, allocations: 135.4 kB / 0.7013 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003308/0.2747, allocations: 330.3 kB / 0.7016 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001071/0.2757, allocations: 0.8839 MB / 0.7024 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.2758, allocations: 0 / 0.7024 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.853e-06/0.2758, allocations: 0 / 0.7024 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.2758, allocations: 0 / 0.7024 GB, free: 1.309 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001623/0.2774, allocations: 0.9541 MB / 0.7034 GB, free: 312 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.2775, allocations: 8.031 kB / 0.7034 GB, free: 304 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00257/0.28, allocations: 359.9 kB / 0.7037 GB, free: 15.94 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008646/0.2809, allocations: 492.7 kB / 0.7042 GB, free: 15.42 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.595e-05/0.281, allocations: 33 kB / 0.7042 GB, free: 15.39 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.481e-05/0.2811, allocations: 44 kB / 0.7043 GB, free: 15.34 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007055/0.2881, allocations: 1.568 MB / 0.7058 GB, free: 13.73 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/0.2882, allocations: 3.938 kB / 0.7058 GB, free: 13.73 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.048e-05/0.2882, allocations: 16 kB / 0.7058 GB, free: 13.71 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.999e-05/0.2883, allocations: 12 kB / 0.7058 GB, free: 13.7 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007383/0.2957, allocations: 1.543 MB / 0.7073 GB, free: 12.15 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004421/0.3001, allocations: 2.772 MB / 0.71 GB, free: 9.199 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006469/0.3066, allocations: 1.272 MB / 0.7113 GB, free: 7.898 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008647/0.3075, allocations: 258.4 kB / 0.7115 GB, free: 7.641 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002928/0.3078, allocations: 105.1 kB / 0.7116 GB, free: 7.52 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.547e-05/0.3078, allocations: 42.55 kB / 0.7117 GB, free: 7.469 MB / 0.545 GB Notification: Performance of pre-optimization done (n=21): time 3.306e-06/0.3079, allocations: 4 kB / 0.7117 GB, free: 7.465 MB / 0.545 GB Notification: Performance of matching and sorting (n=21): time 0.01378/0.3216, allocations: 2.58 MB / 0.7142 GB, free: 4.879 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/0.3218, allocations: 162.2 kB / 0.7143 GB, free: 4.684 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007284/0.3225, allocations: 0.5223 MB / 0.7149 GB, free: 4.152 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001037/0.3227, allocations: 37.64 kB / 0.7149 GB, free: 4.109 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002228/0.3229, allocations: 287.9 kB / 0.7152 GB, free: 3.824 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000111/0.323, allocations: 78.92 kB / 0.7152 GB, free: 3.746 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002404/0.3232, allocations: 102 kB / 0.7153 GB, free: 3.641 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001936/0.3234, allocations: 367 kB / 0.7157 GB, free: 3.273 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002207/0.3257, allocations: 0.5724 MB / 0.7162 GB, free: 2.699 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002281/0.328, allocations: 0.6833 MB / 0.7169 GB, free: 1.973 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004356/0.3323, allocations: 1.147 MB / 0.718 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.987e-06/0.3324, allocations: 4 kB / 0.718 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.004969/0.3373, allocations: 1.308 MB / 0.7193 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.476e-05/0.3374, allocations: 8.781 kB / 0.7193 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.3374, allocations: 4 kB / 0.7193 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.659e-05/0.3375, allocations: 4.344 kB / 0.7193 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0124/0.3499, allocations: 1.619 MB / 0.7209 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0144/0.3643, allocations: 3.613 MB / 0.7244 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001866/0.3663, allocations: 231.3 kB / 0.7247 GB, free: 9.852 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.087e-05/0.3664, allocations: 27.97 kB / 0.7247 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007837/0.3672, allocations: 288.9 kB / 0.725 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005839/0.3677, allocations: 261.4 kB / 0.7252 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009326/0.3687, allocations: 389.6 kB / 0.7256 GB, free: 8.816 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.725e-06/0.3687, allocations: 0 / 0.7256 GB, free: 8.816 MB / 0.5606 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001233/0.3699, allocations: 0.4896 MB / 0.7261 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.37, allocations: 4 kB / 0.7261 GB, free: 8.316 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/0.37, allocations: 4 kB / 0.7261 GB, free: 8.312 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.156e-06/0.37, allocations: 4 kB / 0.7261 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005083/0.3705, allocations: 107.9 kB / 0.7262 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.3705, allocations: 7.938 kB / 0.7262 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005078/0.3711, allocations: 75.69 kB / 0.7263 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.235e-05/0.3711, allocations: 16 kB / 0.7263 GB, free: 8.105 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003427/0.3714, allocations: 196.1 kB / 0.7265 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002021/0.3717, allocations: 59.34 kB / 0.7265 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002077/0.3719, allocations: 56.88 kB / 0.7266 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.3719, allocations: 7.938 kB / 0.7266 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3719, allocations: 0 / 0.7266 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.83e-06/0.3719, allocations: 0 / 0.7266 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001123/0.373, allocations: 0.8823 MB / 0.7274 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.373, allocations: 0 / 0.7274 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01064/0.3837, allocations: 1.467 MB / 0.7289 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.19e-05/0.3838, allocations: 0 / 0.7289 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001207/0.3839, allocations: 15.97 kB / 0.7289 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01311/0.397, allocations: 3.512 MB / 0.7323 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/0.3971, allocations: 7.969 kB / 0.7323 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004692/0.4018, allocations: 1.226 MB / 0.7335 GB, free: 452 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002267/0.402, allocations: 128.4 kB / 0.7336 GB, free: 304 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001168/0.4022, allocations: 8 kB / 0.7337 GB, free: 296 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001484/0.4036, allocations: 191.8 kB / 0.7338 GB, free: 104 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.088e-05/0.4037, allocations: 23.91 kB / 0.7339 GB, free: 80 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.357e-05/0.4038, allocations: 19.97 kB / 0.7339 GB, free: 60 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000484/0.4043, allocations: 362.8 kB / 0.7342 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4043, allocations: 0 / 0.7342 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001147/0.4055, allocations: 327.5 kB / 0.7345 GB, free: 15.39 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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004862/0.406, allocations: 168.5 kB / 0.7347 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01652/0.4225, allocations: 2.814 MB / 0.7374 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/0.4225, allocations: 0 / 0.7374 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.01244/0.435, allocations: 1.869 MB / 0.7393 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001905/0.437, allocations: 252.9 kB / 0.7395 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01755/0.4545, allocations: 3.201 MB / 0.7426 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004564/0.4551, allocations: 0.8629 MB / 0.7435 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008278/0.4559, allocations: 124.5 kB / 0.7436 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003342/0.4562, allocations: 67.36 kB / 0.7437 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of SimCode: time 2.144e-06/0.4562, allocations: 0 / 0.7437 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of Templates: time 0.4672/0.9234, allocations: 14.63 MB / 0.758 GB, free: 75.96 MB / 0.5762 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)