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.2005/0.2026, allocations: 80.85 MB / 0.6706 GB, free: 2 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01993/0.2226, allocations: 19 MB / 0.6892 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01231/0.235, allocations: 7.112 MB / 0.6961 GB, free: 7.797 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00182/0.2369, allocations: 27.75 kB / 0.6962 GB, free: 7.77 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001153/0.2381, allocations: 294.1 kB / 0.6964 GB, free: 7.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002276/0.2404, allocations: 0.6916 MB / 0.6971 GB, free: 6.785 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00189/0.2423, allocations: 0.6861 MB / 0.6978 GB, free: 6.105 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001808/0.2441, allocations: 1.391 MB / 0.6991 GB, free: 4.711 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006269/0.2448, allocations: 445.4 kB / 0.6996 GB, free: 4.266 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001064/0.2458, allocations: 0.6148 MB / 0.7002 GB, free: 3.648 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005937/0.2464, allocations: 486 kB / 0.7006 GB, free: 3.172 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.478e-05/0.2465, allocations: 48 kB / 0.7007 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009541/0.2475, allocations: 0.5148 MB / 0.7012 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001602/0.2477, allocations: 143.5 kB / 0.7013 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000319/0.248, allocations: 326.3 kB / 0.7016 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001134/0.2491, allocations: 0.8761 MB / 0.7025 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.326e-06/0.2492, allocations: 3.984 kB / 0.7025 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2492, allocations: 0 / 0.7025 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.071e-05/0.2492, allocations: 0 / 0.7025 GB, free: 1.266 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.001615/0.2508, allocations: 0.9579 MB / 0.7034 GB, free: 264 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.2509, allocations: 12.03 kB / 0.7034 GB, free: 252 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002596/0.2535, allocations: 359.8 kB / 0.7038 GB, free: 15.89 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00082/0.2543, allocations: 488.8 kB / 0.7042 GB, free: 15.38 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.492e-05/0.2543, allocations: 33 kB / 0.7043 GB, free: 15.34 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.012e-05/0.2544, allocations: 40 kB / 0.7043 GB, free: 15.3 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007192/0.2616, allocations: 1.575 MB / 0.7058 GB, free: 13.68 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.2617, allocations: 4 kB / 0.7058 GB, free: 13.68 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.96e-05/0.2617, allocations: 16 kB / 0.7059 GB, free: 13.66 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.349e-05/0.2618, allocations: 15.94 kB / 0.7059 GB, free: 13.65 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007512/0.2693, allocations: 1.535 MB / 0.7074 GB, free: 12.11 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004218/0.2735, allocations: 2.776 MB / 0.7101 GB, free: 9.152 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006634/0.2802, allocations: 1.272 MB / 0.7113 GB, free: 7.852 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008623/0.2811, allocations: 262.4 kB / 0.7116 GB, free: 7.586 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003008/0.2814, allocations: 109.1 kB / 0.7117 GB, free: 7.461 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/0.2815, allocations: 38.56 kB / 0.7117 GB, free: 7.414 MB / 0.545 GB Notification: Performance of pre-optimization done (n=21): time 2.054e-06/0.2815, allocations: 0 / 0.7117 GB, free: 7.414 MB / 0.545 GB Notification: Performance of matching and sorting (n=21): time 0.01388/0.2954, allocations: 2.576 MB / 0.7142 GB, free: 4.832 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001604/0.2956, allocations: 166.2 kB / 0.7144 GB, free: 4.633 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007329/0.2964, allocations: 0.5223 MB / 0.7149 GB, free: 4.102 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001094/0.2965, allocations: 33.7 kB / 0.7149 GB, free: 4.062 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002485/0.2967, allocations: 291.9 kB / 0.7152 GB, free: 3.773 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.95e-05/0.2968, allocations: 74.92 kB / 0.7153 GB, free: 3.699 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002369/0.2971, allocations: 110 kB / 0.7154 GB, free: 3.586 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.2972, allocations: 362.8 kB / 0.7157 GB, free: 3.223 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002207/0.2995, allocations: 0.5762 MB / 0.7163 GB, free: 2.645 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002222/0.3017, allocations: 0.668 MB / 0.717 GB, free: 1.934 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004152/0.3059, allocations: 1.155 MB / 0.7181 GB, free: 0.7422 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.3059, allocations: 3.938 kB / 0.7181 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.004848/0.3107, allocations: 1.312 MB / 0.7194 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/0.3108, allocations: 8 kB / 0.7194 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.3108, allocations: 352 / 0.7194 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.306e-05/0.3108, allocations: 12 kB / 0.7194 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01221/0.323, allocations: 1.611 MB / 0.721 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01434/0.3374, allocations: 3.613 MB / 0.7245 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00173/0.3392, allocations: 231.3 kB / 0.7247 GB, free: 9.805 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-05/0.3393, allocations: 23.97 kB / 0.7247 GB, free: 9.781 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006594/0.3399, allocations: 284.9 kB / 0.725 GB, free: 9.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005145/0.3405, allocations: 265.3 kB / 0.7253 GB, free: 9.191 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000879/0.3414, allocations: 389.6 kB / 0.7256 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.034e-06/0.3414, allocations: 0 / 0.7256 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001194/0.3426, allocations: 497.3 kB / 0.7261 GB, free: 8.281 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.3426, allocations: 8 kB / 0.7261 GB, free: 8.273 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.3426, allocations: 4 kB / 0.7261 GB, free: 8.27 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.091e-06/0.3426, allocations: 4 kB / 0.7261 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000522/0.3431, allocations: 111.8 kB / 0.7262 GB, free: 8.156 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.3432, allocations: 19.92 kB / 0.7262 GB, free: 8.137 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005022/0.3437, allocations: 63.86 kB / 0.7263 GB, free: 8.074 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.757e-05/0.3437, allocations: 19.94 kB / 0.7263 GB, free: 8.055 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.0003154/0.344, allocations: 204.1 kB / 0.7265 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001802/0.3442, allocations: 51.34 kB / 0.7266 GB, free: 7.797 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001916/0.3444, allocations: 60.88 kB / 0.7266 GB, free: 7.738 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.3444, allocations: 7.922 kB / 0.7266 GB, free: 7.73 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.3444, allocations: 4 kB / 0.7266 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.3445, allocations: 3.984 kB / 0.7266 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001167/0.3456, allocations: 0.8746 MB / 0.7275 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.3456, allocations: 7.922 kB / 0.7275 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01109/0.3567, allocations: 1.459 MB / 0.7289 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.336e-05/0.3568, allocations: 0 / 0.7289 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001302/0.3569, allocations: 19.97 kB / 0.7289 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01326/0.3702, allocations: 3.5 MB / 0.7324 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.199e-06/0.3702, allocations: 3.938 kB / 0.7324 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004533/0.3748, allocations: 1.234 MB / 0.7336 GB, free: 400 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001858/0.375, allocations: 128.4 kB / 0.7337 GB, free: 252 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/0.3751, allocations: 4 kB / 0.7337 GB, free: 248 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001405/0.3765, allocations: 195.8 kB / 0.7339 GB, free: 52 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.907e-05/0.3766, allocations: 19.92 kB / 0.7339 GB, free: 32 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-05/0.3767, allocations: 15.97 kB / 0.7339 GB, free: 16 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000503/0.3772, allocations: 362.8 kB / 0.7343 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.41e-07/0.3772, allocations: 0 / 0.7343 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001241/0.3785, allocations: 319.5 kB / 0.7346 GB, free: 15.35 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.0004725/0.3789, allocations: 177.5 kB / 0.7347 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01603/0.395, allocations: 2.818 MB / 0.7375 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/0.395, allocations: 4 kB / 0.7375 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.01194/0.407, allocations: 1.869 MB / 0.7393 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001545/0.4086, allocations: 245.5 kB / 0.7396 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01685/0.4254, allocations: 3.197 MB / 0.7427 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004462/0.4259, allocations: 0.8551 MB / 0.7435 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000768/0.4267, allocations: 136.5 kB / 0.7436 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003335/0.427, allocations: 63.31 kB / 0.7437 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of SimCode: time 1.152e-06/0.4271, allocations: 4 kB / 0.7437 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of Templates: time 0.3881/0.8152, allocations: 14.63 MB / 0.758 GB, free: 76.03 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)