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.6856/0.6856, allocations: 132.3 MB / 144.9 MB, free: 10.77 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.0009087/0.0009085, allocations: 180 kB / 176.9 MB, free: 2.164 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.196/1.196, allocations: 170.5 MB / 379.3 MB, free: 11.89 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.001583/0.001583, allocations: 115.1 kB / 450 MB, free: 5.777 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.4048/0.4048, allocations: 73.39 MB / 0.6736 GB, free: 47.55 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.641/1.046, allocations: 351.9 MB / 1.017 GB, free: 47.41 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001899/1.046, allocations: 94.31 kB / 1.017 GB, free: 47.36 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.6875/1.734, allocations: 217.9 MB / 1.23 GB, free: 136.3 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.613e-06/1.734, allocations: 0 / 1.23 GB, free: 136.3 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.439e-05/1.734, allocations: 16.38 kB / 1.23 GB, free: 136.3 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.001394/1.735, allocations: 0.8436 MB / 1.231 GB, free: 135.6 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/1.735, allocations: 10.59 kB / 1.231 GB, free: 135.6 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001811/1.737, allocations: 345.9 kB / 1.231 GB, free: 135.5 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006695/1.738, allocations: 492.9 kB / 1.232 GB, free: 135.1 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.741e-05/1.738, allocations: 29.84 kB / 1.232 GB, free: 135 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.199e-05/1.738, allocations: 44.31 kB / 1.232 GB, free: 135 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005243/1.743, allocations: 1.434 MB / 1.233 GB, free: 134.3 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/1.743, allocations: 3.938 kB / 1.233 GB, free: 134.3 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.632e-05/1.743, allocations: 15.78 kB / 1.233 GB, free: 134.3 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.336e-05/1.743, allocations: 15.05 kB / 1.233 GB, free: 134.3 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004983/1.748, allocations: 1.287 MB / 1.235 GB, free: 133.5 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003001/1.751, allocations: 2.787 MB / 1.237 GB, free: 130.5 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004861/1.756, allocations: 1.14 MB / 1.238 GB, free: 129.3 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002361/1.756, allocations: 150.5 kB / 1.239 GB, free: 129.2 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002509/1.757, allocations: 120.3 kB / 1.239 GB, free: 129.1 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/1.757, allocations: 42.86 kB / 1.239 GB, free: 129 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=21): time 2.896e-06/1.757, allocations: 4 kB / 1.239 GB, free: 129 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21): time 0.009415/1.766, allocations: 2.086 MB / 1.241 GB, free: 126.9 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/1.766, allocations: 162.2 kB / 1.241 GB, free: 126.7 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004342/1.767, allocations: 468.8 kB / 1.241 GB, free: 126.2 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.024e-05/1.767, allocations: 33.77 kB / 1.241 GB, free: 126.2 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/1.767, allocations: 294.6 kB / 1.242 GB, free: 125.9 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.795e-05/1.767, allocations: 78.91 kB / 1.242 GB, free: 125.8 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.482e-05/1.767, allocations: 4 kB / 1.242 GB, free: 125.8 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.616e-05/1.767, allocations: 362.8 kB / 1.242 GB, free: 125.5 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003707/1.767, allocations: 228.8 kB / 1.242 GB, free: 125.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000412/1.768, allocations: 366.8 kB / 1.243 GB, free: 124.8 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003545/1.768, allocations: 211.9 kB / 1.243 GB, free: 124.6 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/1.768, allocations: 0 / 1.243 GB, free: 124.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009958/1.769, allocations: 0.6291 MB / 1.244 GB, free: 124 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.000156/1.769, allocations: 1.047 MB / 1.245 GB, free: 122.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/1.769, allocations: 0 / 1.245 GB, free: 122.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/1.769, allocations: 15.95 kB / 1.245 GB, free: 122.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01405/1.783, allocations: 2.525 MB / 1.247 GB, free: 120.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00301/1.786, allocations: 1.168 MB / 1.248 GB, free: 119.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001893/1.788, allocations: 339.2 kB / 1.248 GB, free: 118.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.221e-05/1.788, allocations: 31.95 kB / 1.249 GB, free: 118.8 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/1.788, allocations: 5.875 kB / 1.249 GB, free: 118.8 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004565/1.789, allocations: 291.5 kB / 1.249 GB, free: 118.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/1.789, allocations: 4 kB / 1.249 GB, free: 118.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.716e-06/1.789, allocations: 8.328 kB / 1.249 GB, free: 118.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004647/1.789, allocations: 127.9 kB / 1.249 GB, free: 118.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/1.789, allocations: 7.938 kB / 1.249 GB, free: 118.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005046/1.79, allocations: 99.47 kB / 1.249 GB, free: 118.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.307e-05/1.79, allocations: 16 kB / 1.249 GB, free: 118.2 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 (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.0001577/1.79, allocations: 132.9 kB / 1.249 GB, free: 118.1 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001336/1.79, allocations: 51.34 kB / 1.249 GB, free: 118 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001778/1.79, allocations: 56.66 kB / 1.249 GB, free: 118 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/1.79, allocations: 4 kB / 1.249 GB, free: 118 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/1.79, allocations: 0 / 1.249 GB, free: 118 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/1.79, allocations: 7.938 kB / 1.249 GB, free: 118 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008091/1.791, allocations: 0.8727 MB / 1.25 GB, free: 117 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/1.791, allocations: 0 / 1.25 GB, free: 117 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01339/1.805, allocations: 2.482 MB / 1.253 GB, free: 114.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.307e-05/1.805, allocations: 0 / 1.253 GB, free: 114.5 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001217/1.805, allocations: 11.97 kB / 1.253 GB, free: 114.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01119/1.816, allocations: 3.382 MB / 1.256 GB, free: 111 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/1.816, allocations: 0 / 1.256 GB, free: 111 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/1.817, allocations: 0.5717 MB / 1.256 GB, free: 110.4 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001712/1.817, allocations: 136.4 kB / 1.257 GB, free: 110.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.037e-05/1.817, allocations: 8 kB / 1.257 GB, free: 110.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001564/1.819, allocations: 291.7 kB / 1.257 GB, free: 110 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.777e-05/1.819, allocations: 23.86 kB / 1.257 GB, free: 109.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.803e-05/1.819, allocations: 15.97 kB / 1.257 GB, free: 109.9 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003455/1.819, allocations: 349.6 kB / 1.257 GB, free: 109.6 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.71e-07/1.819, allocations: 4 kB / 1.257 GB, free: 109.6 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0009764/1.82, allocations: 331.5 kB / 1.258 GB, free: 109.3 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.0004782/1.821, allocations: 298 kB / 1.258 GB, free: 109 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0133/1.834, allocations: 2.805 MB / 1.261 GB, free: 106.2 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 8.275e-06/1.834, allocations: 0.6875 kB / 1.261 GB, free: 106.2 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.01181/1.846, allocations: 2.334 MB / 1.263 GB, free: 103.8 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001509/1.848, allocations: 278.6 kB / 1.263 GB, free: 103.6 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01853/1.866, allocations: 4.088 MB / 1.267 GB, free: 99.45 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002373/1.866, allocations: 0.8797 MB / 1.268 GB, free: 98.54 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0008864/1.867, allocations: 159.1 kB / 1.268 GB, free: 98.39 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002875/1.868, allocations: 55.36 kB / 1.268 GB, free: 98.33 MB / 0.6198 GB Notification: Performance of SimCode: time 9.92e-07/1.868, allocations: 0 / 1.268 GB, free: 98.33 MB / 0.6198 GB Notification: Performance of Templates: time 0.01886/1.887, allocations: 16.23 MB / 1.284 GB, free: 82.14 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)