Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.407/1.407, allocations: 252 MB / 268 MB, free: 10.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009483/0.0009483, allocations: 172 kB / 327.6 MB, free: 2.082 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.437/1.437, allocations: 205.4 MB / 0.5786 GB, free: 20.11 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007266/0.0007266, allocations: 103.6 kB / 0.6833 GB, free: 12.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003004/0.0003004, allocations: 12.94 kB / 0.7976 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1602, allocations: 106.3 MB / 0.9015 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.012/0.1723, allocations: 15.13 MB / 0.9162 GB, free: 48.12 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.008329/0.1806, allocations: 7.345 MB / 0.9234 GB, free: 40.76 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006724/0.1813, allocations: 15.81 kB / 0.9234 GB, free: 40.74 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0008409/0.1822, allocations: 230.8 kB / 0.9236 GB, free: 40.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001438/0.1837, allocations: 0.5511 MB / 0.9242 GB, free: 39.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001526/0.1852, allocations: 0.6242 MB / 0.9248 GB, free: 39.35 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001231/0.1864, allocations: 1.286 MB / 0.926 GB, free: 38.06 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004208/0.1869, allocations: 279.9 kB / 0.9263 GB, free: 37.78 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006366/0.1875, allocations: 382.2 kB / 0.9267 GB, free: 37.41 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004035/0.1879, allocations: 306.6 kB / 0.927 GB, free: 37.11 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.032e-05/0.188, allocations: 16 kB / 0.927 GB, free: 37.09 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009349/0.189, allocations: 0.5926 MB / 0.9276 GB, free: 36.5 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001106/0.1891, allocations: 87.59 kB / 0.9276 GB, free: 36.41 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002057/0.1893, allocations: 236.5 kB / 0.9279 GB, free: 36.17 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006027/0.1899, allocations: 0.5183 MB / 0.9284 GB, free: 35.65 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1899, allocations: 0 / 0.9284 GB, free: 35.65 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1899, allocations: 0 / 0.9284 GB, free: 35.65 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.112e-05/0.1899, allocations: 4 kB / 0.9284 GB, free: 35.65 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0009877/0.1909, allocations: 0.7398 MB / 0.9291 GB, free: 34.86 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.943e-05/0.191, allocations: 8.031 kB / 0.9291 GB, free: 34.85 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001003/0.1911, allocations: 56.28 kB / 0.9292 GB, free: 34.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005006/0.1916, allocations: 416.8 kB / 0.9296 GB, free: 34.35 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.1916, allocations: 24.38 kB / 0.9296 GB, free: 34.32 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.723e-05/0.1917, allocations: 24 kB / 0.9296 GB, free: 34.3 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003718/0.192, allocations: 223.2 kB / 0.9298 GB, free: 34.08 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.1921, allocations: 0 / 0.9298 GB, free: 34.08 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.987e-05/0.1921, allocations: 12 kB / 0.9298 GB, free: 34.07 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.1921, allocations: 4 kB / 0.9298 GB, free: 34.06 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003315/0.1924, allocations: 173.6 kB / 0.93 GB, free: 33.89 MB / 0.6042 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001324/0.1938, allocations: 0.9458 MB / 0.9309 GB, free: 32.87 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002401/0.194, allocations: 134.5 kB / 0.9311 GB, free: 32.73 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001377/0.1942, allocations: 80.81 kB / 0.9311 GB, free: 32.64 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001824/0.1944, allocations: 340.4 kB / 0.9315 GB, free: 32.24 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.282e-05/0.1944, allocations: 30.56 kB / 0.9315 GB, free: 32.2 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=14): time 1.583e-06/0.1944, allocations: 0 / 0.9315 GB, free: 32.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14): time 0.0005467/0.1949, allocations: 259.4 kB / 0.9317 GB, free: 31.94 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.063e-05/0.195, allocations: 55.34 kB / 0.9318 GB, free: 31.88 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004063/0.1954, allocations: 474 kB / 0.9322 GB, free: 31.4 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.1954, allocations: 25.7 kB / 0.9323 GB, free: 31.37 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.1955, allocations: 248.5 kB / 0.9325 GB, free: 31.12 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.497e-05/0.1956, allocations: 43.3 kB / 0.9325 GB, free: 31.08 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.085e-05/0.1956, allocations: 8 kB / 0.9325 GB, free: 31.07 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.122e-05/0.1957, allocations: 354.7 kB / 0.9329 GB, free: 30.72 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.1958, allocations: 71.95 kB / 0.933 GB, free: 30.65 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001974/0.196, allocations: 153.1 kB / 0.9331 GB, free: 30.47 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003011/0.1963, allocations: 177.1 kB / 0.9333 GB, free: 30.29 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1963, allocations: 0 / 0.9333 GB, free: 30.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004378/0.1968, allocations: 261 kB / 0.9335 GB, free: 30.03 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.859e-05/0.1968, allocations: 106.7 kB / 0.9336 GB, free: 29.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.1968, allocations: 4 kB / 0.9336 GB, free: 29.91 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.1969, allocations: 0 / 0.9336 GB, free: 29.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002189/0.1971, allocations: 55.84 kB / 0.9337 GB, free: 29.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.1971, allocations: 7.922 kB / 0.9337 GB, free: 29.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003327/0.1974, allocations: 47.72 kB / 0.9337 GB, free: 29.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.087e-05/0.1975, allocations: 8.094 kB / 0.9337 GB, free: 29.79 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.414e-06/0.1975, allocations: 4 kB / 0.9337 GB, free: 29.79 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003704/0.1979, allocations: 190.1 kB / 0.9339 GB, free: 29.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.635e-06/0.1979, allocations: 4 kB / 0.9339 GB, free: 29.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.198e-06/0.1979, allocations: 4 kB / 0.9339 GB, free: 29.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001859/0.1981, allocations: 51.91 kB / 0.934 GB, free: 29.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.036e-06/0.1981, allocations: 0 / 0.934 GB, free: 29.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003017/0.1984, allocations: 47.8 kB / 0.934 GB, free: 29.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.115e-05/0.1984, allocations: 8 kB / 0.934 GB, free: 29.49 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001365/0.1986, allocations: 241 kB / 0.9343 GB, free: 29.25 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.563e-05/0.1986, allocations: 43.44 kB / 0.9343 GB, free: 29.2 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004754/0.1991, allocations: 261.1 kB / 0.9346 GB, free: 28.94 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.772e-06/0.1991, allocations: 0 / 0.9346 GB, free: 28.94 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1991, allocations: 0 / 0.9346 GB, free: 28.94 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.1992, allocations: 0 / 0.9346 GB, free: 28.94 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008365/0.2, allocations: 0.7122 MB / 0.9352 GB, free: 28.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.2, allocations: 0 / 0.9352 GB, free: 28.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/0.2001, allocations: 31.92 kB / 0.9353 GB, free: 28.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.2001, allocations: 4.125 kB / 0.9353 GB, free: 28.12 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.2002, allocations: 11.98 kB / 0.9353 GB, free: 28.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.2002, allocations: 7.938 kB / 0.9353 GB, free: 28.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2002, allocations: 96 / 0.9353 GB, free: 28.1 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003745/0.2006, allocations: 352.6 kB / 0.9356 GB, free: 27.73 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.2007, allocations: 144.5 kB / 0.9358 GB, free: 27.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.493e-05/0.2007, allocations: 7.938 kB / 0.9358 GB, free: 27.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002282/0.201, allocations: 43.75 kB / 0.9358 GB, free: 27.52 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.585e-05/0.201, allocations: 7.984 kB / 0.9358 GB, free: 27.51 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.201, allocations: 8 kB / 0.9358 GB, free: 27.5 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002786/0.2013, allocations: 330.9 kB / 0.9362 GB, free: 27.18 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2013, allocations: 0 / 0.9362 GB, free: 27.18 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005803/0.2019, allocations: 195.7 kB / 0.9363 GB, free: 26.99 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009885/0.2029, allocations: 476.8 kB / 0.9368 GB, free: 26.66 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000599/0.2035, allocations: 281.7 kB / 0.9371 GB, free: 26.38 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2035, allocations: 0 / 0.9371 GB, free: 26.38 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001724/0.2037, allocations: 96.12 kB / 0.9372 GB, free: 26.29 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001279/0.205, allocations: 227.7 kB / 0.9374 GB, free: 26.07 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.206, allocations: 0.8796 MB / 0.9382 GB, free: 25.15 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002052/0.2063, allocations: 0.8272 MB / 0.939 GB, free: 24.29 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.432e-05/0.2064, allocations: 35.42 kB / 0.9391 GB, free: 24.26 MB / 0.6042 GB Notification: Performance of SimCode: time 3.3e-07/0.2064, allocations: 0 / 0.9391 GB, free: 24.26 MB / 0.6042 GB Notification: Performance of Templates: time 0.009384/0.2158, allocations: 7.378 MB / 0.9463 GB, free: 16.93 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)