Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.438/1.438, allocations: 252 MB / 268 MB, free: 10.85 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.00117/0.001169, allocations: 175.9 kB / 327.6 MB, free: 2.086 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.601/1.601, allocations: 205.4 MB / 0.5786 GB, free: 20.12 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.0007542/0.0007543, allocations: 91.53 kB / 0.6832 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002974/0.0002975, allocations: 9.531 kB / 0.7976 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1603, allocations: 106.3 MB / 0.9015 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01315/0.1735, allocations: 16.95 MB / 0.918 GB, free: 46.29 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00829/0.1818, allocations: 7.78 MB / 0.9256 GB, free: 38.49 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005926/0.1824, allocations: 15.88 kB / 0.9256 GB, free: 38.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.00074/0.1832, allocations: 210.9 kB / 0.9258 GB, free: 38.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001388/0.1846, allocations: 0.5638 MB / 0.9264 GB, free: 37.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001603/0.1862, allocations: 0.6328 MB / 0.927 GB, free: 37.08 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001162/0.1874, allocations: 1.274 MB / 0.9282 GB, free: 35.8 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004444/0.1879, allocations: 292.1 kB / 0.9285 GB, free: 35.5 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006313/0.1885, allocations: 374.3 kB / 0.9289 GB, free: 35.14 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004512/0.189, allocations: 306.7 kB / 0.9292 GB, free: 34.84 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.727e-05/0.189, allocations: 16 kB / 0.9292 GB, free: 34.82 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001074/0.1901, allocations: 0.6861 MB / 0.9298 GB, free: 34.13 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001247/0.1903, allocations: 115.6 kB / 0.93 GB, free: 34.02 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002298/0.1905, allocations: 256.3 kB / 0.9302 GB, free: 33.76 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0007211/0.1912, allocations: 0.6196 MB / 0.9308 GB, free: 33.14 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1912, allocations: 0 / 0.9308 GB, free: 33.14 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.285e-06/0.1912, allocations: 0 / 0.9308 GB, free: 33.14 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.943e-05/0.1913, allocations: 0 / 0.9308 GB, free: 33.14 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001081/0.1924, allocations: 0.7943 MB / 0.9316 GB, free: 32.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.1924, allocations: 8.031 kB / 0.9316 GB, free: 32.29 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001578/0.1926, allocations: 56.28 kB / 0.9316 GB, free: 32.23 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005739/0.1931, allocations: 465.8 kB / 0.9321 GB, free: 31.74 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.17e-05/0.1932, allocations: 20.56 kB / 0.9321 GB, free: 31.72 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.622e-05/0.1932, allocations: 35.89 kB / 0.9321 GB, free: 31.68 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004361/0.1937, allocations: 284.5 kB / 0.9324 GB, free: 31.39 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.1937, allocations: 0 / 0.9324 GB, free: 31.39 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.294e-05/0.1937, allocations: 12 kB / 0.9324 GB, free: 31.38 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.1937, allocations: 4 kB / 0.9324 GB, free: 31.37 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003829/0.1941, allocations: 210.1 kB / 0.9326 GB, free: 31.17 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.001559/0.1957, allocations: 1.285 MB / 0.9339 GB, free: 29.79 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003065/0.196, allocations: 194 kB / 0.9341 GB, free: 29.6 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001662/0.1962, allocations: 100.8 kB / 0.9342 GB, free: 29.5 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00132/0.1975, allocations: 1.311 MB / 0.9354 GB, free: 27.99 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/0.1976, allocations: 42.41 kB / 0.9355 GB, free: 27.94 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 1.553e-06/0.1976, allocations: 0 / 0.9355 GB, free: 27.94 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0006035/0.1982, allocations: 296.9 kB / 0.9358 GB, free: 27.64 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.273e-05/0.1982, allocations: 51.41 kB / 0.9358 GB, free: 27.58 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004977/0.1987, allocations: 0.5808 MB / 0.9364 GB, free: 26.99 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.1987, allocations: 33.7 kB / 0.9364 GB, free: 26.95 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.1989, allocations: 260.2 kB / 0.9367 GB, free: 26.69 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.53e-05/0.1989, allocations: 67.09 kB / 0.9367 GB, free: 26.62 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.237e-05/0.1989, allocations: 4 kB / 0.9367 GB, free: 26.62 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.826e-05/0.199, allocations: 362.9 kB / 0.9371 GB, free: 26.26 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001801/0.1992, allocations: 87.81 kB / 0.9372 GB, free: 26.17 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002304/0.1994, allocations: 211.9 kB / 0.9374 GB, free: 25.92 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003597/0.1998, allocations: 253.5 kB / 0.9376 GB, free: 25.65 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1998, allocations: 96 / 0.9376 GB, free: 25.65 MB / 0.6042 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005187/0.2004, allocations: 336.1 kB / 0.9379 GB, free: 25.32 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.012e-05/0.2004, allocations: 152 kB / 0.9381 GB, free: 25.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.2004, allocations: 4 kB / 0.9381 GB, free: 25.13 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.2004, allocations: 0 / 0.9381 GB, free: 25.13 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002458/0.2007, allocations: 67.91 kB / 0.9381 GB, free: 25.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.2007, allocations: 7.984 kB / 0.9381 GB, free: 25.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003405/0.2011, allocations: 55.61 kB / 0.9382 GB, free: 25 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.212e-05/0.2011, allocations: 15.98 kB / 0.9382 GB, free: 24.99 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.382e-06/0.2011, allocations: 4 kB / 0.9382 GB, free: 24.98 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004447/0.2016, allocations: 255.7 kB / 0.9385 GB, free: 24.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.2016, allocations: 0 / 0.9385 GB, free: 24.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.119e-06/0.2016, allocations: 4 kB / 0.9385 GB, free: 24.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002213/0.2018, allocations: 67.91 kB / 0.9385 GB, free: 24.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.2018, allocations: 11.92 kB / 0.9385 GB, free: 24.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002974/0.2021, allocations: 43.8 kB / 0.9386 GB, free: 24.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.402e-05/0.2022, allocations: 15.98 kB / 0.9386 GB, free: 24.59 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (35): * Single equations (assignments): 35 * 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.0001568/0.2023, allocations: 264.9 kB / 0.9389 GB, free: 24.32 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.073e-05/0.2024, allocations: 55.28 kB / 0.9389 GB, free: 24.27 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000542/0.2029, allocations: 292.1 kB / 0.9392 GB, free: 23.98 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/0.203, allocations: 0 / 0.9392 GB, free: 23.98 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.203, allocations: 0 / 0.9392 GB, free: 23.98 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.203, allocations: 7.984 kB / 0.9392 GB, free: 23.97 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008885/0.2039, allocations: 0.7771 MB / 0.94 GB, free: 23.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.2039, allocations: 4 kB / 0.94 GB, free: 23.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001557/0.2041, allocations: 35.97 kB / 0.94 GB, free: 23.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.157e-06/0.2041, allocations: 4.125 kB / 0.94 GB, free: 23.08 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.2041, allocations: 8 kB / 0.94 GB, free: 23.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.2041, allocations: 4 kB / 0.94 GB, free: 23.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.2041, allocations: 0 / 0.94 GB, free: 23.07 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006052/0.2047, allocations: 489.9 kB / 0.9405 GB, free: 22.56 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00015/0.2049, allocations: 160.4 kB / 0.9406 GB, free: 22.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.798e-05/0.2049, allocations: 12.12 kB / 0.9406 GB, free: 22.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002195/0.2052, allocations: 20.05 kB / 0.9407 GB, free: 22.36 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.557e-05/0.2052, allocations: 23.95 kB / 0.9407 GB, free: 22.33 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/0.2052, allocations: 4 kB / 0.9407 GB, free: 22.33 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003507/0.2056, allocations: 418.8 kB / 0.9411 GB, free: 21.92 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2056, allocations: 0 / 0.9411 GB, free: 21.92 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000659/0.2063, allocations: 235.7 kB / 0.9413 GB, free: 21.69 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (senVolFlo.d) * 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 (20): * Single equations (assignments): 18 * 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.001025/0.2073, allocations: 0.4894 MB / 0.9418 GB, free: 21.34 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006742/0.208, allocations: 363.1 kB / 0.9421 GB, free: 20.98 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.208, allocations: 3.938 kB / 0.9421 GB, free: 20.98 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001801/0.2082, allocations: 103.8 kB / 0.9422 GB, free: 20.88 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001327/0.2095, allocations: 258 kB / 0.9425 GB, free: 20.63 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.2108, allocations: 1.1 MB / 0.9436 GB, free: 19.48 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002204/0.211, allocations: 0.8507 MB / 0.9444 GB, free: 18.61 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.946e-05/0.2111, allocations: 43.44 kB / 0.9444 GB, free: 18.56 MB / 0.6042 GB Notification: Performance of SimCode: time 2.71e-07/0.2111, allocations: 0 / 0.9444 GB, free: 18.56 MB / 0.6042 GB Notification: Performance of Templates: time 0.01118/0.2223, allocations: 8.66 MB / 0.9529 GB, free: 9.957 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)