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/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8863/0.8863, allocations: 132.4 MB / 139.9 MB, free: 15.36 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001048/0.001048, allocations: 169 kB / 171.8 MB, free: 2.047 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.392/1.392, allocations: 170.6 MB / 374.2 MB, free: 15.77 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001596/0.001596, allocations: 120.2 kB / 444.8 MB, free: 9.289 MB / 346.7 MB [/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.5026/0.5026, allocations: 73.39 MB / 0.6666 GB, free: 46.79 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7892/1.292, allocations: 351.3 MB / 1.01 GB, free: 54.87 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002624/1.292, allocations: 97.39 kB / 1.01 GB, free: 54.82 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.8713/2.164, allocations: 216.1 MB / 1.221 GB, free: 139.4 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.963e-06/2.164, allocations: 4 kB / 1.221 GB, free: 139.4 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.176e-05/2.164, allocations: 19.28 kB / 1.221 GB, free: 139.4 MB / 0.6198 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.001493/2.165, allocations: 0.8428 MB / 1.222 GB, free: 138.7 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/2.165, allocations: 9.625 kB / 1.222 GB, free: 138.7 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001883/2.167, allocations: 349.8 kB / 1.222 GB, free: 138.6 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006711/2.168, allocations: 495.8 kB / 1.222 GB, free: 138.2 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/2.168, allocations: 10.84 kB / 1.222 GB, free: 138.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.652e-05/2.168, allocations: 26.5 kB / 1.223 GB, free: 138.2 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005836/2.169, allocations: 351.5 kB / 1.223 GB, free: 138 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006036/2.169, allocations: 474.7 kB / 1.223 GB, free: 137.7 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/2.169, allocations: 0 / 1.223 GB, free: 137.7 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.388e-05/2.169, allocations: 7.719 kB / 1.223 GB, free: 137.7 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.213e-05/2.169, allocations: 15.34 kB / 1.223 GB, free: 137.7 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003061/2.172, allocations: 2.695 MB / 1.226 GB, free: 135.3 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004261/2.173, allocations: 237.7 kB / 1.226 GB, free: 135.1 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002053/2.173, allocations: 139.6 kB / 1.226 GB, free: 135 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002535/2.173, allocations: 113.4 kB / 1.226 GB, free: 134.9 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/2.173, allocations: 42.5 kB / 1.226 GB, free: 134.9 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=21): time 1.723e-06/2.173, allocations: 0 / 1.226 GB, free: 134.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21): time 0.005364/2.179, allocations: 1.215 MB / 1.228 GB, free: 134.4 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.263e-05/2.179, allocations: 154.2 kB / 1.228 GB, free: 134.2 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003653/2.179, allocations: 378.7 kB / 1.228 GB, free: 134 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.087e-05/2.179, allocations: 25.7 kB / 1.228 GB, free: 133.9 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001676/2.179, allocations: 299.7 kB / 1.228 GB, free: 133.7 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.016e-05/2.179, allocations: 74.5 kB / 1.229 GB, free: 133.6 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.625e-05/2.179, allocations: 0 / 1.229 GB, free: 133.6 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.304e-05/2.18, allocations: 365.1 kB / 1.229 GB, free: 133.3 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003391/2.18, allocations: 218.1 kB / 1.229 GB, free: 133.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004097/2.18, allocations: 349.9 kB / 1.229 GB, free: 132.9 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003121/2.181, allocations: 204 kB / 1.23 GB, free: 132.8 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/2.181, allocations: 0 / 1.23 GB, free: 132.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0009518/2.182, allocations: 0.5679 MB / 1.23 GB, free: 132.5 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002621/2.182, allocations: 1.055 MB / 1.231 GB, free: 131.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/2.182, allocations: 3.875 kB / 1.231 GB, free: 131.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.734e-05/2.182, allocations: 3.875 kB / 1.231 GB, free: 131.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01583/2.198, allocations: 2.727 MB / 1.234 GB, free: 130.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003164/2.201, allocations: 1.196 MB / 1.235 GB, free: 129.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001971/2.203, allocations: 314.9 kB / 1.235 GB, free: 129.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-05/2.203, allocations: 31.69 kB / 1.235 GB, free: 129.5 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/2.203, allocations: 3.938 kB / 1.235 GB, free: 129.5 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004255/2.204, allocations: 235.2 kB / 1.236 GB, free: 129.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/2.204, allocations: 0 / 1.236 GB, free: 129.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/2.204, allocations: 12.16 kB / 1.236 GB, free: 129.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000446/2.204, allocations: 117.8 kB / 1.236 GB, free: 129.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/2.204, allocations: 7.844 kB / 1.236 GB, free: 129.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004797/2.204, allocations: 76.34 kB / 1.236 GB, free: 129.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.359e-05/2.205, allocations: 23.08 kB / 1.236 GB, free: 129.4 MB / 0.6198 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001728/2.205, allocations: 112.1 kB / 1.236 GB, free: 129.2 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001333/2.205, allocations: 50.31 kB / 1.236 GB, free: 129.2 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001802/2.205, allocations: 55.42 kB / 1.236 GB, free: 129.2 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/2.205, allocations: 3.594 kB / 1.236 GB, free: 129.2 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/2.205, allocations: 0 / 1.236 GB, free: 129.2 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/2.205, allocations: 0 / 1.236 GB, free: 129.2 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008932/2.206, allocations: 0.8244 MB / 1.237 GB, free: 128.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/2.206, allocations: 0 / 1.237 GB, free: 128.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01389/2.22, allocations: 2.477 MB / 1.239 GB, free: 127.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-05/2.22, allocations: 3.312 kB / 1.239 GB, free: 127.6 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001502/2.22, allocations: 11.22 kB / 1.239 GB, free: 127.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01154/2.232, allocations: 3.319 MB / 1.243 GB, free: 125.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/2.232, allocations: 0 / 1.243 GB, free: 125.5 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/2.233, allocations: 0.5575 MB / 1.243 GB, free: 125.1 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001686/2.233, allocations: 127.1 kB / 1.243 GB, free: 125 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.589e-05/2.233, allocations: 0 / 1.243 GB, free: 125 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00165/2.235, allocations: 295.1 kB / 1.243 GB, free: 124.8 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.528e-05/2.235, allocations: 15.98 kB / 1.243 GB, free: 124.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.858e-05/2.235, allocations: 15.97 kB / 1.243 GB, free: 124.8 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003493/2.235, allocations: 282.9 kB / 1.244 GB, free: 124.5 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.61e-07/2.235, allocations: 4 kB / 1.244 GB, free: 124.5 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001166/2.236, allocations: 315.4 kB / 1.244 GB, free: 124.2 MB / 0.6198 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 () * 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000587/2.237, allocations: 295.1 kB / 1.244 GB, free: 123.9 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.01457/2.252, allocations: 2.954 MB / 1.247 GB, free: 121 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/2.252, allocations: 4 kB / 1.247 GB, free: 121 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.01237/2.264, allocations: 2.33 MB / 1.25 GB, free: 118.7 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001517/2.266, allocations: 219.3 kB / 1.25 GB, free: 118.4 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0192/2.285, allocations: 4.071 MB / 1.254 GB, free: 114.3 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003153/2.285, allocations: 0.8752 MB / 1.255 GB, free: 113.4 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001011/2.286, allocations: 140.1 kB / 1.255 GB, free: 113.3 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003334/2.286, allocations: 59.3 kB / 1.255 GB, free: 113.2 MB / 0.6198 GB Notification: Performance of SimCode: time 2.594e-06/2.287, allocations: 0 / 1.255 GB, free: 113.2 MB / 0.6198 GB Notification: Performance of Templates: time 0.02164/2.308, allocations: 13.44 MB / 1.268 GB, free: 99.84 MB / 0.6198 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)