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.1961/0.1969, allocations: 82.22 MB / 0.5941 GB, free: 5.543 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.0187/0.2156, allocations: 18.34 MB / 0.612 GB, free: 3.133 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01138/0.2271, allocations: 7.449 MB / 0.6193 GB, free: 11.67 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007692/0.2279, allocations: 19.81 kB / 0.6193 GB, free: 11.65 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007897/0.2287, allocations: 242.6 kB / 0.6195 GB, free: 11.41 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001587/0.2303, allocations: 0.6102 MB / 0.6201 GB, free: 10.8 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001501/0.2318, allocations: 0.6149 MB / 0.6207 GB, free: 10.19 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001777/0.2336, allocations: 1.867 MB / 0.6226 GB, free: 8.312 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005214/0.2341, allocations: 373.3 kB / 0.6229 GB, free: 7.941 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000866/0.235, allocations: 0.5406 MB / 0.6235 GB, free: 7.398 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005548/0.2356, allocations: 473.9 kB / 0.6239 GB, free: 6.934 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.839e-05/0.2356, allocations: 24 kB / 0.6239 GB, free: 6.91 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008304/0.2365, allocations: 495.2 kB / 0.6244 GB, free: 6.426 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001236/0.2366, allocations: 115.5 kB / 0.6245 GB, free: 6.312 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002857/0.2369, allocations: 332 kB / 0.6248 GB, free: 5.98 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008575/0.2378, allocations: 0.8214 MB / 0.6256 GB, free: 5.156 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/0.2378, allocations: 4 kB / 0.6256 GB, free: 5.152 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2378, allocations: 0 / 0.6256 GB, free: 5.152 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.436e-06/0.2378, allocations: 0 / 0.6256 GB, free: 5.152 MB / 478.1 MB 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.001443/0.2393, allocations: 0.8452 MB / 0.6265 GB, free: 4.254 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.2393, allocations: 8.031 kB / 0.6265 GB, free: 4.246 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002615/0.2419, allocations: 407.8 kB / 0.6269 GB, free: 3.848 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006612/0.2426, allocations: 476.9 kB / 0.6273 GB, free: 3.344 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.168e-05/0.2427, allocations: 33 kB / 0.6273 GB, free: 3.309 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.406e-05/0.2427, allocations: 36 kB / 0.6274 GB, free: 3.273 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007564/0.2503, allocations: 1.794 MB / 0.6291 GB, free: 1.434 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.2503, allocations: 7.938 kB / 0.6291 GB, free: 1.426 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.084e-05/0.2504, allocations: 16 kB / 0.6291 GB, free: 1.41 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.652e-05/0.2505, allocations: 16 kB / 0.6292 GB, free: 1.395 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007904/0.2584, allocations: 1.777 MB / 0.6309 GB, free: 15.61 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004249/0.2626, allocations: 2.788 MB / 0.6336 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006916/0.2696, allocations: 1.491 MB / 0.6351 GB, free: 11.14 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008768/0.2705, allocations: 282.5 kB / 0.6353 GB, free: 10.85 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003084/0.2708, allocations: 129.1 kB / 0.6355 GB, free: 10.71 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.203e-05/0.2709, allocations: 34.56 kB / 0.6355 GB, free: 10.66 MB / 494.1 MB Notification: Performance of pre-optimization done (n=21): time 4.779e-06/0.2709, allocations: 3.984 kB / 0.6355 GB, free: 10.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=21): time 0.01407/0.285, allocations: 3.028 MB / 0.6385 GB, free: 7.625 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/0.2851, allocations: 162.2 kB / 0.6386 GB, free: 7.43 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007035/0.2858, allocations: 0.5301 MB / 0.6391 GB, free: 6.887 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.525e-05/0.2859, allocations: 33.7 kB / 0.6392 GB, free: 6.848 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002164/0.2861, allocations: 291.8 kB / 0.6394 GB, free: 6.555 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.2863, allocations: 74.94 kB / 0.6395 GB, free: 6.48 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.896e-05/0.2864, allocations: 45.7 kB / 0.6396 GB, free: 6.43 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.2865, allocations: 362.8 kB / 0.6399 GB, free: 6.066 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00236/0.2889, allocations: 0.6607 MB / 0.6406 GB, free: 5.406 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002356/0.2912, allocations: 0.7655 MB / 0.6413 GB, free: 4.598 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00452/0.2958, allocations: 1.335 MB / 0.6426 GB, free: 3.227 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.626e-06/0.2958, allocations: 11.94 kB / 0.6426 GB, free: 3.215 MB / 494.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.005105/0.3009, allocations: 1.495 MB / 0.6441 GB, free: 1.711 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001515/0.3011, allocations: 166.8 kB / 0.6442 GB, free: 1.508 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.3011, allocations: 4 kB / 0.6442 GB, free: 1.504 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.3012, allocations: 4 kB / 0.6442 GB, free: 1.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01318/0.3143, allocations: 2.084 MB / 0.6463 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01431/0.3287, allocations: 3.874 MB / 0.6501 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002003/0.3307, allocations: 283.3 kB / 0.6503 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.916e-05/0.3308, allocations: 23.97 kB / 0.6504 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.3309, allocations: 4 kB / 0.6504 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001146/0.332, allocations: 459.4 kB / 0.6508 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.332, allocations: 4 kB / 0.6508 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.34e-06/0.332, allocations: 4 kB / 0.6508 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004989/0.3325, allocations: 128.1 kB / 0.6509 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.3326, allocations: 11.98 kB / 0.6509 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000587/0.3332, allocations: 95.47 kB / 0.651 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.967e-05/0.3332, allocations: 16 kB / 0.651 GB, free: 10.4 MB / 0.4981 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.0004228/0.3336, allocations: 256.9 kB / 0.6513 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001952/0.3338, allocations: 59.34 kB / 0.6513 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001843/0.334, allocations: 56.88 kB / 0.6514 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.281e-06/0.334, allocations: 4 kB / 0.6514 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.3341, allocations: 4 kB / 0.6514 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.421e-06/0.3341, allocations: 0 / 0.6514 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001126/0.3352, allocations: 0.8822 MB / 0.6523 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3352, allocations: 0 / 0.6523 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01153/0.3467, allocations: 1.897 MB / 0.6541 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.298e-05/0.3468, allocations: 4 kB / 0.6541 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001382/0.3469, allocations: 15.97 kB / 0.6541 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01321/0.3602, allocations: 3.741 MB / 0.6578 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.3602, allocations: 32 / 0.6578 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004746/0.365, allocations: 1.418 MB / 0.6592 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002453/0.3652, allocations: 132.4 kB / 0.6593 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001538/0.3654, allocations: 11.94 kB / 0.6593 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001631/0.3671, allocations: 263.6 kB / 0.6596 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.575e-05/0.3672, allocations: 15.97 kB / 0.6596 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.416e-05/0.3672, allocations: 15.98 kB / 0.6596 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004807/0.3677, allocations: 358.8 kB / 0.6599 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.71e-07/0.3677, allocations: 0 / 0.6599 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001203/0.3689, allocations: 323.5 kB / 0.6602 GB, free: 0.7266 MB / 0.4981 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.0004699/0.3694, allocations: 180.5 kB / 0.6604 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0175/0.3869, allocations: 3.452 MB / 0.6638 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.298e-06/0.387, allocations: 0 / 0.6638 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.01274/0.3997, allocations: 2.377 MB / 0.6661 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002381/0.4021, allocations: 282 kB / 0.6664 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01856/0.4208, allocations: 3.954 MB / 0.6702 GB, free: 6.461 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005718/0.4214, allocations: 0.8593 MB / 0.6711 GB, free: 5.574 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001062/0.4225, allocations: 128.5 kB / 0.6712 GB, free: 5.449 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003779/0.4229, allocations: 63.36 kB / 0.6713 GB, free: 5.387 MB / 0.5137 GB Notification: Performance of SimCode: time 1.092e-06/0.4229, allocations: 0 / 0.6713 GB, free: 5.387 MB / 0.5137 GB Notification: Performance of Templates: time 0.02726/0.4502, allocations: 14.06 MB / 0.685 GB, free: 7.461 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: