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.8414/0.8414, allocations: 133.7 MB / 148.6 MB, free: 13.64 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.001768/0.001769, allocations: 178.7 kB / 180.9 MB, free: 15.08 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.763/1.763, allocations: 170.7 MB / 383.7 MB, free: 16.12 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.00177/0.00177, allocations: 110 kB / 454.6 MB, free: 9.73 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.2065/0.2071, allocations: 73.41 MB / 0.6812 GB, free: 5.578 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.34/1.547, allocations: 352 MB / 1.025 GB, free: 133.6 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003726/1.548, allocations: 98.3 kB / 1.025 GB, free: 133.5 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.9648/2.512, allocations: 218.6 MB / 1.238 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd: time 5.751e-06/2.513, allocations: 0 / 1.238 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.27e-05/2.513, allocations: 21.48 kB / 1.239 GB, free: 141.7 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.002147/2.515, allocations: 0.9464 MB / 1.239 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.588e-05/2.515, allocations: 9.438 kB / 1.239 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001916/2.517, allocations: 353 kB / 1.24 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000913/2.518, allocations: 485.2 kB / 1.24 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.125e-05/2.518, allocations: 34.75 kB / 1.24 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.339e-05/2.518, allocations: 44.56 kB / 1.24 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007145/2.525, allocations: 1.861 MB / 1.242 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/2.525, allocations: 2.25 kB / 1.242 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.142e-05/2.525, allocations: 21.97 kB / 1.242 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.542e-05/2.525, allocations: 12.39 kB / 1.242 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007647/2.533, allocations: 1.846 MB / 1.244 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004355/2.537, allocations: 2.798 MB / 1.247 GB, free: 138.1 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007589/2.545, allocations: 1.571 MB / 1.248 GB, free: 137.9 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002888/2.545, allocations: 118.8 kB / 1.248 GB, free: 137.9 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.001e-05/2.545, allocations: 40.03 kB / 1.248 GB, free: 137.8 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=21): time 5.189e-06/2.545, allocations: 3.891 kB / 1.248 GB, free: 137.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21): time 0.01567/2.561, allocations: 3.193 MB / 1.252 GB, free: 137.4 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.658e-05/2.561, allocations: 157.8 kB / 1.252 GB, free: 137.3 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008232/2.562, allocations: 465.8 kB / 1.252 GB, free: 137 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001144/2.562, allocations: 35.61 kB / 1.252 GB, free: 137 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000236/2.562, allocations: 300.2 kB / 1.252 GB, free: 136.8 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001047/2.562, allocations: 70.97 kB / 1.252 GB, free: 136.7 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.041e-05/2.562, allocations: 14.25 kB / 1.253 GB, free: 136.7 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001385/2.563, allocations: 361.1 kB / 1.253 GB, free: 136.4 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002208/2.565, allocations: 0.6586 MB / 1.253 GB, free: 136.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002259/2.567, allocations: 0.7747 MB / 1.254 GB, free: 136 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00227/2.569, allocations: 0.6458 MB / 1.255 GB, free: 135.8 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.221e-06/2.569, allocations: 0.9688 kB / 1.255 GB, free: 135.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.005122/2.575, allocations: 1.475 MB / 1.256 GB, free: 135.5 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003913/2.575, allocations: 1.053 MB / 1.257 GB, free: 134.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/2.575, allocations: 2.938 kB / 1.257 GB, free: 134.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.089e-05/2.575, allocations: 9.609 kB / 1.257 GB, free: 134.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01655/2.592, allocations: 2.528 MB / 1.26 GB, free: 134.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004473/2.596, allocations: 1.431 MB / 1.261 GB, free: 133.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002399/2.599, allocations: 327.7 kB / 1.262 GB, free: 133.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.229e-05/2.599, allocations: 32.55 kB / 1.262 GB, free: 133.5 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/2.599, allocations: 3.25 kB / 1.262 GB, free: 133.5 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001066/2.6, allocations: 458.6 kB / 1.262 GB, free: 133.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/2.6, allocations: 3.938 kB / 1.262 GB, free: 133.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/2.6, allocations: 3.188 kB / 1.262 GB, free: 133.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000492/2.6, allocations: 117.9 kB / 1.262 GB, free: 133.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/2.6, allocations: 15.72 kB / 1.262 GB, free: 133.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007219/2.601, allocations: 103.4 kB / 1.262 GB, free: 133.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.092e-05/2.601, allocations: 19.55 kB / 1.262 GB, free: 133.3 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 () * 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 (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.0005267/2.602, allocations: 254.7 kB / 1.263 GB, free: 133.1 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001777/2.602, allocations: 50.97 kB / 1.263 GB, free: 133.1 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001984/2.602, allocations: 56.05 kB / 1.263 GB, free: 133 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/2.602, allocations: 3.875 kB / 1.263 GB, free: 133 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.39e-05/2.602, allocations: 7.203 kB / 1.263 GB, free: 133 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/2.602, allocations: 7.484 kB / 1.263 GB, free: 133 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001217/2.603, allocations: 0.8704 MB / 1.263 GB, free: 132.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/2.603, allocations: 0 / 1.263 GB, free: 132.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01493/2.618, allocations: 2.474 MB / 1.266 GB, free: 132.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.183e-05/2.618, allocations: 0 / 1.266 GB, free: 132.3 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003188/2.619, allocations: 14.58 kB / 1.266 GB, free: 132.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01683/2.636, allocations: 4.498 MB / 1.27 GB, free: 130.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/2.636, allocations: 4.062 kB / 1.27 GB, free: 130.5 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004389/2.64, allocations: 1.426 MB / 1.272 GB, free: 130.1 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003079/2.64, allocations: 130.2 kB / 1.272 GB, free: 129.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/2.64, allocations: 3.406 kB / 1.272 GB, free: 129.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001691/2.642, allocations: 301.3 kB / 1.272 GB, free: 129.9 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.374e-05/2.642, allocations: 26.11 kB / 1.272 GB, free: 129.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.186e-05/2.642, allocations: 15.28 kB / 1.272 GB, free: 129.9 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005288/2.643, allocations: 358.3 kB / 1.272 GB, free: 129.7 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.52e-07/2.643, allocations: 0 / 1.272 GB, free: 129.7 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001523/2.644, allocations: 327.3 kB / 1.273 GB, free: 129.7 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 () * 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 (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.0008215/2.645, allocations: 308.9 kB / 1.273 GB, free: 129.5 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.01957/2.665, allocations: 3.7 MB / 1.277 GB, free: 129.1 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-05/2.665, allocations: 0 / 1.277 GB, free: 129.1 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.01536/2.68, allocations: 2.762 MB / 1.279 GB, free: 128.9 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002199/2.683, allocations: 273.8 kB / 1.28 GB, free: 128.8 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0232/2.706, allocations: 4.944 MB / 1.284 GB, free: 128 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005824/2.707, allocations: 0.8767 MB / 1.285 GB, free: 127.3 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001154/2.708, allocations: 119.8 kB / 1.285 GB, free: 127.2 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004222/2.708, allocations: 70.67 kB / 1.286 GB, free: 127.2 MB / 0.6198 GB Notification: Performance of SimCode: time 1.603e-06/2.708, allocations: 3.938 kB / 1.286 GB, free: 127.2 MB / 0.6198 GB Notification: Performance of Templates: time 0.02844/2.737, allocations: 15.03 MB / 1.3 GB, free: 120.6 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)